From patchwork Wed Feb 17 06:55:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8334881 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 721969F399 for ; Wed, 17 Feb 2016 06:56:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AABAF20204 for ; Wed, 17 Feb 2016 06:56:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FC062034A for ; Wed, 17 Feb 2016 06:56:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756716AbcBQG4C (ORCPT ); Wed, 17 Feb 2016 01:56:02 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:43380 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756583AbcBQG4A (ORCPT ); Wed, 17 Feb 2016 01:56:00 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O2O004YPJ9A5210@mailout1.w1.samsung.com>; Wed, 17 Feb 2016 06:55:58 +0000 (GMT) X-AuditID: cbfec7f5-f79b16d000005389-e6-56c4197dc6b8 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 07.CE.21385.D7914C65; Wed, 17 Feb 2016 06:55:57 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O2O005LQJ8T5Z20@eusync4.samsung.com>; Wed, 17 Feb 2016 06:55:57 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Lukasz Majewski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Zhang Rui , Eduardo Valentin , Viresh Kumar , Bartlomiej Zolnierkiewicz , Javier Martinez Canillas Subject: [RFC 2/3] ARM: dts: Add cooling levels for CPUs on exynos5422/5800 Date: Wed, 17 Feb 2016 15:55:27 +0900 Message-id: <1455692128-28504-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 In-reply-to: <1455692128-28504-1-git-send-email-k.kozlowski@samsung.com> References: <1455692128-28504-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t/xa7q1kkfCDJ5ssLLYOGM9q8X8K9dY Ld68XcNk8fqFoUX/49fMFm8ebma02PQYKH551xw2i8+9RxgtZpzfx2Tx5GEfm8XGrx4OPB47 Z91l91i85yWTx6ZVnWwed67tYfPYvKTeY0s/ULxvyypGj8+b5AI4orhsUlJzMstSi/TtErgy tj/fxV7whaPi6KxtjA2Mc9m7GDk5JARMJFbP3sMGYYtJXLi3HswWEljKKHGsK6mLkQvI/s8o cfdJCxNIgk3AWGLz8iVsIAkRgWYmiXWN01lBEswCjxglLtz0ArGFBbwlvi37ALaBRUBV4sX5 xUDNHBy8Au4Su37yg5gSAnISCy6kg1RwCnhI7Dj0nBFir7tE1//dTBMYeRcwMqxiFE0tTS4o TkrPNdIrTswtLs1L10vOz93ECAnOrzsYlx6zOsQowMGoxMO7IutwmBBrYllxZe4hRgkOZiUR XobnQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8M3e9DxESSE8sSc1OTS1ILYLJMnFwSjUwKjmn itxQ3LrvrHpKocuNzvKSDYfilXOm3SifKWbZL7CwqH2vc982mWkWdQ2XLM3i5kScu35stlr0 pUURH1v+5tyv+316yqILE/SKWuM75z9p61ThEMs++eNUln9v21KG4AnLImJnnymPfL1tb2y8 9kK3nbPTHsv/XrpuYePvLdb8KUf+Ltm5U4mlOCPRUIu5qDgRAA4xfcJKAgAA Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 On Exynos5422 and Exynos5800 we support 12 cpufreq steps (200-1300 MHz) for LITTLE and 18 steps for big core (200-1700 MHz). Add respective cooling cells. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-cpus.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-cpus.dtsi b/arch/arm/boot/dts/exynos5422-cpus.dtsi index 9b46b9fbac4e..858bb7f57d76 100644 --- a/arch/arm/boot/dts/exynos5422-cpus.dtsi +++ b/arch/arm/boot/dts/exynos5422-cpus.dtsi @@ -32,6 +32,9 @@ clock-frequency = <1000000000>; cci-control-port = <&cci_control0>; operating-points-v2 = <&cluster_a7_opp_table>; + cooling-min-level = <0>; + cooling-max-level = <11>; + #cooling-cells = <2>; /* min followed by max */ }; cpu1: cpu@101 { @@ -69,6 +72,9 @@ clock-frequency = <1800000000>; cci-control-port = <&cci_control1>; operating-points-v2 = <&cluster_a15_opp_table>; + cooling-min-level = <0>; + cooling-max-level = <15>; + #cooling-cells = <2>; /* min followed by max */ }; cpu5: cpu@1 {