diff options
-rw-r--r-- | util/config_allowed.txt | 1 | ||||
-rw-r--r-- | zephyr/Kconfig.usbc | 9 | ||||
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/util/config_allowed.txt b/util/config_allowed.txt index 38428c4a87..ab470d15d1 100644 --- a/util/config_allowed.txt +++ b/util/config_allowed.txt @@ -1323,6 +1323,7 @@ CONFIG_VALUE CONFIG_VBOOT_EFS CONFIG_VBOOT_EFS2 CONFIG_VBOOT_HASH +CONFIG_VBOOT_HASH_RELOAD_WATCHDOG CONFIG_VOLUME_BUTTONS CONFIG_VSTORE CONFIG_VSTORE_SLOT_COUNT diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc index a4eabb0fcf..1a6f94d702 100644 --- a/zephyr/Kconfig.usbc +++ b/zephyr/Kconfig.usbc @@ -735,6 +735,15 @@ config PLATFORM_EC_USB_PD_TCPC_LPM_EXIT_DEBOUNCE_US is the delay in microseconds to allow before checking the CC line status in the EC. +config PLATFORM_EC_USB_PD_TCPC_VCONN + bool "If VCONN is enabled, the TCPC will provide VCONN" + default y if !PLATFORM_EC_USBC_PPC_SYV682X + help + Source USB Type-C connector voltage (VCONN) from the Type-C Port + Controller (TCPC), and also the Power Path Controller (PPC) if + present. Some TCPC/PPC can't handle 5V on its host-side CC pins, so + disable this config in those cases. + choice "Type-C Port Manager (TCPM)" prompt "Choose a Type-C Port Manager (TCPM) to manage TCPC" diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 3a4a4c3535..f5b5645b13 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1231,4 +1231,9 @@ enum battery_type { #define CONFIG_VBOOT_EFS2 #endif +#undef CONFIG_USB_PD_TCPC_VCONN +#ifdef CONFIG_PLATFORM_EC_USB_PD_TCPC_VCONN +#define CONFIG_USB_PD_TCPC_VCONN +#endif + #endif /* __CROS_EC_CONFIG_CHIP_H */ |