msm: board-8064: Add initial PMIC GPIO configuration

Various tech teams require PMIC gpios to be configured
in order to use them. Add the required default
configuration.

Also, wrap PMIC 8921 MPP 8 in a gpio-regulator device
so that the USB4 driver can be simplified.
MPP 8 represents the GOBI_3.3_PWR_EN signal on 8064
Liquid devices, and HAPTIC_PWR_EN on MTP devices.

While at it, update MPP7 type according the Avenger GPIO
config specification.

Change-Id: Ib09ef9e65bb1b5ce967ba4f8863f4f090873126a
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064.c b/arch/arm/mach-msm/board-8064.c
index f6eff46..4b7c05d 100644
--- a/arch/arm/mach-msm/board-8064.c
+++ b/arch/arm/mach-msm/board-8064.c
@@ -1288,6 +1288,15 @@
 	},
 };
 
+static struct platform_device apq8064_device_ext_mpp8_vreg __devinitdata = {
+	.name	= GPIO_REGULATOR_DEV_NAME,
+	.id	= PM8921_MPP_PM_TO_SYS(8),
+	.dev	= {
+		.platform_data
+			= &apq8064_gpio_regulator_pdata[GPIO_VREG_ID_EXT_MPP8],
+	},
+};
+
 static struct platform_device apq8064_device_ext_3p3v_vreg __devinitdata = {
 	.name	= GPIO_REGULATOR_DEV_NAME,
 	.id	= APQ8064_EXT_3P3V_REG_EN_GPIO,
@@ -1312,6 +1321,7 @@
 	&apq8064_device_qup_i2c_gsbi4,
 	&apq8064_device_qup_spi_gsbi5,
 	&apq8064_device_ext_5v_vreg,
+	&apq8064_device_ext_mpp8_vreg,
 	&apq8064_device_ext_3p3v_vreg,
 	&apq8064_device_ext_ts_sw_vreg,
 	&apq8064_device_ssbi_pmic1,