mako: vibrator: add android_vibrator driver and enable it
- cleanup vibrator codes
- add new android_vibrator
- enable android_vibrator
Change-Id: I7e005e8c8abc0b09ace6d278e01944e17f7adb6c
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 1c2f018..3825a92 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -603,6 +603,14 @@
on the PM8XXX chips. The vibrator is controlled using the
timed output class.
+config ANDROID_VIBRATOR
+ bool "Android vibrator support"
+ depends on ANDROID_TIMED_OUTPUT
+ default n
+ help
+ This option enalbes device driver support for Android Vibrator driver.
+ Some functions should be given by platform data for enable PWM, Motor IC, etc.
+
config PMIC8XXX_NFC
tristate "Qualcomm PM8XXX support for Near Field Communication"
depends on MFD_PM8XXX