From patchwork Mon Dec 16 12:38:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 3354001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB927C0D4A for ; Mon, 16 Dec 2013 12:39:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D55CF201F9 for ; Mon, 16 Dec 2013 12:39:41 +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 1D80D201C0 for ; Mon, 16 Dec 2013 12:39:37 +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 1VsXSO-00081V-QE; Mon, 16 Dec 2013 12:39:32 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsXSM-0001vJ-9i; Mon, 16 Dec 2013 12:39:30 +0000 Received: from ducie-dc1.codethink.co.uk ([37.128.190.40]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsXSJ-0001uS-2e for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2013 12:39:27 +0000 Received: from localhost (localhost [127.0.0.1]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTP id 485F946214D; Mon, 16 Dec 2013 12:39:04 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at ducie-dc1.codethink.co.uk Received: from ducie-dc1.codethink.co.uk ([127.0.0.1]) by localhost (ducie-dc1.codethink.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lu+NuWFOQSMc; Mon, 16 Dec 2013 12:38:57 +0000 (GMT) Received: from rainbowdash.dyn.ducie.codethink.co.uk (rainbowdash.dyn.ducie.codethink.co.uk [192.168.24.154]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTPSA id 8AA92461E5E; Mon, 16 Dec 2013 12:38:57 +0000 (GMT) From: Ben Dooks To: linux-kernel@lists.codethink.co.uk, linux-sh@vger.kernel.org Subject: [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes Date: Mon, 16 Dec 2013 12:38:48 +0000 Message-Id: <1387197528-1177-2-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1387197528-1177-1-git-send-email-ben.dooks@codethink.co.uk> References: <1387197528-1177-1-git-send-email-ben.dooks@codethink.co.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131216_073927_219233_4D5458D7 X-CRM114-Status: GOOD ( 11.69 ) X-Spam-Score: -2.4 (--) Cc: Kuninori Morimoto , 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.7 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 four sdhi nodes which the first two 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 sdhi{0,1} node size from 0x100 to 0x200 to correct these nodes as per Kuninori Morimoto's response to the original patch where all four nodes where changed. sdhi{2,3} are the correct size. 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 Acked-by: Kuninori Morimoto --- arch/arm/boot/dts/r8a7790.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 68b7b87..c600103 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;