diff mbox

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

Message ID 1379401597-27222-12-git-send-email-archit@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

archit taneja Sept. 17, 2013, 7:06 a.m. UTC
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 <archit@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox

Patch

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
 	},