[RFD] DT binding for a new CPU cooling device

From: Daniel Lezcano
Date: Fri Dec 13 2019 - 12:32:43 EST



Hi,

currently the binding for a cooling device associated with a thermal
zone is a phandle to the cooling device itself, like:

cooling-device = <&cpu0 0 2>;
cooling-device = <&gpu0 0 2>;
cooling-device = <&lcd0 5 10>;
cooling-device = <&fan0 THERMAL_NO_LIMIT 4>;

In the case of the cpu, now we can mitigate by injecting idle period [1]
and this can co-exist with the existing DVFS mitigation (at different
trip point).

As it is not possible to use also a phandle to a CPU because the binding
is used by the DVFS cpu cooling device, does it make sense to refer to
an idle state? like:

cooling-device = <&CPU_SLEEP THERMAL_NO_LIMITE THERMAL_NO_LIMIT>;

Thanks in advance for any advice

-- Daniel

[1] https://lkml.org/lkml/2019/12/11/1902

--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog