msm: smd_pkt: add new channel for userspace access
On the Copper target, the SENSOR channel has moved to a new edge. Expose
a different device node so that the userspace client can access the
channel on its new edge. The userspace client will be responsible for
deciding which device node to use.
Change-Id: Icdfcda0870f5816c68f4175d43a21a0778081e61
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/smd_pkt.c b/arch/arm/mach-msm/smd_pkt.c
index 5f835a2..430a4c0 100644
--- a/arch/arm/mach-msm/smd_pkt.c
+++ b/arch/arm/mach-msm/smd_pkt.c
@@ -40,7 +40,7 @@
#ifdef CONFIG_ARCH_FSM9XXX
#define NUM_SMD_PKT_PORTS 4
#else
-#define NUM_SMD_PKT_PORTS 13
+#define NUM_SMD_PKT_PORTS 14
#endif
#define LOOPBACK_INX (NUM_SMD_PKT_PORTS - 1)
@@ -657,6 +657,7 @@
"smd_sns_dsps",
"apr_apps2",
"smdcntl8",
+ "smd_sns_adsp",
"smd_pkt_loopback",
};
@@ -673,6 +674,7 @@
"SENSOR",
"apr_apps2",
"DATA40_CNTL",
+ "SENSOR",
"LOOPBACK",
};
@@ -689,6 +691,7 @@
SMD_APPS_DSPS,
SMD_APPS_QDSP,
SMD_APPS_MODEM,
+ SMD_APPS_QDSP,
SMD_APPS_MODEM,
};
#endif