summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKumar Sanghvi <kumar.sanghvi@stericsson.com>2011-05-16 21:00:49 +0530
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-29 10:30:26 +0200
commitd5ec05ba2ff02fad9816a468a4dab1a4a628cfe4 (patch)
tree0083e0746b4df3bdf39c25235c30e7f5de1b527f /arch
parentd64b0f6a798e8dca1daf20d507430584f2a8c337 (diff)
drivers: modem: Add modem access driver for STE U8500
Adds platform driver which implements mechanism for accessing modem on STE U8500 platform which uses Shared Memory for communicating between Modem and Application processor. The driver also registers itself with the Modem Access framework. ST-Ericsson ID: CR329459 Change-Id: Id5bc18f6f974b026f9be2d3e2756e03417e01e07 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23554 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 164884c452a..8fea2580eef 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -229,6 +229,16 @@ static struct platform_device snowball_sbnet_dev = {
},
};
+#ifdef CONFIG_MODEM_U8500
+static struct platform_device u8500_modem_dev = {
+ .name = "u8500-modem",
+ .id = 0,
+ .dev = {
+ .platform_data = NULL,
+ },
+};
+#endif
+
static struct ab8500_platform_data ab8500_platdata = {
.irq_base = MOP500_AB8500_IRQ_BASE,
.regulator_reg_init = ab8500_regulator_reg_init,
@@ -670,6 +680,9 @@ static struct platform_device *mop500_platform_devs[] __initdata = {
#ifdef CONFIG_HSI
&u8500_hsi_device,
#endif
+#ifdef CONFIG_MODEM_U8500
+ &u8500_modem_dev,
+#endif
&ab8500_device,
};