diff options
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/CMakeLists.txt | 4 | ||||
-rw-r--r-- | zephyr/Kconfig.usbc | 18 | ||||
-rw-r--r-- | zephyr/shim/include/config_chip.h | 10 |
3 files changed, 32 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index e59945002c..9a79a80ef9 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -357,6 +357,10 @@ zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_DRP_ACC_TRYSRC zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PRL_SM "${PLATFORM_EC}/common/usbc/usb_prl_sm.c") +zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8751 + "${PLATFORM_EC}/driver/tcpm/ps8xxx.c") +zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8805 + "${PLATFORM_EC}/driver/tcpm/ps8xxx.c") zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8815 "${PLATFORM_EC}/driver/tcpm/ps8xxx.c") zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_RT1715 diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc index 126d266429..3ee5a1eeb6 100644 --- a/zephyr/Kconfig.usbc +++ b/zephyr/Kconfig.usbc @@ -866,6 +866,24 @@ config PLATFORM_EC_USB_PD_TCPC_RUNTIME_CONFIG factory. Without this, multiple EC images would need to be installed depending on the board. +config PLATFORM_EC_USB_PD_TCPM_PS8751 + bool "Parade PS8751 USB-C Gen 2 Type-C Port Controller" + select PLATFORM_EC_USB_PD_TCPM_MUX + help + The Parade Technologies PS8751 is a USB Type-C Port Controller (TCPC) + for USB Type-C Host and DisplayPort applications. It supports + Power Delivery Rev. 2.0 and the DisplayPort Alt Mode version 1.0a. + +config PLATFORM_EC_USB_PD_TCPM_PS8805 + bool "Parade PS8805 USB-C Gen 2 Type-C Port Controller" + select PLATFORM_EC_USB_PD_TCPM_MUX + help + The Parade Technologies PS8805 is an active retiming/redriving + (respectively for USB 3.1 Gen 2 / DisplayPort 1.4a HBR3) integrated + with a USB Type-C Port Controller (TCPC) for USB Type-C Host and + DisplayPort applications. It supports Power Delivery and the + DisplayPort Alt Mode. + config PLATFORM_EC_USB_PD_TCPM_PS8815 bool "Parade PS8815 USB-C Gen 2 Type-C Port Controller" select PLATFORM_EC_USB_PD_TCPM_MUX diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 41bfcc9ebd..2e49326065 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -791,6 +791,16 @@ #define CONFIG_USB_DRP_ACC_TRYSRC #endif +#undef CONFIG_USB_PD_TCPM_PS8751 +#ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8751 +#define CONFIG_USB_PD_TCPM_PS8751 +#endif + +#undef CONFIG_USB_PD_TCPM_PS8805 +#ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8805 +#define CONFIG_USB_PD_TCPM_PS8805 +#endif + #undef CONFIG_USB_PD_TCPM_PS8815 #ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8815 #define CONFIG_USB_PD_TCPM_PS8815 |