summaryrefslogtreecommitdiff
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <[email protected]>2025-03-25 20:23:07 +0200
committerSvyatoslav Ryhel <[email protected]>2025-04-12 09:44:02 +0300
commita9bf7e70c587b67bdb27ffd739c3553d1e08d573 (patch)
treed57104764d0e00112b8ee20c3fcfe59bf846d6e5 /drivers/input/Kconfig
parent4dc27f964403e4e0dcc894d388050dd13503b6d7 (diff)
input: add support for CPCAP power button
CPCAP has a dedicated interrupt for power button. Implement this to have more input control over the devices. Signed-off-by: Svyatoslav Ryhel <[email protected]>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index c2b365af11d..c09f0ae795e 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -55,6 +55,12 @@ config BUTTON_KEYBOARD
dt node to define button-event mapping.
For example, an arrows and enter may be implemented to navigate boot menu.
+config CPCAP_POWER_BUTTON
+ bool "Enable power button of CPCAP PMIC support"
+ depends on DM_KEYBOARD && DM_PMIC_CPCAP
+ help
+ Enable support for a dedicated power button of the CPCAP PMIC.
+
config CROS_EC_KEYB
bool "Enable Chrome OS EC keyboard support"
depends on INPUT