From patchwork Mon Jun 30 10:12:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 4447111 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 BC2509F358 for ; Mon, 30 Jun 2014 10:25:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0132D20256 for ; Mon, 30 Jun 2014 10:25:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 2117F201CE for ; Mon, 30 Jun 2014 10:25:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1Yke-0008Pv-4y; Mon, 30 Jun 2014 10:23:56 +0000 Received: from top.free-electrons.com ([176.31.233.9] helo=mail.free-electrons.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1YkJ-00085N-7M for linux-arm-kernel@lists.infradead.org; Mon, 30 Jun 2014 10:23:35 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id 9DA1C940; Mon, 30 Jun 2014 12:23:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id BE3C9172F; Mon, 30 Jun 2014 12:15:09 +0200 (CEST) From: Maxime Ripard To: Russell King , Arnd Bergmann Subject: [PATCH v2 2/2] ARM: sunxi: Add clocks node to the CPU nodes Date: Mon, 30 Jun 2014 12:12:23 +0200 Message-Id: <1404123143-13041-3-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404123143-13041-1-git-send-email-maxime.ripard@free-electrons.com> References: <1404123143-13041-1-git-send-email-maxime.ripard@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140630_032335_440375_C42BF9C9 X-CRM114-Status: GOOD ( 10.17 ) X-Spam-Score: 1.0 (+) Cc: devicetree@vger.kernel.org, Maxime Ripard , Rob Herring , linux-arm-kernel@lists.infradead.org, Nicolas Pitre X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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-Virus-Scanned: ClamAV using ClamSMTP Setting the clock will make the topology code work, and will remove the following error at boot [ 0.097194] /cpus/cpu@0 missing clock-frequency property [ 0.103657] /cpus/cpu@1 missing clock-frequency property [ 0.110698] /cpus/cpu@2 missing clock-frequency property [ 0.117132] /cpus/cpu@3 missing clock-frequency property Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++++ arch/arm/boot/dts/sun7i-a20.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index a9dfa12eb735..905b84add002 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -34,24 +34,28 @@ cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu@1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; cpu@2 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <2>; }; cpu@3 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <3>; }; }; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 17823759bdc9..1d263b7f02dc 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -35,12 +35,14 @@ cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu@1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; };