[PATCH 11/11] [experimental] arm: omap: omap4 hwmod data: Split hdmi address space

From
Archit Taneja <hidden>
Date
2013-09-17 07:18:37
Also in
linux-omap
Reply to
Archit Taneja, 2013-09-17
Split hdmi address space in order to get base addresses of hdmi submodules by
name. This is just a demonstration patch for the hdmi refactoring to work. The
address data should belong to the hdmi DT node.

Signed-off-by: Archit Taneja <redacted>
---
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 9c3b504..3b12339 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -3843,7 +3843,26 @@ static struct omap_hwmod_ocp_if omap44xx_l3_main_2__dss_hdmi = {
 
 static struct omap_hwmod_addr_space omap44xx_dss_hdmi_addrs[] = {
 	{
+		.name		= "hdmi_wp",
 		.pa_start	= 0x48046000,
+		.pa_end		= 0x480461ff,
+		.flags		= ADDR_TYPE_RT
+	},
+	{
+		.name		= "hdmi_pllctrl",
+		.pa_start	= 0x48046200,
+		.pa_end		= 0x480462ff,
+		.flags		= ADDR_TYPE_RT
+	},
+	{
+		.name		= "hdmi_txphy",
+		.pa_start	= 0x48046300,
+		.pa_end		= 0x480463ff,
+		.flags		= ADDR_TYPE_RT
+	},
+	{
+		.name		= "hdmi_core",
+		.pa_start	= 0x48046400,
 		.pa_end		= 0x48046fff,
 		.flags		= ADDR_TYPE_RT
 	},
-- 
1.8.1.2
Thread (15 messages) 15 messages, 3 authors, last reply 2013-09-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help