linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFD] DT binding for a new CPU cooling device
@ 2019-12-13 17:32 Daniel Lezcano
  0 siblings, 0 replies; only message in thread
From: Daniel Lezcano @ 2019-12-13 17:32 UTC (permalink / raw)
  To: Rob Herring, Linux Kernel Mailing List; +Cc: Linus Walleij


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-13 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 17:32 [RFD] DT binding for a new CPU cooling device Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).