drivers: misc: Add pm8xxx based vibrator driver
This driver uses the timed output framework to
support the vibrator functionality.
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 1b1c6e6..dfbf345 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -593,6 +593,14 @@
This option enables device driver support for the vibrator
on Qualcomm PM8058 chip.
+config PMIC8XXX_VIBRATOR
+ tristate "Qualcomm Vibrator support for PMIC8XXX"
+ depends on MFD_PM8XXX && ANDROID_TIMED_OUTPUT
+ help
+ This option enables device driver support for the vibrator
+ on the PM8XXX chips. The vibrator is controlled using the
+ timed output class.
+
config PMIC8058_NFC
tristate "Qualcomm PM8058 support for Near Field Communication"
depends on PMIC8058