summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorXiaotong Lu <xiaotong.lu@spreadtrum.com>2018-06-01 11:36:22 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-06-04 13:36:11 -0700
commit45615a9baf4661f953887988eeb4de69fd6cd96e (patch)
tree11cc002de61e1c3b828c85a64eee5ded14a9d7a3 /drivers/input/misc/Kconfig
parent5ca4d1ae9bad0f59bd6f851c39b19f5366953666 (diff)
downloadlinux-45615a9baf4661f953887988eeb4de69fd6cd96e.tar.gz
linux-45615a9baf4661f953887988eeb4de69fd6cd96e.tar.bz2
linux-45615a9baf4661f953887988eeb4de69fd6cd96e.zip
Input: add Spreadtrum vibrator driver
This patch adds the Spreadtrum vibrator driver, which embedded in the Spreadtrum SC27xx series PMICs. Signed-off-by: Xiaotong Lu <xiaotong.lu@spreadtrum.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index 572b15fa18c2..c761c0c4f2b8 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -841,4 +841,14 @@ config INPUT_RAVE_SP_PWRBUTTON
To compile this driver as a module, choose M here: the
module will be called rave-sp-pwrbutton.
+config INPUT_SC27XX_VIBRA
+ tristate "Spreadtrum sc27xx vibrator support"
+ depends on MFD_SC27XX_PMIC || COMPILE_TEST
+ select INPUT_FF_MEMLESS
+ help
+ This option enables support for Spreadtrum sc27xx vibrator driver.
+
+ To compile this driver as a module, choose M here. The module will
+ be called sc27xx_vibra.
+
endif