summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorAl Semjonovs <asemjonovs@google.com>2023-01-05 15:19:38 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-17 18:50:43 +0000
commitd132fda9205d814f9c0c2a1b11786e0fb48ae35d (patch)
treebf9c6c0f7a16273108b277033ac5584208bfb694 /zephyr/Kconfig
parentacd1253a35b9c35c7c3c139e31014bf1c5d696bf (diff)
downloadchrome-ec-d132fda9205d814f9c0c2a1b11786e0fb48ae35d.tar.gz
zephyr:drivers: power button driver
Add power button driver using Zephyr gpio-keys APIs BUG=b:234728861 BRANCH=NONE TEST=./twister -T zephyr/test Change-Id: I8399f7f0689657b6444a300021161cb8a89c50db Signed-off-by: Al Semjonovs <asemjonovs@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4139709 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index c5a7e7fa38..597e6ee250 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -534,7 +534,7 @@ config PLATFORM_EC_PORT80
config PLATFORM_EC_POWER_BUTTON
bool "Power-button support"
- depends on PLATFORM_EC_HOSTCMD
+ depends on PLATFORM_EC_HOSTCMD && !GPIO_KEYS_ZEPHYR
help
Enable shimming the power button implementation and related
commands in platform/ec. This is used to implement the Chromium OS