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.h b/arch/arm/mach-msm/board-8064.h
index 300da1f..6633345 100644
--- a/arch/arm/mach-msm/board-8064.h
+++ b/arch/arm/mach-msm/board-8064.h
@@ -38,6 +38,7 @@
#define GPIO_VREG_ID_EXT_5V 0
#define GPIO_VREG_ID_EXT_3P3V 1
#define GPIO_VREG_ID_EXT_TS_SW 2
+#define GPIO_VREG_ID_EXT_MPP8 3
#define APQ8064_EXT_3P3V_REG_EN_GPIO 77