From patchwork Wed Mar 27 21:20:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 231835 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5F6AF2C00CE for ; Thu, 28 Mar 2013 08:26:55 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKxom-000833-Me; Wed, 27 Mar 2013 21:23:36 +0000 Received: from [2606:3f00:60:21c:d00d:c0de:4:f00d] (helo=zetta.elopez.com.ar) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKxoA-0007uW-3d for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2013 21:22:59 +0000 Received: from 201-212-118-238.prima.net.ar ([201.212.118.238] helo=desktop.lan) by zetta.elopez.com.ar with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) id 1UKxo5-0005Sk-Rl; Wed, 27 Mar 2013 18:22:54 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard , Mike Turquette , Linus Walleij Subject: [PATCH v2 3/7] arm: sunxi: use the right clock phandles for UARTs Date: Wed, 27 Mar 2013 18:20:39 -0300 Message-Id: <1364419243-18446-4-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1364419243-18446-1-git-send-email-emilio@elopez.com.ar> References: <1363962042-29536-1-git-send-email-emilio@elopez.com.ar> <1364419243-18446-1-git-send-email-emilio@elopez.com.ar> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130327_172258_260825_5832CDD9 X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS Cc: Alejandro Mery , =?UTF-8?q?Emilio=20L=C3=B3pez?= , Stefan Roese , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org All the UARTs are connected to clock gates; now that our clock driver is able to handle them, make the switch. Signed-off-by: Emilio López --- Changes from v1: - no changes arch/arm/boot/dts/sun4i-a10.dtsi | 12 ++++++------ arch/arm/boot/dts/sunxi.dtsi | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 68a27fc..6b3a6b2 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -54,7 +54,7 @@ interrupts = <1>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 16>; status = "disabled"; }; @@ -64,7 +64,7 @@ interrupts = <3>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 18>; status = "disabled"; }; @@ -74,7 +74,7 @@ interrupts = <17>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 20>; status = "disabled"; }; @@ -84,7 +84,7 @@ interrupts = <18>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 21>; status = "disabled"; }; @@ -94,7 +94,7 @@ interrupts = <19>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 22>; status = "disabled"; }; @@ -104,7 +104,7 @@ interrupts = <20>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 23>; status = "disabled"; }; }; diff --git a/arch/arm/boot/dts/sunxi.dtsi b/arch/arm/boot/dts/sunxi.dtsi index 87b2cce..a8d47e2 100644 --- a/arch/arm/boot/dts/sunxi.dtsi +++ b/arch/arm/boot/dts/sunxi.dtsi @@ -191,7 +191,7 @@ interrupts = <2>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 17>; status = "disabled"; }; @@ -201,7 +201,7 @@ interrupts = <4>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&osc>; + clocks = <&apb1_gates 19>; status = "disabled"; }; };