Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1555948ybl; Tue, 3 Dec 2019 08:59:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxmoCjBT1xb2+DZPD3DAZijaT2RRfxQTh6oec4ptA7C6JO90iWuXeobSAW+gp9jRBDPtzUX X-Received: by 2002:a05:6830:15a:: with SMTP id j26mr3747148otp.137.1575392356950; Tue, 03 Dec 2019 08:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575392356; cv=none; d=google.com; s=arc-20160816; b=E0kHKK708bAk83x+VMcdGDroIHVZL+s8cE57VfZ8fTIoYBRT3u6yhjAWZX4RYvTh52 e+MZ0cVeUdLmqL9Bq3or9INV7d8SfVFCRxl3WR7OzUMwgjXPV3Em9mvJfP8efPL/8pjr HsIJYdD6rxbuNLC9qzic2M+bv1FCmGohkwNhNeZX8FTH3qDBqC2Pam1bSTd8RC6te0tu mdkSJqC8ybTmIHk6oRWx4WXs0oubAfLiujbSku2VPc78QaR6moo/kI77fKLzeVkOU+3U D2aKnuumgcxbsQ6/8XGGtkvidyu6i3J0NLIySXNlwbfJQTG9+SBdqO75ECBb5ib4KJAL eBKQ== 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=AcM7UEIp8ymleTTTyVFIALYBt+4goDjQpS4y6N2B+wI=; b=hp1HZA1KqWh4zEULBFoOEVJ9BSEUlrWIGcRNU5y+WWAbnhyA8IQQLkneDgTye5gHOm tYHAgG5dsqrIrWkZCvD54/TZy/rjyh2DVoI23pTnAai2tcnJlpg2oP+5/+3hRIxRzkoD PC2WjZWtNyqfuJufasbteLzWDi3najyw2lzUPDvAVSHMejhlhFSwjckl0Zu3I1o7JPyQ +WQuUwlex9o1EX0F5/59F53ZpfHei/LMShYBUOeYCkZe55vdlGcAvTB5N7+ZbBAZEu4o X9yfbl3qrj05pN0Nyn1ZGk9911iXsbi0OhguJN1pcfYGaUyerrcMflPr1ZM9mIF1T6et OPMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=uoPG9cTR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si315795otc.130.2019.12.03.08.59.04; Tue, 03 Dec 2019 08:59:16 -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=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=uoPG9cTR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbfLCQyK (ORCPT + 99 others); Tue, 3 Dec 2019 11:54:10 -0500 Received: from mail-vk1-f193.google.com ([209.85.221.193]:41538 "EHLO mail-vk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfLCQyK (ORCPT ); Tue, 3 Dec 2019 11:54:10 -0500 Received: by mail-vk1-f193.google.com with SMTP id p191so1259507vkf.8 for ; Tue, 03 Dec 2019 08:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AcM7UEIp8ymleTTTyVFIALYBt+4goDjQpS4y6N2B+wI=; b=uoPG9cTRt/hqq0DuB5ne0h2K4POk21yL2O8Fa6xz0FrVObCVI0zSRWTUcGvf4krFI/ asiNumPnrPNLb7J4jVBdwacvkkz384DBFcnw7JLMkl7zvQNAImvxP21kiwvtk4e2XxeN 9kI7AnlY7SAN8D7iwzo6JmHQGvQHxHq7oeT/P1vwBRWUmuNX/MSDJAk8mJKiOA9QTqhS JqeP6vA6UUUt7PMLJCfMTubv/VQLY3QEn8i/RNiwvMVecT/NMo1BCqWJVavnYqYI6Ogv 4pYiZcgGDJzgVPPp7Mfu4D8R5AFJNSw18GYlBT8lM77MTOqjwLCKpCZ6pJAKjrwCOpq7 JC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AcM7UEIp8ymleTTTyVFIALYBt+4goDjQpS4y6N2B+wI=; b=fxm0pBEiC2ZG/s7r/Ogrs+66lbykYWPy3LAI+DIj7efc1u8cjquN6wQwarT1QBtQvN Ab+s+eAdW2eZ/N8nDwZjXcza7bDTi4QKXGz2LNnyg342nbWvInW545FYLwThwkb5GMV9 QgHuLrUrlyiavNt7zWbMAhO+CjuSsMpsUy2pIxl9sbK5nOfunFuVwH4bBDXYGBcKCujO rBXz0f51WFFb0g3nZ6tr3RtcDTJEM+xHlXp+p+i4O/8Brp+w0Nd85rGrovFKowXMdEbB njvCvTrD1iVONHCnsCjvICeDPTIsjht3fmKc8gvBohdzq0fRu7HuxxTeS709vkSMaLd5 PoTg== X-Gm-Message-State: APjAAAXUnXawehI/SsqdU29ovffVmuDf2xZVLN+793HmdDTf8+TzzaTe 2GNac/AEZB5r+tKSTK4HEyJHcRmgugyLTwXG75OFGw== X-Received: by 2002:a1f:bdd0:: with SMTP id n199mr4259634vkf.86.1575392048634; Tue, 03 Dec 2019 08:54:08 -0800 (PST) MIME-Version: 1.0 References: <1568859503-19725-1-git-send-email-thara.gopinath@linaro.org> <1568859503-19725-2-git-send-email-thara.gopinath@linaro.org> In-Reply-To: <1568859503-19725-2-git-send-email-thara.gopinath@linaro.org> From: Amit Kucheria Date: Tue, 3 Dec 2019 22:23:57 +0530 Message-ID: Subject: Re: [PATCH 1/4] dt-bindings: thermal: Introduce monitor-falling parameter to thermal trip point binding To: Thara Gopinath Cc: Zhang Rui , Eduardo Valentin , Daniel Lezcano , Vincent Guittot , Bjorn Andersson , Rob Herring , Mark Rutland , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML 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 Thu, Sep 19, 2019 at 7:48 AM Thara Gopinath wrote: > > Introduce a new binding parameter to thermal trip point description > to indicate whether the temperature level specified by the trip point > is monitored for a rise or fall in temperature. > > Signed-off-by: Thara Gopinath > --- > Documentation/devicetree/bindings/thermal/thermal.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt > index ca14ba9..849a2a9 100644 > --- a/Documentation/devicetree/bindings/thermal/thermal.txt > +++ b/Documentation/devicetree/bindings/thermal/thermal.txt > @@ -90,6 +90,14 @@ Required properties: > "critical": Hardware not reliable. > Type: string > > +Optional property: > +- monitor-falling: Indicate whether the system action is kick Stray space after : > + Type: boolean started when the temperature falls below or rises Unnecessary tab after boolean (I'll fix up the rest of the file in the yaml conversion) I suggest not making this boolean. Just use the property as a flag by itself to denote a falling trip point. No need to deal with true/false values. Similarly, the sysfs file would show up only in case of a trip that sets this flag and just contain a 1, for example. > + above the trip temperature level indicated in > + "temperature".If true, the trip point is monitored Add space after full stop. > + for falling temperature else the trip point is > + monitored for rising temperature. > + > * Cooling device maps > > The cooling device maps node is a node to describe how cooling devices > -- > 2.1.4 >