mdm: Assert wakeup gpio to indicate mdm hsic to start connecting
hsic enumeration failure observed when mdm hsic initiates connect
signalling and apq hsic is not ready to act on it. Asserting wakeup
gpio after adding apq hsic device to indicate mdm hsic to start
initiating connect
CRs-Fixed: 349725
Change-Id: I608e8421172bbe70d3476f25334d9f3209700c45
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064-gpiomux.c b/arch/arm/mach-msm/board-8064-gpiomux.c
index 4b9931a..8464752 100644
--- a/arch/arm/mach-msm/board-8064-gpiomux.c
+++ b/arch/arm/mach-msm/board-8064-gpiomux.c
@@ -518,6 +518,12 @@
.pull = GPIOMUX_PULL_DOWN,
};
+static struct gpiomux_setting ap2mdm_wakeup = {
+ .func = GPIOMUX_FUNC_GPIO,
+ .drv = GPIOMUX_DRV_8MA,
+ .pull = GPIOMUX_PULL_DOWN,
+};
+
static struct msm_gpiomux_config mdm_configs[] __initdata = {
/* AP2MDM_STATUS */
{
@@ -554,6 +560,13 @@
[GPIOMUX_SUSPENDED] = &ap2mdm_pon_reset_n_cfg,
}
},
+ /* AP2MDM_WAKEUP */
+ {
+ .gpio = 35,
+ .settings = {
+ [GPIOMUX_SUSPENDED] = &ap2mdm_wakeup,
+ }
+ },
};
static struct msm_gpiomux_config apq8064_mxt_configs[] __initdata = {