Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3788658imm; Mon, 18 Jun 2018 04:12:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYvaqjn8DOnNf6BtXfsZSiTDHvnAoRMBn6OilvPDR8a28jxgHjbRpX/5/vTo0EHRJO/EHU X-Received: by 2002:a17:902:6b86:: with SMTP id p6-v6mr13672010plk.75.1529320328796; Mon, 18 Jun 2018 04:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529320328; cv=none; d=google.com; s=arc-20160816; b=rjTgwZXNFPQe3VRpqa6e0bnvo3FHn85XGi8CDkocvPkI9KbQg1V4C2ZjR18NIvZH+k 1kX806XpgNJw8Tv6vkLcs3DPqMku/sbvtbnKH6rkDcxZIuM5FF5wacTAmEaGGHoBYZZo 5qCoJKe9w6VYx/Ld6xqM+mQMgNgSxW3jmBNprYhH4JH8fQAQJd8BdMk1NuF1r42B1Zmo 73l3finxbjFXuS4Ms1gTP5L5/AZKYU++u4/LVPxnpSWJzWwgBIlS/ne6yPawQRTUCs/U WUYoGrnQmw3Fr0epeq0ND9mr7Gf6z0icmjN3W4kq0cJlAYDqy3Lyo07wykRjHjVqEVqy +TPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XJeVJWotpo8Lza/TyQQsPiKVM+5edAJ17SvCrI6NUV0=; b=L+2KM+FL4DMlsVJ9+CuDGQMbLwniG5ZRw4cusJMjVOJ4nSz7tfuTgvA8zBnkL7XPPk bwI5zQbCNNLcnQcXmr0748Z0ezvGL3mqaYJGpIyeLnY1CFTVFnx5uyfzn+q2vZiwaqs7 Fg7PQ0tpP1Mx6KL25tHGSru7xEQR5hAmMVh+u7ivT1h2riEU7cnF+9zf2/cw+Gyu9gdK IFs9HTBIzDjBX0tcQL8B7e7Oy2jCwln8oHziy0ZQGwui/7r0Jk+pCorfZEEmM8H/pCQq ZNjhrPFnU0q0DsNxrH2q/xBL6ZWx/GkxIDh+t4Jvz8EQIZFTlm6eE52k7T0pMv+F3k1B 75Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M9Qh8OfY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20-v6si14928336pll.76.2018.06.18.04.11.54; Mon, 18 Jun 2018 04:12:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M9Qh8OfY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934260AbeFRLJo (ORCPT + 99 others); Mon, 18 Jun 2018 07:09:44 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:46154 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932762AbeFRLJm (ORCPT ); Mon, 18 Jun 2018 07:09:42 -0400 Received: by mail-ot0-f194.google.com with SMTP id v24-v6so9448798otk.13; Mon, 18 Jun 2018 04:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XJeVJWotpo8Lza/TyQQsPiKVM+5edAJ17SvCrI6NUV0=; b=M9Qh8OfYlAjbLfNUwXCaitHzj5+ChaNcKIe6SJ9L/T+u+r4PUm18lIjeeACbiCXl8k hYugxaYNBSyGbXMAggdx3k8YK+xNAAO/lf7WfkOpYLrht1F51ikiXcCp2QO1n3MIAycN 7EILPGg3VQ3cAumSPPhDL2BbGiXV3GdLiPM7BJMq/5rKK20KJXG4pf4ls7xM7zYguIWs hvgLSGFTnXD1P0riIFoY116Az21F+yTO826kuUZL1ZjvgWdS9KRUN6oSpGa+QI+FaU0o bLoPfeGNJ7ZGqUJYnur73q4sWJ4lZnEbUWoQT7OirgfYOKcRgQJuvmvYgIY/ojlp8xuG wiag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XJeVJWotpo8Lza/TyQQsPiKVM+5edAJ17SvCrI6NUV0=; b=G7gT170Z4k8osSpvScDilYbQzOfvgNbT4X2aq0d6pcOYC/CuBSR9ckWqh/JFkUBtYa LLFFf1v55OmFtFmf7i8ku2u4NDi+pOih+j7lqX1a+FCT68a5zNgfj55mVurba4bVA/KL 3ef/OaVqT/IbZhMOSdV0Uw7uYS7q1E7VOI3+7oXpQTbGfhVFFPBttleTUDjI1aW5uFlF /WXS+J1gQM7gutEaiLKNErh4wDtunISJ5BRrhXQdUXxmViSaASbt5ElYKjoE1OV8aM6t fWcf8iuROvMlYdQoZ4R671Hbu2xMy8J/3Zo6T1a2V0Mx3jvwYKq3YSLwPF+Yp1cy7CSB 4dDA== X-Gm-Message-State: APt69E3woF7BbXO96hUAjPKpAjjNqCXgSa41oA2lWzK7bRCRKlftNFS8 8Nhxc5tX+ESkYxgpnKoWxAAsB8JhemRnwtI334o= X-Received: by 2002:a9d:9d3:: with SMTP id 19-v6mr6938161otz.324.1529320181358; Mon, 18 Jun 2018 04:09:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5b3b:0:0:0:0:0 with HTTP; Mon, 18 Jun 2018 04:09:20 -0700 (PDT) In-Reply-To: <20180530164922.31851-1-krzk@kernel.org> References: <20180530164922.31851-1-krzk@kernel.org> From: Anand Moon Date: Mon, 18 Jun 2018 16:39:20 +0530 Message-ID: Subject: Re: [PATCH] ARM: dts: exynos: Add missing CPU clocks to secondary CPUs on Exynos542x To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , Marek Szyprowski , Viresh Kumar , devicetree , linux-arm-kernel , linux-samsung-soc@vger.kernel.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 30 May 2018 at 22:19, Krzysztof Kozlowski wrote: > Secondary CPUs should have the same information in DeviceTree as booting > CPU from both correctness point of view and for possible hotplug > scenarios. > > Suggested-by: Viresh Kumar > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/boot/dts/exynos5420-cpus.dtsi | 6 ++++++ > arch/arm/boot/dts/exynos5422-cpus.dtsi | 8 +++++++- > 2 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/exynos5420-cpus.dtsi b/arch/arm/boot/dts/exynos5420-cpus.dtsi > index a8e449471304..0ee6e92a3c29 100644 > --- a/arch/arm/boot/dts/exynos5420-cpus.dtsi > +++ b/arch/arm/boot/dts/exynos5420-cpus.dtsi > @@ -38,6 +38,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x1>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -49,6 +50,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x2>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -60,6 +62,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x3>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -83,6 +86,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x101>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > @@ -94,6 +98,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x102>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > @@ -105,6 +110,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x103>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > diff --git a/arch/arm/boot/dts/exynos5422-cpus.dtsi b/arch/arm/boot/dts/exynos5422-cpus.dtsi > index 7c130a00d1a8..e4a5857c135f 100644 > --- a/arch/arm/boot/dts/exynos5422-cpus.dtsi > +++ b/arch/arm/boot/dts/exynos5422-cpus.dtsi > @@ -37,6 +37,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x101>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > @@ -48,6 +49,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x102>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > @@ -59,6 +61,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x103>; > + clocks = <&clock CLK_KFC_CLK>; > clock-frequency = <1000000000>; > cci-control-port = <&cci_control0>; > operating-points-v2 = <&cluster_a7_opp_table>; > @@ -69,8 +72,8 @@ > cpu4: cpu@0 { > device_type = "cpu"; > compatible = "arm,cortex-a15"; > - clocks = <&clock CLK_ARM_CLK>; > reg = <0x0>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -82,6 +85,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x1>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -93,6 +97,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x2>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > @@ -104,6 +109,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x3>; > + clocks = <&clock CLK_ARM_CLK>; > clock-frequency = <1800000000>; > cci-control-port = <&cci_control1>; > operating-points-v2 = <&cluster_a15_opp_table>; > -- [snip] Actually cpufreq module have more clock to be enabled below is example from clk_summary. fout_kpll 0 0 1400000000 0 0 mout_kpll 0 0 1400000000 0 0 kfcclk 0 0 1400000000 0 0 sclk_kpll 0 0 350000000 0 0 mout_kfc 0 0 1400000000 0 0 div_kfc 0 0 1400000000 0 0 fout_apll 0 0 2000000000 0 0 mout_apll 0 0 2000000000 0 0 armclk 0 0 2000000000 0 0 sclk_apll 0 0 500000000 0 0 mout_cpu 0 0 2000000000 0 0 div_arm 0 0 2000000000 0 0 armclk2 0 0 2000000000 0 0 Best Regards -Anand