diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-02-09 03:58:10 -0500 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-04-18 10:04:28 -0400 |
commit | e04907dbc25930b88ee2328fe692c776f63ddf2c (patch) | |
tree | cb42b150a52b62e6e101b0b47b805e5939d3c12c | |
parent | 8b8b5903d50d6e4c5fd06272022b25a11c3214cf (diff) |
dt-bindings: thermal: Remove "cooling-{min|max}-level" properties
The "cooling-min-level" and "cooling-max-level" properties are not
parsed by any part of kernel currently and the max cooling state of a
CPU cooling device is found by referring to the cpufreq table instead.
Remove the unused bindings.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/thermal/thermal.txt | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index 1719d47a5e2f..cc553f0952c5 100644 --- a/Documentation/devicetree/bindings/thermal/thermal.txt +++ b/Documentation/devicetree/bindings/thermal/thermal.txt | |||
@@ -55,8 +55,7 @@ of heat dissipation). For example a fan's cooling states correspond to | |||
55 | the different fan speeds possible. Cooling states are referred to by | 55 | the different fan speeds possible. Cooling states are referred to by |
56 | single unsigned integers, where larger numbers mean greater heat | 56 | single unsigned integers, where larger numbers mean greater heat |
57 | dissipation. The precise set of cooling states associated with a device | 57 | dissipation. The precise set of cooling states associated with a device |
58 | (as referred to by the cooling-min-level and cooling-max-level | 58 | should be defined in a particular device's binding. |
59 | properties) should be defined in a particular device's binding. | ||
60 | For more examples of cooling devices, refer to the example sections below. | 59 | For more examples of cooling devices, refer to the example sections below. |
61 | 60 | ||
62 | Required properties: | 61 | Required properties: |
@@ -69,15 +68,6 @@ Required properties: | |||
69 | See Cooling device maps section below for more details | 68 | See Cooling device maps section below for more details |
70 | on how consumers refer to cooling devices. | 69 | on how consumers refer to cooling devices. |
71 | 70 | ||
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 | |||
81 | * Trip points | 71 | * Trip points |
82 | 72 | ||
83 | The trip node is a node to describe a point in the temperature domain | 73 | The trip node is a node to describe a point in the temperature domain |
@@ -226,8 +216,6 @@ cpus { | |||
226 | 396000 950000 | 216 | 396000 950000 |
227 | 198000 850000 | 217 | 198000 850000 |
228 | >; | 218 | >; |
229 | cooling-min-level = <0>; | ||
230 | cooling-max-level = <3>; | ||
231 | #cooling-cells = <2>; /* min followed by max */ | 219 | #cooling-cells = <2>; /* min followed by max */ |
232 | }; | 220 | }; |
233 | ... | 221 | ... |
@@ -241,8 +229,6 @@ cpus { | |||
241 | */ | 229 | */ |
242 | fan0: fan@48 { | 230 | fan0: fan@48 { |
243 | ... | 231 | ... |
244 | cooling-min-level = <0>; | ||
245 | cooling-max-level = <9>; | ||
246 | #cooling-cells = <2>; /* min followed by max */ | 232 | #cooling-cells = <2>; /* min followed by max */ |
247 | }; | 233 | }; |
248 | }; | 234 | }; |