aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2019-04-29 23:56:09 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-04-30 00:11:25 -0700
commit13bda2d07791d0093728aed7698e76d2977e7639 (patch)
tree48d952ca70ac01fd0de74684d9de404b763005e1 /drivers/input/misc/Kconfig
parentInput: synaptics-rmi4 - fix enum_fmt (diff)
downloadlinux-dev-13bda2d07791d0093728aed7698e76d2977e7639.tar.xz
linux-dev-13bda2d07791d0093728aed7698e76d2977e7639.zip
Input: add a driver for GPIO controllable vibrators
Provide a simple driver for GPIO controllable vibrators. It will be used by the Fairphone 2. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index e39aef84f357..16f41eece6d2 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -290,6 +290,18 @@ config INPUT_GPIO_DECODER
To compile this driver as a module, choose M here: the module
will be called gpio_decoder.
+config INPUT_GPIO_VIBRA
+ tristate "GPIO vibrator support"
+ depends on GPIOLIB || COMPILE_TEST
+ select INPUT_FF_MEMLESS
+ help
+ Say Y here to get support for GPIO based vibrator devices.
+
+ If unsure, say N.
+
+ To compile this driver as a module, choose M here: the module will be
+ called gpio-vibra.
+
config INPUT_IXP4XX_BEEPER
tristate "IXP4XX Beeper support"
depends on ARCH_IXP4XX