diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2021-07-01 16:56:03 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-09 03:45:49 +0000 |
commit | 4cf446bf5f122050f00376af66b9f5edcab26ba6 (patch) | |
tree | 1ec37f00932eea32cac7bb4d0e53cc0a1a62d788 /zephyr | |
parent | de941c3ac9c049fea4fa199a95b39d0df20ce6c0 (diff) | |
download | chrome-ec-4cf446bf5f122050f00376af66b9f5edcab26ba6.tar.gz |
driver/tcpm/ite_pd_intc: separate pd interrupt to ite_pd_intc
Separate pd interrupt functions to ite_pd_intc for
easier maintenance on cros_ec and zephyr.
And enable PD interrupt functions for zephyr.
BRANCH=none
BUG=none
TEST=1.can zmake hayato and make asurada
2.PD port functions work on board hayato
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Change-Id: I67082bb442da7dfb669e23d8315d81f4abe7ba76
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2999358
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index fddc63cc2e..496c1574ef 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -381,6 +381,8 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_TUSB422 "${PLATFORM_EC}/driver/tcpm/tusb422.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_TCPCI "${PLATFORM_EC}/driver/tcpm/tcpci.c") +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_ITE_ON_CHIP + "${PLATFORM_EC}/driver/tcpm/ite_pd_intc.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_DRIVER_IT83XX "${PLATFORM_EC}/driver/tcpm/it83xx.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_TCPM_DRIVER_IT8XXX2 |