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: 10400957 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 DE314601F9 for ; Tue, 15 May 2018 12:38:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9B83287AA for ; Tue, 15 May 2018 12:38:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD692287AC; Tue, 15 May 2018 12:38:32 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 41EEC287AA for ; Tue, 15 May 2018 12:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-version:Message-id:Date :Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=2aaNp9MMcATeWYO7av7JWt69rOK1ct9LB8mug37q1ys=; b=UYhSBhPuIu1zLK U56e522GDoqQ+CtRzp+22w3ycp3rXOZME+q37YXUY3i8bH+DCNdKmTjcgrbXb/XBRK0H/7l+WF/WS T/0tNohBz6ZIqJD9AqZRPw/FjbYOsFCuUez5oF9Pdl3q66KxnCsRlacFYpaxSI8b1ks7tABykSUUR PXVdr2D0AkPPTpOnvV2EilawbQ6p2sUQnUCwfAUuC+5xN+cFlzK2VwpvChhl6NQc4ZOgaXoS7NaD8 BBpxppyfAreRuz9eKlVnNrsiSeHPRU4Y1JoZptW0zctA+o+vsQK+hFNhZkzwaMOJdzn0UK5tNpUyp EtpCiysfsDTzqC2H2siQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIZDg-0001NU-2e; Tue, 15 May 2018 12:38:20 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIZDb-0000yT-Pm for linux-arm-kernel@lists.infradead.org; Tue, 15 May 2018 12:38:17 +0000 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 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 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKIsWRmVeSWpSXmKPExsWy7djPc7pLrvyKMvh0W87iwbxtbBbnz29g t9j0+BqrxeVdc9gsPvceYbSYcX4fkwObx6ZVnWwem5fUe/RtWcXo8XmTXABLFJdNSmpOZllq kb5dAlfGsWvTmQr+CFQsuxrewHiJ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6pkF5CX27Z8KNVNLYv3O40wTGHlnISmbhaRsFpKy 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180515_053816_010392_07B262D4 X-CRM114-Status: GOOD ( 15.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alim Akhtar , linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 */