[PATCH] add CONFIG_GENERIC_GPIO
[firefly-linux-kernel-4.4.55.git] / drivers / input / keyboard / Kconfig
index 049f2f544e75e94a9d40aee991df4cf8d45510f4..f17e9c7d4b368f27fca7bb7536e271f430ca1c0e 100644 (file)
@@ -135,12 +135,12 @@ config KEYBOARD_STOWAWAY
 config KEYBOARD_CORGI
        tristate "Corgi keyboard"
        depends on PXA_SHARPSL
-       default y       
+       default y
        help
-         Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx 
+         Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
          series of PDAs.
 
-         To compile this driver as a module, choose M here: the 
+         To compile this driver as a module, choose M here: the
          module will be called corgikbd.
 
 config KEYBOARD_SPITZ
@@ -214,4 +214,19 @@ config KEYBOARD_AAED2000
          To compile this driver as a module, choose M here: the
          module will be called aaed2000_kbd.
 
+config KEYBOARD_GPIO
+       tristate "GPIO Buttons"
+       depends on GENERIC_GPIO
+       help
+         This driver implements support for buttons connected
+         to GPIO pins of various CPUs (and some other chips).
+
+         Say Y here if your device has buttons connected
+         directly to such GPIO pins.  Your board-specific
+         setup logic must also provide a platform device,
+         with configuration data saying which GPIOs are used.
+
+         To compile this driver as a module, choose M here: the
+         module will be called gpio-keys.
+
 endif