Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336085

[RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject [RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420
Date Wed, 17 Feb 2016 08:00:02 +0100
Message-ID <r34fD-2FN-5@gated-at.bofh.it> (permalink)
References <r34fD-2FN-7@gated-at.bofh.it>
X-Original-To Kukjin Kim <kgene@kernel.org>, Krzysztof Kozlowski <k.kozlowski@samsung.com>, Lukasz Majewski <l.majewski@samsung.com>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
X-Auditid cbfec7f5-f79b16d000005389-da-56c4197a9b94
X-Mailer git-send-email 2.5.0
X-Brightmail-Tracker H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t/xa7pVkkfCDDq/KllsnLGe1WL+lWus Fm/ermGyeP3C0KL/8WtmizcPNzNabHoMFL+8aw6bxefeI4wWM87vY7J48rCPzWLjVw8HHo+d s+6yeyze85LJY9OqTjaPO9f2sHlsXlLvsaUfKN63ZRWjx+dNcgEcUVw2Kak5mWWpRfp2CVwZ zU8ECx5zVOx+c4ylgbGPvYuRg0NCwETi/s7gLkZOIFNM4sK99WxdjFwcQgJLGSUuTfvBCuH8 Z5SYve04K0gVm4CxxOblS8CqRASamSTWNU4HSzALPGKUuHDTC8QWFnCTWPT4F1icRUBVYtPa 5SwgNq+Au8Tlyb0sEJvlJBZcSAcJcwp4SOw49JwRxBYCKun6v5tpAiPvAkaGVYyiqaXJBcVJ 6blGesWJucWleel6yfm5mxghwfl1B+PSY1aHGAU4GJV4eFdkHQ4TYk0sK67MPcQowcGsJMLL 8BwoxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfmrvchQgLpiSWp2ampBalFMFkmDk6pBsZu03+L Q481VXuttDif6vVJVOStVOzDFQGGpszv2wxOf332JPkeW1W97PaKr7qPNi3ZKvPykBHriV+f n/Yutg+wOMbwR2LOG9nqOKGdwWUlr7tT7tRINMxw5QoRfbTirkf3588Cvqc9pCQuLJiZr7jd +8CbV985v/MLvClfkby+unKD2fFVoh1KLMUZiYZazEXFiQB16xFCSgIAAA==
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
X-Original-Cc Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com>, Viresh Kumar <viresh.kumar@linaro.org>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Wed, 17 Feb 2016 15:55:26 +0900
X-Original-Message-ID <1455692128-28504-2-git-send-email-k.kozlowski@samsung.com>
X-Original-References <1455692128-28504-1-git-send-email-k.kozlowski@samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1336085

Show key headers only | View raw


On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and
12 steps for big core (700-1800 MHz). Add respective cooling cells.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos5420-cpus.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420-cpus.dtsi b/arch/arm/boot/dts/exynos5420-cpus.dtsi
index 261d25173f61..498ae82e1cb2 100644
--- a/arch/arm/boot/dts/exynos5420-cpus.dtsi
+++ b/arch/arm/boot/dts/exynos5420-cpus.dtsi
@@ -33,6 +33,9 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
+			cooling-min-level = <0>;
+			cooling-max-level = <11>;
+			#cooling-cells = <2>; /* min followed by max */
 		};
 
 		cpu1: cpu@1 {
@@ -70,6 +73,9 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
+			cooling-min-level = <0>;
+			cooling-max-level = <7>;
+			#cooling-cells = <2>; /* min followed by max */
 		};
 
 		cpu5: cpu@101 {
-- 
2.5.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-17 08:00 +0100
  Re: [RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-17 08:10 +0100
  Re: [RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420 Viresh Kumar <viresh.kumar@linaro.org> - 2016-02-17 08:10 +0100

csiph-web