From patchwork Sat Jul 16 10:46:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 9233163 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2C02E6075E for ; Sat, 16 Jul 2016 10:48:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C3EF23861 for ; Sat, 16 Jul 2016 10:48:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10DFC25218; Sat, 16 Jul 2016 10:48:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A849E23861 for ; Sat, 16 Jul 2016 10:48:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bON7d-000282-UJ; Sat, 16 Jul 2016 10:47:01 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bON7C-00021O-TW for linux-arm-kernel@lists.infradead.org; Sat, 16 Jul 2016 10:46:36 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 09C8283F47; Sat, 16 Jul 2016 10:46:17 +0000 (UTC) Received: from shalem.localdomain.com (vpn1-4-61.ams2.redhat.com [10.36.4.61]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6GAk5FZ019314; Sat, 16 Jul 2016 06:46:14 -0400 From: Hans de Goede To: Ulf Hansson , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 3/4] ARM: dts: sun4i: Remove sample clocks from mmc host nodes Date: Sat, 16 Jul 2016 12:46:03 +0200 Message-Id: <1468665964-27142-4-git-send-email-hdegoede@redhat.com> In-Reply-To: <1468665964-27142-1-git-send-email-hdegoede@redhat.com> References: <1468665964-27142-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 16 Jul 2016 10:46:17 +0000 (UTC) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160716_034635_124129_DE05C1E8 X-CRM114-Status: GOOD ( 10.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Hans de Goede MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It turns out the A10 does not have mmc sample clocks (the bits for this in the register always read back 0, not listed in the datasheet), so remove the sample clocks from the mmc host nodes. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 7e7dfc2..f6bf851 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -783,13 +783,9 @@ compatible = "allwinner,sun4i-a10-mmc"; reg = <0x01c0f000 0x1000>; clocks = <&ahb_gates 8>, - <&mmc0_clk 0>, - <&mmc0_clk 1>, - <&mmc0_clk 2>; + <&mmc0_clk 0>; clock-names = "ahb", - "mmc", - "output", - "sample"; + "mmc"; interrupts = <32>; status = "disabled"; #address-cells = <1>; @@ -800,13 +796,9 @@ compatible = "allwinner,sun4i-a10-mmc"; reg = <0x01c10000 0x1000>; clocks = <&ahb_gates 9>, - <&mmc1_clk 0>, - <&mmc1_clk 1>, - <&mmc1_clk 2>; + <&mmc1_clk 0>; clock-names = "ahb", - "mmc", - "output", - "sample"; + "mmc"; interrupts = <33>; status = "disabled"; #address-cells = <1>; @@ -817,13 +809,9 @@ compatible = "allwinner,sun4i-a10-mmc"; reg = <0x01c11000 0x1000>; clocks = <&ahb_gates 10>, - <&mmc2_clk 0>, - <&mmc2_clk 1>, - <&mmc2_clk 2>; + <&mmc2_clk 0>; clock-names = "ahb", - "mmc", - "output", - "sample"; + "mmc"; interrupts = <34>; status = "disabled"; #address-cells = <1>; @@ -834,13 +822,9 @@ compatible = "allwinner,sun4i-a10-mmc"; reg = <0x01c12000 0x1000>; clocks = <&ahb_gates 11>, - <&mmc3_clk 0>, - <&mmc3_clk 1>, - <&mmc3_clk 2>; + <&mmc3_clk 0>; clock-names = "ahb", - "mmc", - "output", - "sample"; + "mmc"; interrupts = <35>; status = "disabled"; #address-cells = <1>;