From patchwork Tue Sep 17 07:06:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: archit taneja X-Patchwork-Id: 2901231 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EDAB79F1C0 for ; Tue, 17 Sep 2013 07:08:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50FB82034E for ; Tue, 17 Sep 2013 07:08:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2299C20347 for ; Tue, 17 Sep 2013 07:08:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752305Ab3IQHIG (ORCPT ); Tue, 17 Sep 2013 03:08:06 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:33472 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420Ab3IQHID (ORCPT ); Tue, 17 Sep 2013 03:08:03 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r8H783oc029755; Tue, 17 Sep 2013 02:08:03 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r8H7825d024795; Tue, 17 Sep 2013 02:08:03 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Tue, 17 Sep 2013 02:08:02 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id r8H782pN028743; Tue, 17 Sep 2013 02:08:02 -0500 Received: from localhost (a0393947pc.apr.dhcp.ti.com [172.24.145.166]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r8H781t25101; Tue, 17 Sep 2013 02:08:01 -0500 (CDT) From: Archit Taneja To: CC: , , Archit Taneja Subject: [PATCH 11/11] [experimental] arm: omap: omap4 hwmod data: Split hdmi address space Date: Tue, 17 Sep 2013 12:36:37 +0530 Message-ID: <1379401597-27222-12-git-send-email-archit@ti.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1379401597-27222-1-git-send-email-archit@ti.com> References: <1379401597-27222-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 },