Received: by 10.223.185.116 with SMTP id b49csp3146815wrg; Sun, 18 Feb 2018 15:30:03 -0800 (PST) X-Google-Smtp-Source: AH8x224Cl7MquHTB4W1MX6g3bTma2+tjTfRGLcPCaq3kWnPK4U1HlcRU0TkNHF+vgKX5HxDZCrsZ X-Received: by 10.101.70.203 with SMTP id n11mr10413630pgr.377.1518996603290; Sun, 18 Feb 2018 15:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518996603; cv=none; d=google.com; s=arc-20160816; b=DHAniGsuN8L5kaOjHCEKJ+WRA9IfLoamd6fn/RBb++e+/EhIG3ti3XAbN3Mc6wpcCW mAcx78Q6dDnxiHMccSt2Slvq/38w5XyXt+mOx3tzxEUE3K7icIKFFiLIN0Ii0OhlKHci pc2AcTFmiTjj588ERAOmJWUFi7cH/y7hLdX2ateDSog1QHy0MhR0wHk2VHKeDupft/Ie qiGG18JfW2yzALxJGCXxg+BT8PpkDtsN/8SHKpWLUJvh/MmYuAPpTjDfKIZXr8IGcNdv xGSUCCpctTlfFHaGvNcfWgDb4IaUnB3LQ/aqpcGWfWmUL6XBirtKINkFTMA8ie/rx8+l WV9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=f4TH94JY2C9mwYPHOPyZlHREKGAb2GTta2MYs/DGvUI=; b=TfGea9njAWPrVvNXeY2c8F+6XNIPS/NZ28KanmxQOTRaBycUoI3+XJYUWfrw2GjZTv h+YIdTu2OmBIEW5E+qByKkJtjBR6ZsY8qVrqJxgLG60xfeH1u4UZ85QmXHzAYYvKqBDA m4V9p8/Zz/lj5H9wwaF5ZGsXntpkWDJE5AD6Ba1vQ731b6c+/XJHLXIwSVwfO4xioGBo 6fOXpkCEkELGxwDb4b7VEXQUj3plgWqj9Cd76WNSO/KHdVywXof4Qk4TcgC5ZL4SQilM rNhRopeMfnR1LfJIrmpFIPM2EFIOQhMxD053h35y8+375EvxzI8l96InsnEJEEWu/Kp8 ZtOw== ARC-Authentication-Results: i=1; mx.google.com; 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 w33-v6si2976634plb.419.2018.02.18.15.29.48; Sun, 18 Feb 2018 15:30:03 -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; 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 S1751862AbeBRX3K (ORCPT + 99 others); Sun, 18 Feb 2018 18:29:10 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36348 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbeBRX3I (ORCPT ); Sun, 18 Feb 2018 18:29:08 -0500 Received: by mail-oi0-f68.google.com with SMTP id 24so5985973oij.3; Sun, 18 Feb 2018 15:29:08 -0800 (PST) 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:user-agent; bh=f4TH94JY2C9mwYPHOPyZlHREKGAb2GTta2MYs/DGvUI=; b=cQ0NInlNij5TO2eENswhcfb8scWA4u0vjfLR+UA2MnQv5mSdQD+szsKfCWLiwHvKDV bFBF9iLLxDTqweDtNBXclh6Xy2YHpeEJRtMpatjQfuG+2jN8NNwf20gbvlk+EHAe9Si/ NngIz0Fwx1xbsNrigvi5CHeY8ISH0H3c7I4Jt32JwDMQNpkef+UEWRXSd7wLN6xClFT6 5Aw2j8ntXycZmilew4J0tARIwnw+r//2AjKTyjyNj+6YTSy9/O52ATS6FGW63yhagln5 no7Kpy3ELRjubZDydFJ/8gqRPw+DHMSpZHh/1xHBeDdT02qIS14ZsQdz5KmzCEPt75tp mGYQ== X-Gm-Message-State: APf1xPDPP/YSdBUCoItjML3Po0JmPa+4WZ9EkrwGx0c0jTzXwyDFTQC0 xfelclUHpMgKjJg2FjP1AA== X-Received: by 10.202.91.84 with SMTP id p81mr8616316oib.232.1518996547851; Sun, 18 Feb 2018 15:29:07 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id l4sm5426987otf.81.2018.02.18.15.29.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Feb 2018 15:29:07 -0800 (PST) Date: Sun, 18 Feb 2018 17:29:06 -0600 From: Rob Herring To: Viresh Kumar Cc: Rafael Wysocki , Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, Vincent Guittot , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties Message-ID: <20180218232906.jkpymin3a4qxjhnc@rob-hp-laptop> References: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.1518166039.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.1518166039.git.viresh.kumar@linaro.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 09, 2018 at 02:28:10PM +0530, Viresh Kumar wrote: > The "cooling-min-level" and "cooling-max-level" properties are not > parsed by any part of kernel currently and the max cooling state of a > CPU cooling device is found by referring to the cpufreq table instead. What about non-CPU devices? A fan for example. > > Remove the unused bindings. > > Signed-off-by: Viresh Kumar > --- > Documentation/devicetree/bindings/thermal/thermal.txt | 16 +--------------- > 1 file changed, 1 insertion(+), 15 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt > index 1719d47a5e2f..cc553f0952c5 100644 > --- a/Documentation/devicetree/bindings/thermal/thermal.txt > +++ b/Documentation/devicetree/bindings/thermal/thermal.txt > @@ -55,8 +55,7 @@ of heat dissipation). For example a fan's cooling states correspond to > the different fan speeds possible. Cooling states are referred to by > single unsigned integers, where larger numbers mean greater heat > dissipation. The precise set of cooling states associated with a device > -(as referred to by the cooling-min-level and cooling-max-level > -properties) should be defined in a particular device's binding. > +should be defined in a particular device's binding. > For more examples of cooling devices, refer to the example sections below. > > Required properties: > @@ -69,15 +68,6 @@ For more examples of cooling devices, refer to the example sections below. > See Cooling device maps section below for more details > on how consumers refer to cooling devices. > > -Optional properties: > -- cooling-min-level: An integer indicating the smallest > - Type: unsigned cooling state accepted. Typically 0. > - Size: one cell > - > -- cooling-max-level: An integer indicating the largest > - Type: unsigned cooling state accepted. > - Size: one cell > - > * Trip points > > The trip node is a node to describe a point in the temperature domain > @@ -226,8 +216,6 @@ cpus { > 396000 950000 > 198000 850000 > >; > - cooling-min-level = <0>; > - cooling-max-level = <3>; > #cooling-cells = <2>; /* min followed by max */ > }; > ... > @@ -241,8 +229,6 @@ cpus { > */ > fan0: fan@48 { > ... > - cooling-min-level = <0>; > - cooling-max-level = <9>; > #cooling-cells = <2>; /* min followed by max */ > }; > }; > -- > 2.15.0.194.g9af6a3dea062 >