* [PATCH 1/2] msm: smd: enable smd on msm7x30 target
@ 2010-10-06 20:52 Niranjana Vishwanathapura
2010-10-06 20:52 ` [PATCH 2/2] msm: smd: enable smd on qsd8x50 target Niranjana Vishwanathapura
0 siblings, 1 reply; 2+ messages in thread
From: Niranjana Vishwanathapura @ 2010-10-06 20:52 UTC (permalink / raw)
To: dwalker; +Cc: linux-arm-msm, Niranjana Vishwanathapura
Add msm_smd device in the msm7x30 board file.
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
---
arch/arm/mach-msm/board-msm7x30.c | 2 +-
arch/arm/mach-msm/devices-msm7x30.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c
index 74abb74..76d5a22 100644
--- a/arch/arm/mach-msm/board-msm7x30.c
+++ b/arch/arm/mach-msm/board-msm7x30.c
@@ -43,7 +43,7 @@ static struct platform_device *devices[] __initdata = {
#if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER)
&msm_device_uart2,
#endif
-
+ &msm_device_smd,
};
static void __init msm7x30_init_irq(void)
diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c
index b449e8a..7fcf2e3 100644
--- a/arch/arm/mach-msm/devices-msm7x30.c
+++ b/arch/arm/mach-msm/devices-msm7x30.c
@@ -51,6 +51,11 @@ struct platform_device msm_device_uart2 = {
.resource = resources_uart2,
};
+struct platform_device msm_device_smd = {
+ .name = "msm_smd",
+ .id = -1,
+};
+
struct clk msm_clocks_7x30[] = {
CLK_PCOM("adm_clk", ADM_CLK, NULL, 0),
CLK_PCOM("adsp_clk", ADSP_CLK, NULL, 0),
--
1.5.6.3
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] msm: smd: enable smd on qsd8x50 target
2010-10-06 20:52 [PATCH 1/2] msm: smd: enable smd on msm7x30 target Niranjana Vishwanathapura
@ 2010-10-06 20:52 ` Niranjana Vishwanathapura
0 siblings, 0 replies; 2+ messages in thread
From: Niranjana Vishwanathapura @ 2010-10-06 20:52 UTC (permalink / raw)
To: dwalker; +Cc: linux-arm-msm, Niranjana Vishwanathapura
Add msm_smd device in the qsd8x50 board file.
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
---
arch/arm/mach-msm/board-qsd8x50.c | 1 +
arch/arm/mach-msm/devices-qsd8x50.c | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c
index 9e4cf24..d5d5e44 100644
--- a/arch/arm/mach-msm/board-qsd8x50.c
+++ b/arch/arm/mach-msm/board-qsd8x50.c
@@ -76,6 +76,7 @@ module_init(msm_init_smc91x);
static struct platform_device *devices[] __initdata = {
&msm_device_uart3,
+ &msm_device_smd,
};
static void __init qsd8x50_map_io(void)
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c
index 4d4a507..6fe67c5 100644
--- a/arch/arm/mach-msm/devices-qsd8x50.c
+++ b/arch/arm/mach-msm/devices-qsd8x50.c
@@ -48,6 +48,11 @@ struct platform_device msm_device_uart3 = {
.resource = resources_uart3,
};
+struct platform_device msm_device_smd = {
+ .name = "msm_smd",
+ .id = -1,
+};
+
struct clk msm_clocks_8x50[] = {
CLK_PCOM("adm_clk", ADM_CLK, NULL, 0),
CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN),
--
1.5.6.3
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-06 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 20:52 [PATCH 1/2] msm: smd: enable smd on msm7x30 target Niranjana Vishwanathapura
2010-10-06 20:52 ` [PATCH 2/2] msm: smd: enable smd on qsd8x50 target Niranjana Vishwanathapura
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).