diff options
-rw-r--r-- | zephyr/CMakeLists.txt | 2 | ||||
-rw-r--r-- | zephyr/Kconfig.usbc | 7 | ||||
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 13e98feff7..36525f678a 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -416,6 +416,8 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8805 "${PLATFORM_EC}/driver/tcpm/ps8xxx.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8815 "${PLATFORM_EC}/driver/tcpm/ps8xxx.c") +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_RAA489000 + "${PLATFORM_EC}/driver/tcpm/raa489000.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_RT1715 "${PLATFORM_EC}/driver/tcpm/rt1715.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_RT1718S diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc index f9a2a3c692..22bdb9c632 100644 --- a/zephyr/Kconfig.usbc +++ b/zephyr/Kconfig.usbc @@ -1259,6 +1259,13 @@ config PLATFORM_EC_USB_PD_TCPM_PS8815_FORCE_DID chip version register and force the correct device ID. endif # PLATFORM_EC_USB_PD_TCPM_PS8815 +config PLATFORM_EC_USB_PD_TCPM_RAA489000 + bool "Renesas RAA489000 Type-C port controller and battery charger" + select PLATFORM_EC_USB_PD_PPC + help + Build drivers for the RAA489000, a combined battery charger and USB-C + TCPCI. + config PLATFORM_EC_USB_PD_TCPM_RT1715 bool "Richtek RT1715 Type-C Port Controller" help diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 665edd3d63..37ae49d741 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1128,6 +1128,11 @@ #define CONFIG_USB_PD_TCPM_DRIVER_IT83XX #endif +#undef CONFIG_USB_PD_TCPM_RAA489000 +#ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_RAA489000 +#define CONFIG_USB_PD_TCPM_RAA489000 +#endif + #undef CONFIG_USB_PD_TCPM_ANX7447 #ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_ANX7447 #define CONFIG_USB_PD_TCPM_ANX7447 |