summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usbc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-08 16:25:15 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-13 00:08:02 +0000
commit417098305dad4963392dc473eaf82423742ffa51 (patch)
tree266a69f10166bcc29cc3bc0a22d03273c7a7cf1d /zephyr/Kconfig.usbc
parentd50b23baa30abb084146c2cf21f4df7a0e1e9845 (diff)
downloadchrome-ec-417098305dad4963392dc473eaf82423742ffa51.tar.gz
zephyr: Enable PPC interrupt
The PPPC has a dedicated interrupt pin on volteer. Add this Kconfig option to it can be used on Zephyr. BUG=b:175434113 BRANCH=none TEST=make BOARD=volteer -j30 With a zephyr-chrome CL, build volteer on zephyr Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I74d5013c1c59ddf43643de7139bde8668df4cdd9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617371 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r--zephyr/Kconfig.usbc11
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index a0f008ae12..558e5dd990 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -385,6 +385,17 @@ config PLATFORM_EC_USBC_PPC_SYV682X
features. It provides protection against overcurrent, overvoltage,
thermal shutdown, and undervoltage conditions.
+config PLATFORM_EC_USBC_PPC_DEDICATED_INT
+ bool "Power Power Controller has a dedicated interrupt pin"
+ help
+ Enable this if the Power Power Controller (PPC) has level interrupts
+ (as opposed to edge) and a dedicated interrupt pin to check the
+ current state.
+
+ If this is enabled the USB Power Delivery (PD) stack will call
+ ppc_get_alert_status() to find out he interrupt status for a port.
+ This function should be provided by the board code.
+
choice "Type-C Port Manager (TCPM)"
prompt "Choose a Type-C Port Manager (TCPM) to manage TCPC"