Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5281873imm; Tue, 16 Oct 2018 07:58:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV61kvRvWF9btg0M44FXqsb2dCR09X5I+5khJne1jZmUgUzvBRLu/lVYdG7hHmCZ8nDkJZI8H X-Received: by 2002:a62:6506:: with SMTP id z6-v6mr22338022pfb.20.1539701919974; Tue, 16 Oct 2018 07:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539701919; cv=none; d=google.com; s=arc-20160816; b=UniDWxwMWrv7yFGorm3vKTSviy5PpstTqhe+W6lYtJatOBqM8oz6657SjTjNkcb6aK 17j9cDoPcCxG1nTPqtH1FOXa2zYG3+w6pz6Tas6sRDM53tevHMcyhX5nFA8XyOO125Wz nox0PBp0LPd+kNJr9wqDz9Tgta7M9GTLtpQwCbSVOGVuWwpv6Ke0XHX5lsMh3B4o7dx8 Xkh8njB8sAgzmuq63QC9LfE0hlGwWTKhOQqV2eU55LEDH5t/AgN2/qUXQqyEzBRkmfTG 1JxiDF0n5tutm+uwcEyfuxZMNFQmj2iKbMls+Du3R/vS0Oph6CInydD68NvXFhXqNCdj 9pJQ== 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:message-id :in-reply-to:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=BOkOCpgojR0VWlfu6jpqdT41Y6S6YdmRemCFrIlC7U0=; b=D+UwqlQHZKe3aZIC3Yj2CDhqtmBEUZR6nZDatCdzML29LRYcjtmpihwNcCqLtnC45/ a1pN/MNO6Bdw427hNQRQ0AjWrhB/zePIZY/WrIfZqMR6MPtQmzhg5tlYJVS5aFy9GAdn MFfUvV9SJqaMfHyXOHnlnSiU8IUP4NvlPNUdhPnI9c/wZA+amIiwvnR65HxWuFfb2Aj9 UC1HjlGdQ1n7xhkpsWVE1NoWjD4C2GJO3UgVxd9T+8TsWRjwF9yVo01k4URNBqhe/8bg NzEAPwTgYlOOZAYutkrHbppbV5BYSnb23Ax624dlZjlyjDr2Wj3fAuHK/RIhRzalK7Zp hC4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cuJu5FAN; 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 u10-v6si14547262plu.342.2018.10.16.07.58.24; Tue, 16 Oct 2018 07:58:39 -0700 (PDT) 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=cuJu5FAN; 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 S1727360AbeJPWrk (ORCPT + 99 others); Tue, 16 Oct 2018 18:47:40 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57205 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbeJPWri (ORCPT ); Tue, 16 Oct 2018 18:47:38 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181016145647euoutp011a446137d1168a2cfc224bfddc64fd4d~eHqL6LxAn0465204652euoutp01Q for ; Tue, 16 Oct 2018 14:56:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181016145647euoutp011a446137d1168a2cfc224bfddc64fd4d~eHqL6LxAn0465204652euoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539701807; bh=BOkOCpgojR0VWlfu6jpqdT41Y6S6YdmRemCFrIlC7U0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cuJu5FANaLYi9CruQUPudijSqiksDtcC8X0Vh1uufhWCXjR8sY2W15zWD8PSXNrzd YXtsHIzG6d7/X320sHme0bkLVgl20DXt0eBykuAcIuqUiIoQRhDii78LXYbAnKP4mK lHf3IXGHoGpGEU+tCljnd0fevJ0mWu+M4mtibx1I= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181016145647eucas1p29516ccf330c223a9e3e0da7c0db72f0c~eHqLHNCJ42490424904eucas1p20; Tue, 16 Oct 2018 14:56:47 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 55.C2.04441.E2CF5CB5; Tue, 16 Oct 2018 15:56:46 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181016145646eucas1p1bd4607c80258df10777ed111cf889fbc~eHqKU_F8K2225422254eucas1p1r; Tue, 16 Oct 2018 14:56:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181016145645eusmtrp291620498e8b72aa9116c2ef8e4093fff~eHqKGFXy33061930619eusmtrp2U; Tue, 16 Oct 2018 14:56:45 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-cc-5bc5fc2e30f7 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 1E.AA.04128.D2CF5CB5; Tue, 16 Oct 2018 15:56:45 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181016145645eusmtip238f12a9a5ecdce31860e26142dd6e19b~eHqJkEmd72715427154eusmtip2U; Tue, 16 Oct 2018 14:56:45 +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, Lukasz Luba Subject: [PATCH 05/11] Doc: DT: thermal: new irq-mode for trip point Date: Tue, 16 Oct 2018 16:56:16 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539701782-26852-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTYRjG+3a2s+NwepqaL2YKo6KyZkLQkUyK/OOQBEGElHSZebyQzrmj phY6gryhy7LUVKYySx2KeEXFInUm4i0vqa0izZkZZeC8pZl52qz/fu/leZ6Pj5fAJNUCFyJc EcOoFPIIKS7iN736OXBE9qsr8Khx0IOqza8RUKaXqYjSmvdQxYYBAVU8OiagjGpXqm56C0pT yvjUSGsRTpmzDIh6Oj7Eo+49Nwgp05QGPyWmq7RViG4p+CCkdW1zPLpOn47T78facLq+LJnW aXIEdPt8G4/WNOgRba5zOy+6LPIJZiLC4xiVp+91UVilbhBTFtnHL81Hq9Ej2wxkQwB5DN50 ZeEZSERIyAoE0/f7hJZiEcFy4ZK1MCPoW//M25asDWj5lkE5gtnaH/g/yebsDMpABIGTMmjW R3N9R7IQgfmF7q8VRvYgMJY38bglB9IPVrMVnCuf3AcbG53WBDd4O5COcWxD+oNxogTjtEC2 CiFLvyHkBmIyDjZyJ6wCP3iX+cnKDvC1u0FoYVfYbCm29lnoT9PjFr4DqT3N1p0T0Nk9JODe g5EHoabVk0MgT0Pj+jkL2sHE953cMraFD5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nNTk0tSC2C6WPi4JRqYFwTFXW0Z0NrjMpfhXXf3Vdvb5iSd9mk cW/zCfM0P9MK1tMpK5QZ3ZjO7vLwebVL7h1D/Cfnz/M0tvBcao/4GWJZyFB+SHRGNG+soJfq nA/qmYGvD27vsz7qoW8kKn2nNf8Ky4X9ifuq99j6fRFKeXA5lYnJff6rXN0qzicWs56Ubkj1 zzpyQYmlOCPRUIu5qDgRAOro82yhAgAA Message-Id: <20181016145646eucas1p1bd4607c80258df10777ed111cf889fbc~eHqKU_F8K2225422254eucas1p1r@eucas1p1.samsung.com> X-CMS-MailID: 20181016145646eucas1p1bd4607c80258df10777ed111cf889fbc X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181016145646eucas1p1bd4607c80258df10777ed111cf889fbc X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181016145646eucas1p1bd4607c80258df10777ed111cf889fbc References: <1539701782-26852-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 Thermal trip point gets new flag in DT: irq-mode. Trip point may have a new explicit flag which indicate irq support when the temperature is met (so the thermal framework deos not need set polling for it). It is useful for 'passive' cooling trip point, which now will not register for polling the temperature. Update documentation about irq-mode for trip points. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Lukasz Luba --- Documentation/devicetree/bindings/thermal/thermal.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index eb7ee91..c98a355 100644 --- a/Documentation/devicetree/bindings/thermal/thermal.txt +++ b/Documentation/devicetree/bindings/thermal/thermal.txt @@ -90,6 +90,10 @@ Required properties: "critical": Hardware not reliable. Type: string +- irq-mode: A flag indicating that trip rises irq, so there is no + Type: bool need of polling in thermal framework. + Size: one cell + * Cooling device maps The cooling device maps node is a node to describe how cooling devices @@ -256,16 +260,19 @@ thermal-zones { temperature = <90000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */ type = "active"; + irq-mode; }; cpu_alert1: cpu-alert1 { temperature = <100000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */ type = "passive"; + irq-mode; }; cpu_crit: cpu-crit { temperature = <125000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */ type = "critical"; + irq-mode; }; }; -- 2.7.4