From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Taneja Date: Tue, 17 Sep 2013 07:18:37 +0000 Subject: [PATCH 11/11] [experimental] arm: omap: omap4 hwmod data: Split hdmi address space Message-Id: <1379401597-27222-12-git-send-email-archit@ti.com> List-Id: References: <1379401597-27222-1-git-send-email-archit@ti.com> In-Reply-To: <1379401597-27222-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: tomi.valkeinen@ti.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Archit Taneja 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 --- 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