From patchwork Wed Jul 11 10:29:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damodar Santhapuri X-Patchwork-Id: 1181291 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id EAF9ADF25A for ; Wed, 11 Jul 2012 10:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155Ab2GKKaF (ORCPT ); Wed, 11 Jul 2012 06:30:05 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:51733 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984Ab2GKKaE (ORCPT ); Wed, 11 Jul 2012 06:30:04 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q6BAU2bw011981; Wed, 11 Jul 2012 05:30:03 -0500 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6BAU1gk015071; Wed, 11 Jul 2012 16:00:02 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Wed, 11 Jul 2012 16:00:01 +0530 Received: from localhost.localdomain (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6BATxLw026041; Wed, 11 Jul 2012 16:00:00 +0530 From: Damodar Santhapuri To: , CC: , Ajay Kumar Gupta Subject: [PATCH v2 1/3] arm: omap: hwmod: add new memory resource for usb phy control Date: Wed, 11 Jul 2012 15:59:56 +0530 Message-ID: <1342002598-30633-1-git-send-email-x0132156@ti.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Ajay Kumar Gupta Added usb_ctrl0 and usb_ctrl1 base address as new memory resources which will be used at am335x musb driver glue layer to turn on or off builin PHY untill we have a separate system control module driver. Signed-off-by: Ajay Kumar Gupta Singed-off-by: Damodar Santhapuri --- Changes from v0: Reordered the layout based on Kishon's comment on not using platform_get_resources_by_name. arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c index df888fe..ec9e9df 100644 --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c @@ -3269,11 +3269,23 @@ static struct omap_hwmod_addr_space am33xx_usbss_addr_space[] = { .flags = ADDR_TYPE_RT }, { + .name = "usb_ctrl0", + .pa_start = 0x44E10620, + .pa_end = 0x44E10624, + .flags = ADDR_TYPE_RT + }, + { .name = "musb1", .pa_start = 0x47401800, .pa_end = 0x47401800 + SZ_2K - 1, .flags = ADDR_TYPE_RT }, + { + .name = "usb_ctrl1", + .pa_start = 0x44E10628, + .pa_end = 0x44E1062c, + .flags = ADDR_TYPE_RT + }, { } };