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: 8334961 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 93BEEC02AA for ; Wed, 17 Feb 2016 06:58:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC5C92034A for ; Wed, 17 Feb 2016 06:58:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C88A4202E9 for ; Wed, 17 Feb 2016 06:58:25 +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 1aVw2p-0003QB-FY; Wed, 17 Feb 2016 06:57:03 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVw29-0002lM-Dy for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2016 06:56:24 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160216_225621_959269_9E5FE0B2 X-CRM114-Status: GOOD ( 13.33 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Valentin , Viresh Kumar , Zhang Rui , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 {