Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3365564imu; Wed, 7 Nov 2018 09:12:21 -0800 (PST) X-Google-Smtp-Source: AJdET5fT5Cf5q2f5JpE6+5T65iVCM1fP4KK3h+yHE/V/4LFntyzn4JWT1AzYh69c5yvR8h24BLdS X-Received: by 2002:a17:902:4165:: with SMTP id e92-v6mr1037605pld.209.1541610740999; Wed, 07 Nov 2018 09:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541610740; cv=none; d=google.com; s=arc-20160816; b=aQtEZLIPXE6mADd5NGOOLkKqnmlohENx9Od3fd9pehX659LRuB2gHJuKUQl9dgOi7N EsbxqKdR9evx6zdp+YONziAc7hISpQGVKZmpSHB/TglbU4tvy+k+X1g77H0aeeU9OryQ dTyE4yWXPVyo6a9qbT2Yta2TDr3dtfWpuHPgVHv2q8BEiIZBnhSP3UVQYL2Petx+1PYb LyVmlzpXhBDQP77aPTqOHMoDxnBBd2ffUrYzAWj23q38E23Aec9N76Sp9T3+22Ucliqd R9Ot7L5FDjQvam+hb+V997ixL38b2OKNIKK+sTfz2kmkBvfi2SsC4aSFt1R7o959LY9a 1IQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=0WFLEzAw2aavBK3I3OCjzkbVzKlMAaSYdb55506bcLQ=; b=jGl5r7WxT+Jros6ofWpHQdsZ3Xt5NEGVT3cqlXT0bYomUihz7bQ3d3UiuONmviD8y8 Rhl9nzXPiw7L9v+zG79NSbTH4U/uO1+Qp3CjVrt71Snn6pFnPYjqRp8GBq8FlcehehbS WUgW+sxBazgTLlCPQKwuF+kSmG4csFzYguaTVaFT76dlxxiWJ6gdHSLGU6OKCweGIOqy V2OZuVKGjCrd7KaAJUechQXjffoPJ1P/mOt938zVx7+xvY88hdjQ0oHoMNg6nONQcvKm nv93mbfC6WqAkJLJd9mgJ5gHmn6tbZdD3NP/c10UItPCSUQjWRAxgdC7T07M3Jaj5N9g x5MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=SHDKlaYF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z126-v6si1169959pfb.280.2018.11.07.09.12.05; Wed, 07 Nov 2018 09:12:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=SHDKlaYF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731643AbeKHCmC (ORCPT + 99 others); Wed, 7 Nov 2018 21:42:02 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57233 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731542AbeKHCmC (ORCPT ); Wed, 7 Nov 2018 21:42:02 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181107171045euoutp02ac2675c66e851108705eb0b8325a4360~k5rbAOLw30522705227euoutp02z for ; Wed, 7 Nov 2018 17:10:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181107171045euoutp02ac2675c66e851108705eb0b8325a4360~k5rbAOLw30522705227euoutp02z 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 GXPYv4pOaxHgQjjpBet1lzjfiXwAoMVYIuQEShYjcNH6RMANdyRPwlvlRoRjAbkTjva9wTmW kMFwenQU4xd0g8PdGSjHIvI41PTNbzSC5IAQTq80CvlQEDQ/L0N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XY8fDaCHWxLLiytxDjBIczEoivL2rH0UL8aYkVlalFuXHF5XmpBYfYjQFOmoi s5Rocj4wrvNK4g1NDc0tLA3Njc2NzSyUxHnPG1RGCQmkJ5akZqemFqQWwfQxcXBKNTDm/98l wKgz/cWN8iOCroduOsjwPE9hMFeryMqc5bPIZ0JA+G7p2cn3PxtPnp65zEgm50PO2m5jT52b ObEdVx97T8yxd970iP/4XrYb0+92RWzTib20d6bD+U+Fh0N3rLJvm/A7+fIVtysm5QuCV1Tb rWVRWJF7Q2Cft0LnZLY6qxtJx4U8TEyVWIozEg21mIuKEwFk1ewKswIAAA== X-CMS-MailID: 20181107171043eucas1p16be3fa901c7bceb129c70fc81dba6e48 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 { -- 2.7.4