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/devices-8064.c b/arch/arm/mach-msm/devices-8064.c
index f6b753d..092a4f5 100644
--- a/arch/arm/mach-msm/devices-8064.c
+++ b/arch/arm/mach-msm/devices-8064.c
@@ -2157,6 +2157,7 @@
#define MDM2AP_STATUS 49
#define AP2MDM_STATUS 48
#define AP2MDM_PMIC_RESET_N 27
+#define AP2MDM_WAKEUP 35
static struct resource mdm_resources[] = {
{
@@ -2189,6 +2190,12 @@
.name = "AP2MDM_PMIC_RESET_N",
.flags = IORESOURCE_IO,
},
+ {
+ .start = AP2MDM_WAKEUP,
+ .end = AP2MDM_WAKEUP,
+ .name = "AP2MDM_WAKEUP",
+ .flags = IORESOURCE_IO,
+ },
};
struct platform_device mdm_8064_device = {