lkml.org 
[lkml]   [2019]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFD] DT binding for a new CPU cooling device
Date

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

\
 
 \ /
  Last update: 2019-12-13 18:33    [W:0.024 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site