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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux