Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp525948pxk; Wed, 23 Sep 2020 09:05:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymZM2dLlO8HeayisPpAORrHXmo/LlT9ZjZxEVVx0SvcPEu74Bp+nJwl1ccEvhvT087pZvf X-Received: by 2002:a17:906:fb8f:: with SMTP id lr15mr348994ejb.25.1600877153198; Wed, 23 Sep 2020 09:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600877153; cv=none; d=google.com; s=arc-20160816; b=lH2daphcJOjCGeVC9DB8v8NiRSjbCxfr175JJ5wkya9KIifplup6Z1rrBHGDNFbhm7 7VHkSv2YvSQN7sqaeubXI4Ue51CWtuWZLvgaYKeDG2WMvQClVew7NfZbQRumz+c5NLJ4 yDiW3ajnHtb24Mg6RCoOCWcZmAgpZyszCWtHZvoPs6zTnDatIdd6T/syIS6YzeBz2QCI oD8w3M1Qb/csj+H1fTwr7UNxf/hUihBqX0veD2vzJ7+6vruAEtboqS/6FxLUHkN5Ax21 Nhy+1fTubVETCtDGRBHG05bDUSi1P7La3zXfLhBj6xc4quYUBxMK4uSlYiMyjpXG+kcs B1Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=f7oNf2n/2S4LdD+hJ5wvJbkdup7gyW0tYobtVU4/lCo=; b=PNavji2L17cdBl8Gap0HCW4G2VYSBlAzut9Ct7A5ByJwj5GVMqXFWdzFmzrws2+E+Z obRZnqoCMaQWgTDJQeJ+tJwf3bl7bBU67/7yeXpVlESDFssnbBibyUcv6vKVhSApg/qg mGZF7oYZAXOc4LPOwq3qulR+klfCXkQKJc/A6osvwGx+EJ52mKMhKM5MjHh/rq/e4GCC V9OXBEZBlXGpbtw5wh1JKUzQvt/xe01reQrx1pJEZv3bYfP3FhbzGYQnQdjjRhssZvmL iBVLsJ8sdHmFlBdkpS3lcQLoQu5FSYSV3sH0aU1DTMNUhJ0E4mUMgVkApPQh2LtHsexC Tixw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id u17si188204edr.266.2020.09.23.09.05.29; Wed, 23 Sep 2020 09:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726701AbgIWQDd (ORCPT + 99 others); Wed, 23 Sep 2020 12:03:33 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:41526 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgIWQDb (ORCPT ); Wed, 23 Sep 2020 12:03:31 -0400 Received: by mail-il1-f194.google.com with SMTP id f82so87460ilh.8; Wed, 23 Sep 2020 09:03:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f7oNf2n/2S4LdD+hJ5wvJbkdup7gyW0tYobtVU4/lCo=; b=LJxua3tbHd2IGS7253Qjbw6lZg6qeXG1jQn/HsZinU323Ehay5oRodKmTGClYHstgl lEuIXhDet/nt4yQjx4fd4QGoElccOnJ7DXI2w/IJwXrAwDkrhNuMZGY9OKIMuqxtKjS2 rc9eX4STQkTYRceH4zTR+Yr1ddzNu6pnIadQcTCGbLma1vmXR2dRIZzxkLjCOEVaOGgo LdXkd9UpBQXCZg5nxS/0u3ybqrNAeMZ9oxTFhkY7F8jlxuKLaNMj17LT1D23xb0hdFGI DSwwohR52Ubp0XEJwAYplruwZc8C9srqRg+TWk0xk1P0Th7wzpqM9wYfQtvFT0ktx8iq BUyA== X-Gm-Message-State: AOAM532hLT+wTZhwgfso4u4dmfww7avgJ4aCSQr5aPmByL+cCzNuRZVK gLLsa/EvjrYcHJCqiiogVw== X-Received: by 2002:a92:bb57:: with SMTP id w84mr421072ili.41.1600877010279; Wed, 23 Sep 2020 09:03:30 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id v24sm129353ioh.21.2020.09.23.09.03.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 09:03:29 -0700 (PDT) Received: (nullmailer pid 836373 invoked by uid 1000); Wed, 23 Sep 2020 16:03:28 -0000 Date: Wed, 23 Sep 2020 10:03:28 -0600 From: Rob Herring To: Thara Gopinath Cc: rui.zhang@intel.com, daniel.lezcano@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, lukasz.luba@arm.com, amitk@kernel.org Subject: Re: [PATCH RFC 1/8] dt-bindings: thermal: Introduce monitor-falling parameter to thermal trip point binding Message-ID: <20200923160328.GA833754@bogus> References: <20200917032226.820371-1-thara.gopinath@linaro.org> <20200917032226.820371-2-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200917032226.820371-2-thara.gopinath@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 16, 2020 at 11:22:19PM -0400, 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 > --- > .../devicetree/bindings/thermal/thermal-zones.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml > index 3ec9cc87ec50..cc1332ad6c16 100644 > --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml > +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml > @@ -161,6 +161,13 @@ patternProperties: > The active trip type can be used to control other HW to > help in cooling e.g. fans can be sped up or slowed down > > + monitor-falling: > + description: | > + boolean, If true, the trip point is being monitored for > + falling temperature. If false/absent/default, the trip > + point is being monitored for rising temperature. > + type: boolean What if you wanted to monitor for both? > + > required: > - temperature > - hysteresis > -- > 2.25.1 >