summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/thermal.txt
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2018-07-05 10:39:23 +0530
committerZhang Rui <rui.zhang@intel.com>2018-08-06 19:44:16 +0800
commitd7a4303b8d1fa6f60b73ed91317a51764a2a412c (patch)
treebe004c248879f80cdbcb2c6b796ac22c9844da28 /Documentation/devicetree/bindings/thermal/thermal.txt
parent5043f06ecec66410ba708e29ae0ab5333d2f15cb (diff)
dt-bindings: thermal: Allow multiple devices to share cooling map
Allow cooling devices sharing same trip point with same contribution value to share the cooling map as well. Otherwise the same information will be duplicated for each device sharing the trip point. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/thermal.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt
index cc553f0952c5..eb7ee91556a5 100644
--- a/Documentation/devicetree/bindings/thermal/thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/thermal.txt
@@ -97,8 +97,8 @@ get assigned to trip points of the zone. The cooling devices are expected
to be loaded in the target system.
Required properties:
-- cooling-device: A phandle of a cooling device with its specifier,
- Type: phandle + referring to which cooling device is used in this
+- cooling-device: A list of phandles of cooling devices with their specifiers,
+ Type: phandle + referring to which cooling devices are used in this
cooling specifier binding. In the cooling specifier, the first cell
is the minimum cooling state and the second cell
is the maximum cooling state used in this map.
@@ -276,12 +276,7 @@ thermal-zones {
};
map1 {
trip = <&cpu_alert1>;
- cooling-device = <&fan0 5 THERMAL_NO_LIMIT>;
- };
- map2 {
- trip = <&cpu_alert1>;
- cooling-device =
- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ cooling-device = <&fan0 5 THERMAL_NO_LIMIT>, <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};