@@ -55,19 +55,11 @@ of heat dissipation). For example a fan's cooling states correspond to
5555the different fan speeds possible. Cooling states are referred to by
5656single unsigned integers, where larger numbers mean greater heat
5757dissipation. The precise set of cooling states associated with a device
58- (as referred to be the cooling-min-state and cooling-max-state
58+ (as referred to by the cooling-min-level and cooling-max-level
5959properties) should be defined in a particular device's binding.
6060For more examples of cooling devices, refer to the example sections below.
6161
6262Required properties:
63- - cooling-min-state: An integer indicating the smallest
64- Type: unsigned cooling state accepted. Typically 0.
65- Size: one cell
66-
67- - cooling-max-state: An integer indicating the largest
68- Type: unsigned cooling state accepted.
69- Size: one cell
70-
7163- #cooling-cells: Used to provide cooling device specific information
7264 Type: unsigned while referring to it. Must be at least 2, in order
7365 Size: one cell to specify minimum and maximum cooling state used
@@ -77,6 +69,15 @@ Required properties:
7769 See Cooling device maps section below for more details
7870 on how consumers refer to cooling devices.
7971
72+ Optional properties:
73+ - cooling-min-level: An integer indicating the smallest
74+ Type: unsigned cooling state accepted. Typically 0.
75+ Size: one cell
76+
77+ - cooling-max-level: An integer indicating the largest
78+ Type: unsigned cooling state accepted.
79+ Size: one cell
80+
8081* Trip points
8182
8283The trip node is a node to describe a point in the temperature domain
@@ -225,8 +226,8 @@ cpus {
225226 396000 950000
226227 198000 850000
227228 >;
228- cooling-min-state = <0>;
229- cooling-max-state = <3>;
229+ cooling-min-level = <0>;
230+ cooling-max-level = <3>;
230231 #cooling-cells = <2>; /* min followed by max */
231232 };
232233 ...
@@ -240,8 +241,8 @@ cpus {
240241 */
241242 fan0: fan@0x48 {
242243 ...
243- cooling-min-state = <0>;
244- cooling-max-state = <9>;
244+ cooling-min-level = <0>;
245+ cooling-max-level = <9>;
245246 #cooling-cells = <2>; /* min followed by max */
246247 };
247248};
0 commit comments