From patchwork Wed Nov 7 17:09:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 10672649 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 408D51751 for ; Wed, 7 Nov 2018 17:10:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30DC32CB92 for ; Wed, 7 Nov 2018 17:10:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24BDC2CB9E; Wed, 7 Nov 2018 17:10:48 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 99F172CB92 for ; Wed, 7 Nov 2018 17:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731527AbeKHCmC (ORCPT ); Wed, 7 Nov 2018 21:42:02 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57282 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731570AbeKHCmA (ORCPT ); Wed, 7 Nov 2018 21:42:00 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181107171043euoutp02e10f2a2604b4ccf4155971cf7a5c6b3e~k5rZzQu4h0448104481euoutp02O for ; Wed, 7 Nov 2018 17:10:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181107171043euoutp02e10f2a2604b4ccf4155971cf7a5c6b3e~k5rZzQu4h0448104481euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541610643; bh=1sKQQ9HBtyWBDeRJiaiW2nZDp0IwV4UD2ezll2nOdGI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kVg2jShAzwjxhsQSk25F9sTYR8TgI/GaOQkBvyAqE2XZdVKDmdcmcK/zm3eUFUvON z+FwQNw5GWEb6FKo67NufN1KiPyhCZTsDvkSMCxrSZ363BG6B1yqkBYRGkIsffAKir qtcUmzRLVB8qLWPMkH2zMmsnyXgs64zsXt1VBbhw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181107171042eucas1p136cdbcdf2c359f023001c204ea5b49e3~k5rZFMa2p3085730857eucas1p1b; Wed, 7 Nov 2018 17:10:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id F6.64.04294.29C13EB5; Wed, 7 Nov 2018 17:10:42 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181107171042eucas1p1675eb589f3951e516461a0a775ee87da~k5rYd5JFx2717527175eucas1p1t; Wed, 7 Nov 2018 17:10:42 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181107171042eusmtrp1672314366d4e9e59191de155c267e49f~k5rYR_3Bs2472624726eusmtrp1p; Wed, 7 Nov 2018 17:10:42 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-c5-5be31c928371 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BE.23.04128.19C13EB5; Wed, 7 Nov 2018 17:10:42 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181107171041eusmtip22e1c5fbf86568bf0ce72853ac8a2b8e8~k5rXmmKT90341503415eusmtip2B; Wed, 7 Nov 2018 17:10:41 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, b.zolnierkie@samsung.com, krzk@kernel.org, Lukasz Luba , Kukjin Kim , linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 07/11] arm64: dts: exynos7: add support for thermal trip irq-mode Date: Wed, 7 Nov 2018 18:09:49 +0100 Message-Id: <1541610593-28542-8-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541610593-28542-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTYRjG+3Z2tuNy+TWlXtSMFqEGzcwuJ5UwEDqVf0hQRIK28qSSTt1R ywySvF8rjSYaU1FTlpdaZipT0rwg3i9ZmYKlmBkGOSvEajnPrP9+7/M+7/O+fHwUIWsh7akw VQyrVinD5SKJsKFrZXBfnuNMwP7X0wr6aUEdSc++TEO01riDLu4YIOnisXGSvjPzhaAHB5+I 6YlER1o/syaVppYL6dHmhyLamNOB6ILBVgFd8WZYQKe0dIjp2Q+5Ih/MVGurEdNUOCVmygyf BYxelyFiJscNIuZZ+S2mLDefZNq+GgRMbr0OMUa9k7/kgsQ7mA0Pi2PVbscuSkJfGCtR1Heb 67WpVaJENGCdiawowAchv7aHyEQSSoarEKz2lZB8sYzg/VK+pWNEUFv0m9gYmU/L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wgNouAqsSzbR0sIDavgJfEo3lvmSE2yEncPNcJZnMKeEvMu/wW bLMQUM33WevZJjDyLWBkWMUoklpanJueW2ykV5yYW1yal66XnJ+7iREYPduO/dyyg7HrXfAh RgEORiUeXo0dD6OFWBPLiitzDzFKcDArifD2rn4ULcSbklhZlVqUH19UmpNafIjRFOioicxS osn5wMjOK4k3NDU0t7A0NDc2NzazUBLnPW9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXAmLNvpiJ/ yP8dneJTl725uslocdyDhZ8rcg3CFjG+vZ3Hu6Uv79rFkgv3sqfdOBZ5tWTxbKN/DV03N9be vlHvdNVA8ZbbQQk78Q1sp99mJxwT67F5qDFzmUL5eaM5lStMOn0V9ujIm6bcvSz6VV05TY1X o4l54lWGzYHBVU0yN+yDSsQPVNW5KLEUZyQaajEXFScCAI54qLO0AgAA X-CMS-MailID: 20181107171042eucas1p1675eb589f3951e516461a0a775ee87da X-Msg-Generator: CA X-RootMTR: 20181107171042eucas1p1675eb589f3951e516461a0a775ee87da X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181107171042eucas1p1675eb589f3951e516461a0a775ee87da References: <1541610593-28542-1-git-send-email-l.luba@partner.samsung.com> 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 This patch adds support for new flag which indicates that trip point triggers IRQ when temperature is met. Change existing trip points to be expicitly marked with the new flag. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lukasz Luba --- arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi index d3301b8..39185af 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi @@ -11,40 +11,48 @@ trips { temperature = <75000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-1 { temperature = <80000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-2 { temperature = <85000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-3 { temperature = <90000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-4 { temperature = <95000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-5 { temperature = <100000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-alert-6 { temperature = <110000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu-crit-0 { temperature = <115000>; /* millicelsius */ hysteresis = <0>; /* millicelsius */ type = "critical"; + irq-mode; }; };