Re: [PATCH 33/54] dt-bindings: thermal: Make trips node optional

From
Daniel Lezcano <hidden>
Date
2021-08-14 13:42:54
Also in
linux-arm-kernel, linux-devicetree
Reply to
Maxime Ripard, 2021-07-21
On 21/07/2021 16:04, Maxime Ripard wrote:
Even though the previous binding made it a required child node, the
implementation in Linux never made it mandatory and just ignored thermal
zones without trip points.

This was even effectively encouraged, since the thermal core wouldn't
allow a thermal sensor to probe without a thermal zone.

In the case where you had a thermal device that had multiple sensors but
with enough knowledge to provide trip points for only a few of them,
this meant that the only way to make that driver probe was to provide a
thermal zone without the trips node required by the binding.

This obviously led to a fair number of device trees doing exactly that,
making the initial binding requirement ineffective.

Let's make it clear by dropping that requirement.

Cc: Amit Kucheria <amitk@kernel.org>
Cc: Daniel Lezcano <redacted>
Cc: <redacted>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Maxime Ripard <redacted>
Applied, thanks!

  -- D.


-- 
<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
Thread (4 messages) 4 messages, 4 authors, last reply 2021-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help