coreboot/src/ec/google/chromeec
Prashant Malani 20f836bfdf ec/google/chromeec: Add checks before creating Type C device
Check for situations where a Type C device isn't useful and avoid
creating one for those scenarios.

BUG=b:215199976
TEST=Tested on brya; verified that USBC device is created.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Tested-by: Alyssa Ross <hi@alyssa.is>
Change-Id: I5e1598bd637ec9f50e7bf8dab9e3c757a30b9848
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61262
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2022-01-25 03:52:00 +00:00
..
acpi ec/google/chromeec/acpi: Replace LNot() with ASL 2.0 syntax 2022-01-01 14:25:02 +00:00
audio_codec acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
i2c_tunnel acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
chip.h soc/intel/tigerlake: Replace soc_get_pmc_mux_device with device pointers 2020-10-30 15:23:34 +00:00
crosec_proto.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ec.c ec/google/chromeec: Update google_chromeec_usb_pd_get_info() 2021-10-06 22:20:11 +00:00
ec.h ec/google/chromeec: Update google_chromeec_usb_pd_get_info() 2021-10-06 22:20:11 +00:00
ec_acpi.c ec/google/chromeec: Add checks before creating Type C device 2022-01-25 03:52:00 +00:00
ec_boardid.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ec_commands.h src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
ec_dptf_helpers.c ec/google/chromeec: Support 5 temperature sensors 2021-11-26 11:19:52 +00:00
ec_i2c.c ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
ec_lpc.c ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
ec_message.h treewide: replace GPLv2 long form headers with SPDX header 2020-05-06 22:20:57 +00:00
ec_skuid.c ec/google/chromeec: Separate SMBIOS SKU functions 2021-06-09 05:18:35 +00:00
ec_smbios.c ec/google/chromeec: Separate SMBIOS SKU functions 2021-06-09 05:18:35 +00:00
ec_spi.c ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
Kconfig ec/google/chromeec: Optionally include SSFC in firmware config 2021-02-27 09:38:02 +00:00
Makefile.inc ec/google/chromeec: Register USB-C mux operations 2021-10-06 22:20:32 +00:00
smihandler.c ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
smm.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
switches.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbc_mux.c ec/google/chromeec: Register USB-C mux operations 2021-10-06 22:20:32 +00:00
vboot_storage.c ChromeOS: Fix <vc/google/chromeos/chromeos.h> 2021-11-09 00:14:46 +00:00
vstore.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00