Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3828268imu; Mon, 12 Nov 2018 00:52:10 -0800 (PST) X-Google-Smtp-Source: AJdET5d6AQUvZtpWyReuE9nr8aEi7pQkdgzRs8EoYAL4KYL70R44QuG9MJ9/Hths/gs8/riG2fU+ X-Received: by 2002:a17:902:4324:: with SMTP id i33-v6mr69517pld.253.1542012730909; Mon, 12 Nov 2018 00:52:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542012730; cv=none; d=google.com; s=arc-20160816; b=yIDg7jHIsTPBgyIynf+5zuq6auYhTszxNcSWmWuaCXYnKOJEg7utX+Rqy/brtyvngS 3J1Dpmr/6G2MpUBizhb/Z0HvkQSmX1TmxTkkWALDBcc2PT6bm2OXzlIuJs3PQCf8XAND wHGyHZ2zXLZX6RYvrJElKGoWCVOa1z5EkxjQ4rV9ZFxFyyGD0XDovetdr7bRL3BXpigy /vNybf+2uALFIylzTTQC/k3FrlEugs5BUCtXfYVYX0N7/xCvVJwmKicOC6ixBY/191A0 uq6fI6GZWIz6yjV5gg3G0qx8gPq39jky/9yMG/YTTsV61WLI7bMrMYpDEIG1u5Z99jE3 92Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=u3eb/Bv39EBxGITVyt2ugUY6ZR1P4lh68hyJs7RTrPM=; b=ew3SY1vS2xyjSibDLKyjgmpOz01h9o8M7Rit14JGxAGD9LrbwFg7siXY3ycEcACuy8 yJ4K93IUXp3RDeFAV8pW1fbvwtNEbwRM3j17OGst4kVQXxxt1kdOU0v6t+OD8yk613MH v0/rAJB8yI/OMxkLobmpW+8/LfePlwXLpyALp4zsji13nYmT3ZdMSZaOJA1GfAEPUXqt iaeyWsfKXVFtFgg+We8EGMHPtwK0jrvb1iUVvdJtMy+Nlhxma1iE9nHxWUvuFwrTsB9d oqfFbz4jIoZWYJ6vWQj77x9JcIZTNx8CJsQjp/nVhEYJb+/3Dfjb7m4jT8F8drXXHOKB Mc9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YVTEBggg; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3si16554542pga.297.2018.11.12.00.51.56; Mon, 12 Nov 2018 00:52:10 -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=@kernel.org header.s=default header.b=YVTEBggg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728832AbeKLSnf (ORCPT + 99 others); Mon, 12 Nov 2018 13:43:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:43036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbeKLSnf (ORCPT ); Mon, 12 Nov 2018 13:43:35 -0500 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FBEF223CB; Mon, 12 Nov 2018 08:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542012682; bh=32atDAVK8kDmfqg/3myjR3Mw8iFlsaExz9wi01JAhDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YVTEBggglmcwoNX/uNTpa3SINbJBtqiMbqhp0daOoqxHlfYWavvQUnJwWqaLEgErE /Y5LtFGIboK1g6VPEAdsB41FMKQirBlxaRPLzdF6s4jkCZicL3bvcXUGIJR8gH3GOL kdmJDYr6D1Mp4Zmp68KgL+5ZdTyrmXFy+5/Zi6hI= Received: by mail-lf1-f44.google.com with SMTP id h192so5576775lfg.3; Mon, 12 Nov 2018 00:51:22 -0800 (PST) X-Gm-Message-State: AGRZ1gJakXhdZ6obqIgiulU+e1sw4ghbfOWuT8IoSa8X7bahSN7DtLzb gCqP7iEA4ouGXvjywEoMuQKITxLlPYYlnOvlu4c= X-Received: by 2002:a19:a502:: with SMTP id o2mr68514lfe.92.1542012680474; Mon, 12 Nov 2018 00:51:20 -0800 (PST) MIME-Version: 1.0 References: <1541610593-28542-1-git-send-email-l.luba@partner.samsung.com> <1541610593-28542-6-git-send-email-l.luba@partner.samsung.com> In-Reply-To: <1541610593-28542-6-git-send-email-l.luba@partner.samsung.com> From: Krzysztof Kozlowski Date: Mon, 12 Nov 2018 09:51:09 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 05/11] Doc: DT: thermal: new irq-mode for trip point To: l.luba@partner.samsung.com Cc: 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, rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, =?UTF-8?B?QmFydMWCb21pZWogxbtvxYJuaWVya2lld2ljeg==?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Nov 2018 at 18:10, Lukasz Luba wrote: > Subject prefix: dt-bindings: thermal: > 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 to set polling for it). > It is useful for 'passive' cooling trip point, > which now will not register for polling the temperature. You wrap lines in weird way making it more difficult to read. I already asked about this while reviewing v1. Please fix it. https://elixir.bootlin.com/linux/latest/source/Documentation/process/submitting-patches.rst#L633 > > 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 ca14ba9..bee21e3 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 "rises IRQ" (it is an abbreviation). Best regards, Krzysztof > + 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 >