msm: board-8064: Wrap PMIC 8921 GPIO 23 in a gpio-regulator device
Wrap PMIC 8921 GPIO 23 in a gpio-regulator device so that the
Atmel MXT touchscreen driver can be simplified. GPIO 23 represents
the TS_PWR_EN_PMIC signal on 8064 devices. This drives a FET which
switches the 3.3V regulator output for touchscreen use.
Change-Id: I1f4fd02506640eda16bed4d25c03ad410ffb9287
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064-pmic.c b/arch/arm/mach-msm/board-8064-pmic.c
index 5204e48..6d5bb98 100644
--- a/arch/arm/mach-msm/board-8064-pmic.c
+++ b/arch/arm/mach-msm/board-8064-pmic.c
@@ -106,6 +106,7 @@
/* Initial PM8921 GPIO configurations */
static struct pm8xxx_gpio_init pm8921_gpios[] __initdata = {
+ PM8921_GPIO_OUTPUT(23, 0, HIGH), /* touchscreen power FET */
};
/* Initial PM8XXX MPP configurations */