From patchwork Tue May 15 12:37:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10400949 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9EFD26024A for ; Tue, 15 May 2018 12:38:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ABF326E96 for ; Tue, 15 May 2018 12:38:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7ED0028448; Tue, 15 May 2018 12:38:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B0CB2842E for ; Tue, 15 May 2018 12:38:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbeEOMiB (ORCPT ); Tue, 15 May 2018 08:38:01 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39935 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbeEOMh7 (ORCPT ); Tue, 15 May 2018 08:37:59 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180515123757euoutp02a148d8295d9296af99caecbb328640bb~u0a-7IU562145521455euoutp02V; Tue, 15 May 2018 12:37:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180515123757euoutp02a148d8295d9296af99caecbb328640bb~u0a-7IU562145521455euoutp02V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1526387877; bh=QKPugTsNMUu3N1Y7lUKhs+i9GmLyvFlpqEzc5ug5x9U=; h=From:To:Cc:Subject:Date:References:From; b=Y14mVy8pypqThdNSCF+Jw6SDLNgNLM/rfGsBKOyL5S2SbVfD77Tqtdx5p6E/wY/Bs ya2+mZFu4VCEXtXejCsez62twD9iXOyMzn18rmxmlfYfN1iddOuQX9ne98pMCyy9lk 0LtbaExaLbob+FOCZSFAG74PRLzOaIkynWaQktp4= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180515123756eucas1p13aa18504a61097936a2fa09e44073290~u0a-cSBNL0322603226eucas1p1R; Tue, 15 May 2018 12:37:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 31.B6.10409.4A4DAFA5; Tue, 15 May 2018 13:37:56 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180515123755eucas1p278a9c1e9cb0101e406e3839e27f8b3b1~u0a_W-p3m0938109381eucas1p2w; Tue, 15 May 2018 12:37:55 +0000 (GMT) X-AuditID: cbfec7f5-b5fff700000028a9-11-5afad4a4a5d9 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 34.6C.04183.3A4DAFA5; Tue, 15 May 2018 13:37:55 +0100 (BST) Received: from amdc3058.localnet ([106.120.53.102]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P8R00MQ4SF75440@eusync1.samsung.com>; Tue, 15 May 2018 13:37:55 +0100 (BST) From: Bartlomiej Zolnierkiewicz To: Krzysztof Kozlowski Cc: Alim Akhtar , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: exynos: fix type of thermal trip points for Exynos7 Date: Tue, 15 May 2018 14:37:54 +0200 Message-id: <1702366.qL959G52Hi@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKIsWRmVeSWpSXmKPExsWy7djPc7pLrvyKMvh0W87iwbxtbBbnz29g t9j0+BqrxeVdc9gsPvceYbSYcX4fkwObx6ZVnWwem5fUe/RtWcXo8XmTXABLFJdNSmpOZllq kb5dAlfGsWvTmQr+CFQsuxrewHiJt4uRk0NCwETiz9fVLF2MXBxCAisYJab2XWaFcD4zSsxe cIAVpurIxaVQiWWMEn+2nwZLCAn8ZpTYOTkNxGYTsJKY2L6KEcQWEdCUuP73O1gDs8A6RomJ /UuYQRLCAkESjaeOM4HYLAKqEsu7DoLFeUEaGg6ygdiiAl4SW/a1M0HEBSV+TL7HAmIzC8hL 7Ns/lRXC1pE4e2wdI8gCCYEeNokVd6ZBneoicXhrNxuELSzx6vgWdghbRuLy5G4WiIZmRolv O/YwQyQmMErsWS8EYVtLHD5+EWoDn8SkbdOBajiA4rwSHW1QJR4Slxe/gtrlKDH9+UZmSEjE Sjxv3sY2gVFmFpK7ZyG5exaSuxcwMq9iFE8tLc5NTy02zkst1ytOzC0uzUvXS87P3cQIjPzT /45/3cG470/SIUYBDkYlHt4dM35GCbEmlhVX5h5ilOBgVhLh3W0EFOJNSaysSi3Kjy8qzUkt PsQozcGiJM4bp1EXJSSQnliSmp2aWpBaBJNl4uCUamBUu5+wszgyd47AmU/PD66QXfRmeYZE Sn1aSqnD9oetpxK2BBl+ZTI73FrZ6/pKvPNglfx3y5fTXrMvZXK46Ct1NKehzUJN9U3Qbeaf U+9d2/4t+sgtnjuPXH5Pvun/kO25gN/S01sMjjmoMb7sLWGo4v5mOvWYRf2N8o27s2bL5bN3 6646qHRUiaU4I9FQi7moOBEAwFtc3/gCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xy7qLr/yKMuifamDxYN42Novz5zew W2x6fI3V4vKuOWwWn3uPMFrMOL+PyYHNY9OqTjaPzUvqPfq2rGL0+LxJLoAlissmJTUnsyy1 SN8ugSvj2LXpTAV/BCqWXQ1vYLzE28XIySEhYCJx5OJS1i5GLg4hgSWMEr+e72QGSQgJ/GWU 2NRaDWKzCVhJTGxfxQhiiwhoSlz/+50VxGYWWMcoceuHJYgtLBAgsaLtHguIzSKgKrG86yDY HF6Q+oaDbCC2qICXxJZ97UwQcUGJH5Mh6pkF5CX27Z8KNVNLYv3O40wTGHlnISmbhaRsFpKy BYzMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3MQJDcNuxn1t2MHa9Cz7EKMDBqMTDu2PGzygh 1sSy4srcQ4wSHMxKIry7jYBCvCmJlVWpRfnxRaU5qcWHGKU5WJTEec8bVEYJCaQnlqRmp6YW pBbBZJk4OKUaGA/4OF8Org9V/Vg38/WPiwv5dqYKXWbNX81865Gfm/2PVOYD19Q+rC+6ULV5 q3+o8rbfbTxbPpyadytq1p9lu+777daxSq7VVPL49+NOfbJzQXl956FKjY+fdm86yGjOuS17 4s38XxK/nrY03j57+kbnnxyLpTd4rp5IOZbxQZux5yj7bcOPt+8osRRnJBpqMRcVJwIAnQul ij0CAAA= X-CMS-MailID: 20180515123755eucas1p278a9c1e9cb0101e406e3839e27f8b3b1 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180515123755eucas1p278a9c1e9cb0101e406e3839e27f8b3b1 X-RootMTR: 20180515123755eucas1p278a9c1e9cb0101e406e3839e27f8b3b1 References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently Exynos thermal driver treats as "active" all specified trip points before reaching maximum number of hardware supported trip points. Moreover polling-delay-passive is specified as "0" in exynos7.dtsi (IOW passive polling is disabled). Therefore fix type of cpu-alert-0 to cpu-alert6 trip points to be "active" instead of "passive" (cpu-alert-7 type is "critical" so it doesn't need a fixup). Cc: Alim Akhtar Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Index: b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi =================================================================== --- a/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi 2018-05-15 13:57:55.822172496 +0200 +++ b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi 2018-05-15 14:23:12.594016481 +0200 @@ -10,37 +10,37 @@ trips { cpu-alert-0 { temperature = <75000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-1 { temperature = <80000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-2 { temperature = <85000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-3 { temperature = <90000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-4 { temperature = <95000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-5 { temperature = <100000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-alert-6 { temperature = <110000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "passive"; + type = "active"; }; cpu-crit-0 { temperature = <115000>; /* millicelsius */