aboutsummaryrefslogtreecommitdiff
path: root/drivers/button/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/button/Kconfig')
-rw-r--r--drivers/button/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig
index 83018589e5..6b3ec7e55d 100644
--- a/drivers/button/Kconfig
+++ b/drivers/button/Kconfig
@@ -9,4 +9,13 @@ config BUTTON
can provide access to board-specific buttons. Use of the device tree
for configuration is encouraged.
+config BUTTON_GPIO
+ bool "Button gpio"
+ depends on BUTTON
+ help
+ Enable support for buttons which are connected to GPIO lines. These
+ GPIOs may be on the SoC or some other device which provides GPIOs.
+ The GPIO driver must used driver model. Buttons are configured using
+ the device tree.
+
endmenu