diff options
author | Keith Short <keithshort@chromium.org> | 2021-07-09 14:40:04 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-12 15:42:04 +0000 |
commit | 8b81257ffd943e6ad301b647ef31338df13433b5 (patch) | |
tree | d4df702dfea7885bb21ac6ac6bbfa15c2fcb991c /zephyr/shim/include/config_chip.h | |
parent | c8c4df352b969b736faa411a75dbbfd96c5824f7 (diff) | |
download | chrome-ec-8b81257ffd943e6ad301b647ef31338df13433b5.tar.gz |
zephyr: add support for CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE
Add Kconfig option to enable the CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE
option on the SYV682x PPC.
BUG=b:193195946
BRANCH=none
TEST=zmake testall
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I5530951f75e2d4b64756858b9799c7978be44ba3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3015868
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index d1c8672092..89f2ad4d52 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -974,6 +974,11 @@ #define CONFIG_USBC_PPC_SYV682X_NO_CC #endif +#undef CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE +#ifdef CONFIG_PLATFORM_EC_USBC_PPC_SYV682X_SMART_DISCHARGE +#define CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE +#endif + #undef CONFIG_USB_PD_TCPC_RUNTIME_CONFIG #undef CONFIG_USB_MUX_RUNTIME_CONFIG #ifdef CONFIG_PLATFORM_EC_USB_PD_TCPC_RUNTIME_CONFIG |