| From ce62f35a087d27aa01d8d1bd8c933f067c880520 Mon Sep 17 00:00:00 2001 |
| From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= |
| <niklas.soderlund+renesas@ragnatech.se> |
| Date: Thu, 4 Jan 2018 17:03:19 +0100 |
| Subject: [PATCH 0950/1795] arm64: dts: renesas: r8a7795: add thermal cooling |
| management |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| Add nodes and properties for thermal cooling management support. |
| |
| Signed-off-by: Niklas Sรถderlund <niklas.soderlund+renesas@ragnatech.se> |
| Acked-by: Eduardo Valentin <edubezval@gmail.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 0c38c54ef9bc2a1062900adb01833e0b824f8462) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| arch/arm64/boot/dts/renesas/r8a7795.dtsi | 40 ++++++++++++++++++++++++ |
| 1 file changed, 40 insertions(+) |
| |
| diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi |
| index 1485e6a8e112..19b7de57704c 100644 |
| --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi |
| +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi |
| @@ -43,6 +43,7 @@ |
| enable-method = "psci"; |
| clocks =<&cpg CPG_CORE R8A7795_CLK_Z>; |
| operating-points-v2 = <&cluster0_opp>; |
| + #cooling-cells = <2>; |
| }; |
| |
| a57_1: cpu@1 { |
| @@ -54,6 +55,7 @@ |
| enable-method = "psci"; |
| clocks =<&cpg CPG_CORE R8A7795_CLK_Z>; |
| operating-points-v2 = <&cluster0_opp>; |
| + #cooling-cells = <2>; |
| }; |
| |
| a57_2: cpu@2 { |
| @@ -65,6 +67,7 @@ |
| enable-method = "psci"; |
| clocks =<&cpg CPG_CORE R8A7795_CLK_Z>; |
| operating-points-v2 = <&cluster0_opp>; |
| + #cooling-cells = <2>; |
| }; |
| |
| a57_3: cpu@3 { |
| @@ -76,6 +79,7 @@ |
| enable-method = "psci"; |
| clocks =<&cpg CPG_CORE R8A7795_CLK_Z>; |
| operating-points-v2 = <&cluster0_opp>; |
| + #cooling-cells = <2>; |
| }; |
| |
| a53_0: cpu@100 { |
| @@ -2418,12 +2422,24 @@ |
| thermal-sensors = <&tsc 0>; |
| |
| trips { |
| + sensor1_passive: sensor1-passive { |
| + temperature = <95000>; |
| + hysteresis = <2000>; |
| + type = "passive"; |
| + }; |
| sensor1_crit: sensor1-crit { |
| temperature = <120000>; |
| hysteresis = <2000>; |
| type = "critical"; |
| }; |
| }; |
| + |
| + cooling-maps { |
| + map0 { |
| + trip = <&sensor1_passive>; |
| + cooling-device = <&a57_0 4 4>; |
| + }; |
| + }; |
| }; |
| |
| sensor_thermal2: sensor-thermal2 { |
| @@ -2432,12 +2448,24 @@ |
| thermal-sensors = <&tsc 1>; |
| |
| trips { |
| + sensor2_passive: sensor2-passive { |
| + temperature = <95000>; |
| + hysteresis = <2000>; |
| + type = "passive"; |
| + }; |
| sensor2_crit: sensor2-crit { |
| temperature = <120000>; |
| hysteresis = <2000>; |
| type = "critical"; |
| }; |
| }; |
| + |
| + cooling-maps { |
| + map0 { |
| + trip = <&sensor2_passive>; |
| + cooling-device = <&a57_0 4 4>; |
| + }; |
| + }; |
| }; |
| |
| sensor_thermal3: sensor-thermal3 { |
| @@ -2446,12 +2474,24 @@ |
| thermal-sensors = <&tsc 2>; |
| |
| trips { |
| + sensor3_passive: sensor3-passive { |
| + temperature = <95000>; |
| + hysteresis = <2000>; |
| + type = "passive"; |
| + }; |
| sensor3_crit: sensor3-crit { |
| temperature = <120000>; |
| hysteresis = <2000>; |
| type = "critical"; |
| }; |
| }; |
| + |
| + cooling-maps { |
| + map0 { |
| + trip = <&sensor3_passive>; |
| + cooling-device = <&a57_0 4 4>; |
| + }; |
| + }; |
| }; |
| }; |
| |
| -- |
| 2.19.0 |
| |