summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-23 13:52:56 -0600
committerTom Rini <[email protected]>2026-04-07 11:32:43 -0600
commitff031c34210f3c573dbb84196dadf0c4f2017aca (patch)
tree912b1df504c6e02cdc04ab9017acaffd1536253f /drivers/input
parentb25d864a97b986ef1038697c8f0dd73262d05220 (diff)
input: Correct dependencies for CROS_EC_KEYB
The CROS_EC_KEYB functionality can only work with CROS_EC enabled, so express this dependency in Kconfig, for all build phases. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 5bf122c5505..df8fbf1551d 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -64,7 +64,7 @@ config CPCAP_POWER_BUTTON
config CROS_EC_KEYB
bool "Enable Chrome OS EC keyboard support"
- depends on INPUT
+ depends on INPUT && CROS_EC
help
Most ARM Chromebooks use an EC to provide access to the keyboard.
Messages are used to request key scans from the EC and these are
@@ -72,7 +72,7 @@ config CROS_EC_KEYB
config SPL_CROS_EC_KEYB
bool "Enable Chrome OS EC keyboard support in SPL"
- depends on SPL_INPUT
+ depends on SPL_INPUT && SPL_CROS_EC
help
Most ARM Chromebooks use an EC to provide access to the keyboard.
Messages are used to request key scans from the EC and these are
@@ -80,7 +80,7 @@ config SPL_CROS_EC_KEYB
config TPL_CROS_EC_KEYB
bool "Enable Chrome OS EC keyboard support in TPL"
- depends on TPL_INPUT
+ depends on TPL_INPUT && TPL_CROS_EC
help
Most ARM Chromebooks use an EC to provide access to the keyboard.
Messages are used to request key scans from the EC and these are