From patchwork Thu Jan 16 15:39:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Jensen X-Patchwork-Id: 3499161 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 EF966C02DC for ; Thu, 16 Jan 2014 15:39:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F38A52010C for ; Thu, 16 Jan 2014 15:39:53 +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 D1447200F3 for ; Thu, 16 Jan 2014 15:39:52 +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 1W3p2q-0002bZ-Rg; Thu, 16 Jan 2014 15:39:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W3p2o-0000fO-HU; Thu, 16 Jan 2014 15:39:46 +0000 Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W3p2l-0000e5-Nf for linux-arm-kernel@lists.infradead.org; Thu, 16 Jan 2014 15:39:44 +0000 Received: by mail-la0-f54.google.com with SMTP id y1so2715227lam.27 for ; Thu, 16 Jan 2014 07:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=IgQczDYJUkx5EGEDQ4+3vERFs0GVt0urfdHjlPS8qX4=; b=fVV1Ab24qdAxP8H+z5+6iKojgVOsI+h8JbrLiP32677NEDGlx7XSln/8aWAe4fMXcX uGrFovAu+TEYopcSjfPsQr1Udf6r5jNgUy+IOeQ30ecEtqnYllqwIaQkTZyDm3+8ASHm vwFcWPPIWEQ4UNQOMGiVChssUGTYJqZsta7CaRzD4EgbBFXEjQ2OQuVTqt+wvWd2t7LW gA8b8wWFP88jSbt8uk9tmq5/c+RXwDcN7WVB+IVfL/kyffHdsuEGjcNnixTrGHQ4mPXA 9PQ4hgoqNlXGqPF/sUDcYiafG7fH3++Y5jl5yGddJE+oHy0sRn1aj4Zz1kwA4rdckF2x VFFQ== X-Received: by 10.152.115.177 with SMTP id jp17mr5551941lab.30.1389886755856; Thu, 16 Jan 2014 07:39:15 -0800 (PST) Received: from Ildjarn.ath.cx (static-213-115-41-10.sme.bredbandsbolaget.se. [213.115.41.10]) by mx.google.com with ESMTPSA id z3sm5689437lag.10.2014.01.16.07.39.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:39:14 -0800 (PST) From: Jonas Jensen To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: moxart: move fixed rate clock child node to board level dts Date: Thu, 16 Jan 2014 16:39:06 +0100 Message-Id: <1389886746-972-1-git-send-email-jonas.jensen@gmail.com> X-Mailer: git-send-email 1.8.2.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140116_103943_927441_431CDEA7 X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: devicetree@vger.kernel.org, peter.crosthwaite@xilinx.com, linux@arm.linux.org.uk, arnd@arndb.de, linux-kernel@vger.kernel.org, Jonas Jensen , arm@kernel.org, olof@lixom.net, soren.brinkmann@xilinx.com 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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 When a skeleton "clocks { .. }" remain in .dtsi, the child node can be moved to .dts, "ref12" is then found by of_clk_get(). Signed-off-by: Jonas Jensen --- Notes: Applies to next-20140116 arch/arm/boot/dts/moxart-uc7112lx.dts | 8 ++++++++ arch/arm/boot/dts/moxart.dtsi | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/moxart-uc7112lx.dts b/arch/arm/boot/dts/moxart-uc7112lx.dts index 90749d5..10d088d 100644 --- a/arch/arm/boot/dts/moxart-uc7112lx.dts +++ b/arch/arm/boot/dts/moxart-uc7112lx.dts @@ -17,6 +17,14 @@ reg = <0x0 0x2000000>; }; + clocks { + ref12: ref12M { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12000000>; + }; + }; + flash@80000000,0 { compatible = "numonyx,js28f128", "cfi-flash"; reg = <0x80000000 0x1000000>; diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index da1d8ef..1fd27ed 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -26,12 +26,6 @@ clocks { #address-cells = <1>; #size-cells = <0>; - - ref12: ref12M { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <12000000>; - }; }; soc {