From patchwork Wed Nov 7 17:09:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 10672667 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 2396D1751 for ; Wed, 7 Nov 2018 17:11:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 132F82CBC0 for ; Wed, 7 Nov 2018 17:11:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07C142CBF2; Wed, 7 Nov 2018 17:11:19 +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=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 E394B2CBCB for ; Wed, 7 Nov 2018 17:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731626AbeKHCmC (ORCPT ); Wed, 7 Nov 2018 21:42:02 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54862 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731573AbeKHCmC (ORCPT ); Wed, 7 Nov 2018 21:42:02 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181107171045euoutp01dfd42af6e46e50a10c87a0d58aec50a6~k5rbCLWQT2205222052euoutp014 for ; Wed, 7 Nov 2018 17:10:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181107171045euoutp01dfd42af6e46e50a10c87a0d58aec50a6~k5rbCLWQT2205222052euoutp014 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541610645; bh=0WFLEzAw2aavBK3I3OCjzkbVzKlMAaSYdb55506bcLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SHDKlaYFutykon+xuEEHvsJiXgW30bvazqNpKWALFkyIMVveyYuEUrBWG1DfQ+l/F YGXN4BDLjKbcTnYl51OaaRSrunHCOvZQmCnoIKiEuw+T3FRPSzu0bb0qq8nd7b3Acj KQd4vvTYJKUajhQnnn2TCa7abSLiRfyUY6PdaoJg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181107171044eucas1p13ae4deff325bdfcc14ed4cf1c1fea211~k5raMvwvk2318323183eucas1p1H; Wed, 7 Nov 2018 17:10:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 38.64.04294.39C13EB5; Wed, 7 Nov 2018 17:10:43 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181107171043eucas1p16be3fa901c7bceb129c70fc81dba6e48~k5rZfeL-_3085730857eucas1p1d; Wed, 7 Nov 2018 17:10:43 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181107171043eusmtrp1c9acb4456537ee03616de44eccab9dca~k5rZTgZXz2472624726eusmtrp1q; Wed, 7 Nov 2018 17:10:43 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-c8-5be31c930bb9 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EF.23.04128.39C13EB5; Wed, 7 Nov 2018 17:10:43 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181107171042eusmtip25b8b49cf290ae30058e6ad32c6256fe7~k5rYrNGek0340803408eusmtip2U; Wed, 7 Nov 2018 17:10:42 +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 08/11] arm: dts: exynos4: add support for thermal trip irq-mode Date: Wed, 7 Nov 2018 18:09:50 +0100 Message-Id: <1541610593-28542-9-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: H4sIAAAAAAAAA0WSWUwTQRzGnd3udluoWQqRCSKYRlFMBETBTTAGDSYbfPHBxCgPWmE5lAJ2 AS2aiCFyVECUoICmYDhba4CKiBxFCpEgSiEQbg9u1ECEIoI1KstWfft933z/YyZDoFIj5kJE xcQzyhh5tAwXC+perXXvzXWdDPF5v+hH1eRXYdTUyzRAaSzbqKL2bowq6h/AqNuTX1DKbK4W UiPJrpRhct16lFoqoPoaHuKUJasdUPlmI0KVDfYi1M3mdiE1NZ6NB5K0XqMH9IvCd0K6pOkT Qht0GTg9NtCE009Lr9Ml2bkY3brQhNDZtTpAWwxuJ8RnxIfCmOioREbpfficOPJHZzUe129/ pVU/iyWDbyI1EBGQPACT89eAGogJKVkJYMHEkE0sA7i0MGUTFgBzWqwCNSA2SobHdvB+BYDp GX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01lEVCVuH35DJjNK+Al8fT2bVaIDXISN891MoPYnALeEvMu vwXbLARU833WerYJjHwLGBlWMYqklhbnpucWG+kVJ+YWl+al6yXn525iBMbOtmM/t+xg7HoX fIhRgINRiYdXY8fDaCHWxLLiytxDjBIczEoivL2rH0UL8aYkVlalFuXHF5XmpBYfYjQFOmoi s5Rocj4wrvNK4g1NDc0tLA3Njc2NzSyUxHnPG1RGCQmkJ5akZqemFqQWwfQxcXBKNTDm/98l wKgz/cWN8iOCroduOsjwPE9hMFeryMqc5bPIZ0JA+G7p2cn3PxtPnp65zEgm50PO2m5jT52b ObEdVx97T8yxd970iP/4XrYb0+92RWzTib20d6bD+U+Fh0N3rLJvm/A7+fIVtysm5QuCV1Tb rWVRWJF7Q2Cft0LnZLY6qxtJx4U8TEyVWIozEg21mIuKEwFk1ewKswIAAA== X-CMS-MailID: 20181107171043eucas1p16be3fa901c7bceb129c70fc81dba6e48 X-Msg-Generator: CA X-RootMTR: 20181107171043eucas1p16be3fa901c7bceb129c70fc81dba6e48 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181107171043eucas1p16be3fa901c7bceb129c70fc81dba6e48 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/arm/boot/dts/exynos4-cpu-thermal.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi b/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi index 021d9fc..5e07289 100644 --- a/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi +++ b/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi @@ -17,22 +17,26 @@ thermal-zones { cpu_alert0: cpu-alert-0 { temperature = <70000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu_alert1: cpu-alert-1 { temperature = <95000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu_alert2: cpu-alert-2 { temperature = <110000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu_crit0: cpu-crit-0 { temperature = <120000>; /* millicelsius */ hysteresis = <0>; /* millicelsius */ type = "critical"; + irq-mode; }; }; cooling-maps {