From patchwork Wed Jun 26 01:24:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Fernandes, Joel A" X-Patchwork-Id: 2781851 Return-Path: X-Original-To: patchwork-linux-mmc@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 18F5D9F968 for ; Wed, 26 Jun 2013 01:26:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D93E2028D for ; Wed, 26 Jun 2013 01:26:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BAB42027D for ; Wed, 26 Jun 2013 01:26:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752288Ab3FZB0N (ORCPT ); Tue, 25 Jun 2013 21:26:13 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:45644 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989Ab3FZBZi (ORCPT ); Tue, 25 Jun 2013 21:25:38 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5Q1OoZp004813; Tue, 25 Jun 2013 20:24:50 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5Q1OoQ8003654; Tue, 25 Jun 2013 20:24:50 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Tue, 25 Jun 2013 20:24:50 -0500 Received: from localhost.localdomain (h0-133.vpn.ti.com [172.24.0.133]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5Q1Om9o026468; Tue, 25 Jun 2013 20:24:49 -0500 From: Joel A Fernandes To: Tony Lindgren , Sekhar Nori , Matt Porter , Grant Likely , Rob Herring , Vinod Koul , Mark Brown , Benoit Cousson , Russell King , Rob Landley , Andrew Morton , Jason Kridner , Koen Kooi , Balaji TK , Chris Ball CC: Devicetree Discuss , Linux OMAP List , Linux ARM Kernel List , Linux DaVinci Kernel List , Linux Kernel Mailing List , Linux Documentation List , Linux MMC List , Linux SPI Devel List , Arnd Bergmann Subject: [PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC Date: Tue, 25 Jun 2013 20:24:48 -0500 Message-ID: <1372209888-6649-1-git-send-email-joelagnel@ti.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-8.2 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 From: Joel A Fernandes HWMOD irq entries for MMC were removed. We provide the same from DT for MMC. This fixes issue where memory resource could not be found during probe. Also, added the reg-offset property to account for the offset from start. Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 119f8a9..e0a5741 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -237,6 +237,10 @@ dmas = <&edma 24 &edma 25>; dma-names = "tx", "rx"; + interrupts = <64>; + interrupt-parent = <&intc>; + reg = <0x48060000 0x1000>; + reg-offset = <0x100>; status = "disabled"; }; @@ -247,6 +251,10 @@ dmas = <&edma 2 &edma 3>; dma-names = "tx", "rx"; + interrupts = <24>; + interrupt-parent = <&intc>; + reg = <0x481d8000 0x1000>; + reg-offset = <0x100>; status = "disabled"; }; @@ -254,6 +262,10 @@ compatible = "ti,omap3-hsmmc"; ti,hwmods = "mmc3"; ti,needs-special-reset; + interrupts = <25>; + interrupt-parent = <&intc>; + reg = <0x47810000 0x1000>; + reg-offset = <0x100>; status = "disabled"; };