Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp105946pxk; Wed, 16 Sep 2020 20:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdNekA44/Lgp3AQVlLIllF+V1YfxPuDDjdifuc2T1FYzROm+jLgdFzXkZipWRzWavsefcy X-Received: by 2002:a17:906:aec1:: with SMTP id me1mr11800919ejb.225.1600313389052; Wed, 16 Sep 2020 20:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600313389; cv=none; d=google.com; s=arc-20160816; b=pO7fJ7XCGXT8RwSMfyrABP0HR4QvMuzIXt/oLX2YfHkNTVUIpbbFhUJ7hRwlIymPw8 9FazRpZsQfy6w/mMc32zslg+CCTsNWxKR330i13WF4671ooyqJT2Hl963zIgmemrcL+1 y6bmLqGjNL1fbWyG9Tg8IHe/p12LGkJldYiGKN0mmF2X/pHxXiw74/hXFOigPeoNcPNB DUnkHS6kdSe2tf4DRaToWTJQX0SlnoZms5dKI6MjzP8uyCti1UfzwcJk6uufgfgZrtxe YrLBHG3IibxgpPbWO4llsTVDhHiyx8BVowMjaeD7IXM/x41e/f1qOa+G+r/zdiVqMUaL 4qyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gOjR8vxr5WwVeS1m/lfV7tbojY1ErwXvE0dsI9QW/uo=; b=UteTva1W+Q3c5fENA+52BTgJYTx8lSdXti4S5zbeuCtGolHGo8Yj7DArDl29dsQisc EXrqmEk3VnI978otS41LtqrnH/RJ/HHnN2NC6/rYjvqsLDFfN4Z+pEebmR3xWh1+qyC5 9qFkHX8H780pThT4/wDX6ev9UBLO2NtESArGu7/r7hdxNGA1MeusgPvogkuFKNl68IIU nQYXEUiLKbVqLZs75hyAgVIAi2lZlua5f6vdBsai2+30QyOyUU6yyeWeE/68hHg8MfKc QKT0loUyzbyb0y5rsJQp6CStX9J3yKcDt5tNI9ScBy7rrvOmMZduH0ONwujHYKnD83fA m6bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kPWL4eCu; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bv14si13481799ejb.249.2020.09.16.20.29.26; Wed, 16 Sep 2020 20:29:49 -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; dkim=pass header.i=@linaro.org header.s=google header.b=kPWL4eCu; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725267AbgIQD2K (ORCPT + 99 others); Wed, 16 Sep 2020 23:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbgIQD2E (ORCPT ); Wed, 16 Sep 2020 23:28:04 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C41FBC06178C for ; Wed, 16 Sep 2020 20:22:29 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id t138so900551qka.0 for ; Wed, 16 Sep 2020 20:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gOjR8vxr5WwVeS1m/lfV7tbojY1ErwXvE0dsI9QW/uo=; b=kPWL4eCuolVXw35vyUzORP0/S/rIAepUZMAvp7ZZdAhaDRpkH1E25kh74NGxkqvub6 EHm7NsrHU7o8gAX4/7USoUt2l7awOKN6znJPoujEb9pcEkXkf6C0D+fZuW4s0eA0dKsL pYXjrlIcUsEe2LpunJ4kvAnWvvQSJ0NCJSXQ4dZ8R62GQw9TYY0cgCnEM+cmgHMfsMIu kLYLB+SnzfkuWKUf2lRGiJxt4TWy94+YT0h203bINrOr9nJvTELxnsSvjonnFlzPTfwb wyJcbIu0O1rtvGkQT61nfZ0I77Foo3LV8MySGrc2Vvt7r7QD1ULzvuaTFiGDgnFfq+/5 DTHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gOjR8vxr5WwVeS1m/lfV7tbojY1ErwXvE0dsI9QW/uo=; b=NtyAJ2CWV+YEHQ+oHfuMpTNeQ6CjJV727uMxaX/iZktYLIc7YYwZ5k7F6eKeSqEWnf xCFFzhvbr7NeDTQKT6lVh0cVEP+xH9Pd8oXDFrT0/zllkmD55oRgjIFPSTFsmSSJXPbe AxLmkfp3K+MVA+n1SynjnYBJO0QkDjEy/p9Bf2aOC6gxNIibPDdcvlRjNF0ZmahNPMVO xrkrUKCWLLYrrF2ATc3sjBXHCWZpfcp/XXBk5aaPUrnJjXemiWwQRHZ0OqApysgbWzf8 9sYs0XV2Vv0jaX4GbV/o78LpSS2cIZvFlPnFd4zSuea3YN3fyAoF8U7pvF0thcm5nrAw ZeBg== X-Gm-Message-State: AOAM530X0at8OEX56tEfCUM477Gm8K5X+ZMURhqoOIOMPNQ2kcNx6t8g yLzJ1o4x1Cf8pndpMIe/Yrofhg== X-Received: by 2002:a37:5042:: with SMTP id e63mr25056428qkb.453.1600312948930; Wed, 16 Sep 2020 20:22:28 -0700 (PDT) Received: from pop-os.fios-router.home (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.googlemail.com with ESMTPSA id g45sm21370801qtb.60.2020.09.16.20.22.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 20:22:28 -0700 (PDT) From: Thara Gopinath To: rui.zhang@intel.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: 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: [PATCH RFC 1/8] dt-bindings: thermal: Introduce monitor-falling parameter to thermal trip point binding Date: Wed, 16 Sep 2020 23:22:19 -0400 Message-Id: <20200917032226.820371-2-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200917032226.820371-1-thara.gopinath@linaro.org> References: <20200917032226.820371-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + required: - temperature - hysteresis -- 2.25.1