msm: board-8064: Add GPIO controlled external regulators
Add support for the external regulators present on MPQ8064 boards. These
regulators are enabled via external SX1509 gpio-expander chip.
Change-Id: I4aa940996c9cdf9de302018efd2a1dc6dc3229c1
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064.h b/arch/arm/mach-msm/board-8064.h
index d1cc31e..7dcad10 100644
--- a/arch/arm/mach-msm/board-8064.h
+++ b/arch/arm/mach-msm/board-8064.h
@@ -43,11 +43,21 @@
#define GPIO_VREG_ID_EXT_TS_SW 2
#define GPIO_VREG_ID_EXT_MPP8 3
+#define GPIO_VREG_ID_FRC_5V 0
+#define GPIO_VREG_ID_AVC_1P2V 1
+#define GPIO_VREG_ID_AVC_1P8V 2
+#define GPIO_VREG_ID_AVC_2P2V 3
+#define GPIO_VREG_ID_AVC_5V 4
+#define GPIO_VREG_ID_AVC_3P3V 5
+
#define APQ8064_EXT_3P3V_REG_EN_GPIO 77
extern struct gpio_regulator_platform_data
apq8064_gpio_regulator_pdata[] __devinitdata;
+extern struct gpio_regulator_platform_data
+ mpq8064_gpio_regulator_pdata[] __devinitdata;
+
extern struct rpm_regulator_platform_data
apq8064_rpm_regulator_pdata __devinitdata;