From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties Date: Mon, 19 Feb 2018 09:13:38 +0530 Message-ID: <20180219034338.GI28462@vireshk-i7> References: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.1518166039.git.viresh.kumar@linaro.org> <20180218232906.jkpymin3a4qxjhnc@rob-hp-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180218232906.jkpymin3a4qxjhnc@rob-hp-laptop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Mark Rutland , devicetree@vger.kernel.org, Vincent Guittot , linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, Rafael Wysocki , linux-kernel@vger.kernel.org, Eduardo Valentin , Zhang Rui , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org On 18-02-18, 17:29, Rob Herring wrote: > 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. Even they aren't using these properties. The gpio-fan binding[1] for example uses the "gpio-fan,speed-map" property instead to find the number of states it supports. -- viresh [1] Documentation/devicetree/bindings/gpio/gpio-fan.txt