From patchwork Thu Dec 12 17:24:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 3333461 Return-Path: X-Original-To: patchwork-linux-arm@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 642F39F2A9 for ; Thu, 12 Dec 2013 17:24:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46014207C3 for ; Thu, 12 Dec 2013 17:24:49 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 100AC2070D for ; Thu, 12 Dec 2013 17:24:48 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrA0A-0004HM-Em; Thu, 12 Dec 2013 17:24:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrA08-0003XD-0h; Thu, 12 Dec 2013 17:24:40 +0000 Received: from 82-68-191-81.dsl.posilan.com ([82.68.191.81] helo=rainbowdash.ducie.codethink.co.uk) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrA05-0003W6-GC for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2013 17:24:38 +0000 Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.82) (envelope-from ) id 1Vr9zU-0005Qq-2T; Thu, 12 Dec 2013 17:24:00 +0000 From: Ben Dooks To: ct173-kernel-internal@lists.codethink.co.uk, ct178-kernel@lists.codethink.co.uk Subject: [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sies Date: Thu, 12 Dec 2013 17:24:00 +0000 Message-Id: <1386869040-20849-1-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 1.8.5.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131212_122437_676997_29329204 X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.3 (/) Cc: Kuninori Morimoto , Linux SH , Guennadi Liakhovetski , Magnus Damm , Simon Horman , Ben Dooks , Linux ARM X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 The r8a7790.dtsi file has three sdhi nodes which all have the wrong resource size for their register block. This causes the sh_modbile_sdhi driver to fail to communicate with card at-all. Change each sdhi node size from 0x100 to 0x200 to correct this. Cc: Kuninori Morimoto Cc: Guennadi Liakhovetski Cc: Magnus Damm Cc: Simon Horman Cc: Linux SH Cc: Linux ARM Signed-off-by: Ben Dooks Tested-by: William Towle --- arch/arm/boot/dts/r8a7790.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 68b7b87..e218f25 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi @@ -254,7 +254,7 @@ sdhi0: sd@ee100000 { compatible = "renesas,sdhi-r8a7790"; - reg = <0 0xee100000 0 0x100>; + reg = <0 0xee100000 0 0x200>; interrupt-parent = <&gic>; interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; cap-sd-highspeed; @@ -263,7 +263,7 @@ sdhi1: sd@ee120000 { compatible = "renesas,sdhi-r8a7790"; - reg = <0 0xee120000 0 0x100>; + reg = <0 0xee120000 0 0x200>; interrupt-parent = <&gic>; interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>; cap-sd-highspeed; @@ -272,7 +272,7 @@ sdhi2: sd@ee140000 { compatible = "renesas,sdhi-r8a7790"; - reg = <0 0xee140000 0 0x100>; + reg = <0 0xee140000 0 0x200>; interrupt-parent = <&gic>; interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; cap-sd-highspeed; @@ -281,7 +281,7 @@ sdhi3: sd@ee160000 { compatible = "renesas,sdhi-r8a7790"; - reg = <0 0xee160000 0 0x100>; + reg = <0 0xee160000 0 0x200>; interrupt-parent = <&gic>; interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>; cap-sd-highspeed;