Skip to content

Commit fd96a31

Browse files
andynxpdlezcano
authored andcommitted
dt-bindings: thermal: make cooling-maps property optional
Cooling-maps doesn't have to be a required property because there may be no cooling device on system, or there are no enough cooling devices for each thermal zone in multiple thermal zone cases since cooling devices can't be shared. So make this property optional to remove such limitations. For thermal zones with no cooling-maps, there could be critic trips that can trigger CPU reset or shutdown. So they still can take actions. Signed-off-by: Yuantian Tang <[email protected]> Reviewed-by: Amit Kucheria <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 01c354e commit fd96a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/thermal/thermal.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ Required properties:
142142
- trips: A sub-node which is a container of only trip point nodes
143143
Type: sub-node required to describe the thermal zone.
144144

145+
Optional property:
145146
- cooling-maps: A sub-node which is a container of only cooling device
146147
Type: sub-node map nodes, used to describe the relation between trips
147148
and cooling devices.
148149

149-
Optional property:
150150
- coefficients: An array of integers (one signed cell) containing
151151
Type: array coefficients to compose a linear relation between
152152
Elem size: one cell the sensors listed in the thermal-sensors property.

0 commit comments

Comments
 (0)