Re: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties

From: Viresh Kumar
Date: Sun Feb 18 2018 - 22:43:46 EST


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