Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3365483imu; Wed, 7 Nov 2018 09:12:17 -0800 (PST) X-Google-Smtp-Source: AJdET5fhGsQydMVdj93A6Jb6dbH1nPn39Fj8ckAI+uoLC2rRU688h8uoDQHZoKRA0i1Jdv6L/1sf X-Received: by 2002:a63:1f1c:: with SMTP id f28mr860536pgf.193.1541610737144; Wed, 07 Nov 2018 09:12:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541610737; cv=none; d=google.com; s=arc-20160816; b=Rp2fNRwKzDIgCDnCR3QIsIluv28SOIwxxzaspWNQ0egoaFlqlNoYN0rYQkKQH2UK8t 1yuUvFJDlzHj2a+BNS2QvTPqjTj3S93sEhWWAjEezkjCL/74T4OQLKJwFCXsc2NwQrIv YiQfQSifMsYGBQ/zEzwG7ulzGjNKsqdnNvPW5OGM69WVn5PpFE4AWeOFIGdoJM2DUYls KcGFfxmhEwqg8QD7EtUC6Ivt220LNwLF7KeRmmu5B1SMrjSnm4I8yPMk0b/5fz2+VUAm JtsWoWXQVFY16TwSpscH6QX1YBPfdhgtxSx9vbePKUTWjXL7/11S6O7Dkj5QYGhcPCb6 V3EA== 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=7wpBMAvXa5tM9FimGk9u449eww/CHKCAsVOJ9u7rXVk=; b=Z6OwcZNAROt+xjdu+lSpqih5zsw5KZamkDWW4q8XdpYRbdv1vqNXMglRqhoowzAcwU EwL+X+YUH5GJm1p09pqZEdrbKUDl5YRUUEDSrYQ2XAZuGo/xjXfFdaW2nyZfj8FGnaQZ Clquw8D7PbTeV6weYEea5pvX+qPlqhdSPe925u3qbcs6bSm5hEDEzXRx+rcVPKYY29FJ +wp68qGgQsQ5+d1PJ5MNdykz8ytxuS9HcrIKb/IyWWGSf3x5htCAi4Yqp3JTxRrpHWE5 6B/+JYW0uuCLLP1E+WA95mJUHFvMgnvXOXCZ/dWkZ6B3hjDX2W349Zlk/5WBWiFRucJC j6AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=KOkNLO6o; 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 k6si1081167pgr.500.2018.11.07.09.12.02; Wed, 07 Nov 2018 09:12:17 -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=KOkNLO6o; 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 S2387689AbeKHCmD (ORCPT + 99 others); Wed, 7 Nov 2018 21:42:03 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57284 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731600AbeKHCmD (ORCPT ); Wed, 7 Nov 2018 21:42:03 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181107171046euoutp023e7b72e4e4841ec54b27743aa6a2407c~k5rb85M340522705227euoutp021 for ; Wed, 7 Nov 2018 17:10:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181107171046euoutp023e7b72e4e4841ec54b27743aa6a2407c~k5rb85M340522705227euoutp021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541610646; bh=7wpBMAvXa5tM9FimGk9u449eww/CHKCAsVOJ9u7rXVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KOkNLO6oTv1v1T9weJCHKvsvJilNNgZwS6JY/n3EfT9H0CQGMAACPm979yozKrZBM IGr0KRMF5vxi/7oroezUmNrvNm14Bue42ktTz0wADRAoI1ytpJHRIn5SL95punBtp1 cvoiF0utgWVBNojGIYwEJL07xQE3BKutI0o8Jcrw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181107171045eucas1p2095285d9bc3eb48dfcccb75a45883f64~k5rbUXkRQ2800528005eucas1p2R; Wed, 7 Nov 2018 17:10:45 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 49.64.04294.59C13EB5; Wed, 7 Nov 2018 17:10:45 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181107171044eucas1p198434e21cf21ee754302615a6a8f3c20~k5rahNs_f2903729037eucas1p1h; Wed, 7 Nov 2018 17:10:44 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181107171044eusmtrp1b841c5c4c0a7094f01931a88ad14016e~k5raVGZNv2472724727eusmtrp1n; Wed, 7 Nov 2018 17:10:44 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-ca-5be31c9552e5 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F0.33.04128.49C13EB5; Wed, 7 Nov 2018 17:10:44 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181107171043eusmtip2645b143696bfc3435d82bcf4f59368da~k5rZtA12x0341503415eusmtip2C; Wed, 7 Nov 2018 17:10:43 +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 09/11] arm: dts: exynos5420: add support for thermal trip irq-mode Date: Wed, 7 Nov 2018 18:09:51 +0100 Message-Id: <1541610593-28542-10-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+85lO04Xpyn54S1ZhF3IS0geKCJJ4kB0sYIgoVp5UMup7ehq KmR4X2p5F8u5UHPMiZeWzGupw1GS97xmaDPISq1mf4QmbZ6J//2+532e54WXj0BFnbgbERUT z8hiJNFingBr6fs7cLjYwxzmPzxKUE1lDTi18CYTUCqLJ1VpHMCpyrFxnHps/o5Sg4ONfGo6 xYNqNlul5xnVGDXa9oxHWXKNgCob7EKomolhhErvNPKphfk83kmS1ql0gG4tn+XTVR2LCN2s zebRH8c7ePTL6gd0VV4hTncvdyB0nl4LaEuz1wXBVcHxcCY6Ss7I/E7cEER2lqp5cWbH+wbL CpoC+hyUwIGAZCBcrhlAlEBAiEgNgOs/unHusQpgkabaPrEAaMiYAVuRd6kf+NygFkCNWbsd eT1fgCkBQfBIX2jQ3rXpLuRTAC1dVZsJlFQj8NdaPWarciavwN+LlYiNMXIfLFTX8W1hIXkG ZmtOc9u84NRANmpjB6usGl3a7IHkCB/Opo7xOFMInOwqs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2vQs+ xCjAwajEw6ux42G0EGtiWXFl7iFGCQ5mJRHe3tWPooV4UxIrq1KL8uOLSnNSiw8xmgLdNJFZ SjQ5HxjXeSXxhqaG5haWhubG5sZmFkrivOcNKqOEBNITS1KzU1MLUotg+pg4OKUaGPt3NP0P m8Ds6h/J99mh0TiijGuTYsfEGpPtWsf27Uur25gis0xxf59W5WnzBg6v15NeFW88ox70V/0t Q7/1uS8LH+3ev/xFrILKgpx2R4uI/RXzvjAkOy+qUli1Pi+Ml/HOl+QFEnNf2q9a/nFL94V7 B59/XMp2t9zpWtxr/dM5Og12dkYGJ5VYijMSDbWYi4oTAV7BuY2zAgAA X-CMS-MailID: 20181107171044eucas1p198434e21cf21ee754302615a6a8f3c20 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181107171044eucas1p198434e21cf21ee754302615a6a8f3c20 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181107171044eucas1p198434e21cf21ee754302615a6a8f3c20 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/exynos5420-trip-points.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-trip-points.dtsi b/arch/arm/boot/dts/exynos5420-trip-points.dtsi index a67a3807..9e16970 100644 --- a/arch/arm/boot/dts/exynos5420-trip-points.dtsi +++ b/arch/arm/boot/dts/exynos5420-trip-points.dtsi @@ -11,21 +11,25 @@ trips { cpu-alert-0 { temperature = <85000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu-alert-1 { temperature = <103000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu-alert-2 { temperature = <110000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ - type = "active"; + type = "passive"; + irq-mode; }; cpu-crit-0 { temperature = <120000>; /* millicelsius */ hysteresis = <0>; /* millicelsius */ type = "critical"; + irq-mode; }; }; -- 2.7.4