board: 8930: Add support for isa1200 haptic chip
Enable haptics on 8930 CDP Phase 2. Remove haptics
support for Phase 1 CDPs as all have been upgraded
to Phase 2. Configure necessary clock and gpio pins.
Enable regulator to pull up i2c line for communication.
Change-Id: Ifcd1f9332cce382aa99b520ca85fe4ccf08ad2f2
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930-pmic.c b/arch/arm/mach-msm/board-8930-pmic.c
index 1ca1902..6f94f37 100644
--- a/arch/arm/mach-msm/board-8930-pmic.c
+++ b/arch/arm/mach-msm/board-8930-pmic.c
@@ -93,6 +93,8 @@
PM8XXX_GPIO_INPUT(8, PM_GPIO_PULL_UP_30),
PM8XXX_GPIO_INPUT(10, PM_GPIO_PULL_UP_30),
PM8XXX_GPIO_INPUT(11, PM_GPIO_PULL_UP_30),
+ /* haptics gpio */
+ PM8XXX_GPIO_OUTPUT_FUNC(7, 0, PM_GPIO_FUNC_1),
};
/* Initial pm8038 MPP configurations */