Commit 479e5d70 authored by Niklas Söderlund's avatar Niklas Söderlund Committed by Simon Horman

arm64: dts: renesas: r8a7796: add thermal cooling management

Add nodes and properties for thermal cooling management support.
Signed-off-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: default avatarEduardo Valentin <edubezval@gmail.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent da7e3113
...@@ -73,6 +73,7 @@ a57_0: cpu@0 { ...@@ -73,6 +73,7 @@ a57_0: cpu@0 {
enable-method = "psci"; enable-method = "psci";
clocks =<&cpg CPG_CORE R8A7796_CLK_Z>; clocks =<&cpg CPG_CORE R8A7796_CLK_Z>;
operating-points-v2 = <&cluster0_opp>; operating-points-v2 = <&cluster0_opp>;
#cooling-cells = <2>;
}; };
a57_1: cpu@1 { a57_1: cpu@1 {
...@@ -84,6 +85,7 @@ a57_1: cpu@1 { ...@@ -84,6 +85,7 @@ a57_1: cpu@1 {
enable-method = "psci"; enable-method = "psci";
clocks =<&cpg CPG_CORE R8A7796_CLK_Z>; clocks =<&cpg CPG_CORE R8A7796_CLK_Z>;
operating-points-v2 = <&cluster0_opp>; operating-points-v2 = <&cluster0_opp>;
#cooling-cells = <2>;
}; };
a53_0: cpu@100 { a53_0: cpu@100 {
...@@ -2060,12 +2062,24 @@ sensor_thermal1: sensor-thermal1 { ...@@ -2060,12 +2062,24 @@ sensor_thermal1: sensor-thermal1 {
thermal-sensors = <&tsc 0>; thermal-sensors = <&tsc 0>;
trips { trips {
sensor1_passive: sensor1-passive {
temperature = <95000>;
hysteresis = <2000>;
type = "passive";
};
sensor1_crit: sensor1-crit { sensor1_crit: sensor1-crit {
temperature = <120000>; temperature = <120000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
map0 {
trip = <&sensor1_passive>;
cooling-device = <&a57_0 5 5>;
};
};
}; };
sensor_thermal2: sensor-thermal2 { sensor_thermal2: sensor-thermal2 {
...@@ -2074,12 +2088,24 @@ sensor_thermal2: sensor-thermal2 { ...@@ -2074,12 +2088,24 @@ sensor_thermal2: sensor-thermal2 {
thermal-sensors = <&tsc 1>; thermal-sensors = <&tsc 1>;
trips { trips {
sensor2_passive: sensor2-passive {
temperature = <95000>;
hysteresis = <2000>;
type = "passive";
};
sensor2_crit: sensor2-crit { sensor2_crit: sensor2-crit {
temperature = <120000>; temperature = <120000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
map0 {
trip = <&sensor2_passive>;
cooling-device = <&a57_0 5 5>;
};
};
}; };
sensor_thermal3: sensor-thermal3 { sensor_thermal3: sensor-thermal3 {
...@@ -2088,12 +2114,24 @@ sensor_thermal3: sensor-thermal3 { ...@@ -2088,12 +2114,24 @@ sensor_thermal3: sensor-thermal3 {
thermal-sensors = <&tsc 2>; thermal-sensors = <&tsc 2>;
trips { trips {
sensor3_passive: sensor3-passive {
temperature = <95000>;
hysteresis = <2000>;
type = "passive";
};
sensor3_crit: sensor3-crit { sensor3_crit: sensor3-crit {
temperature = <120000>; temperature = <120000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
map0 {
trip = <&sensor3_passive>;
cooling-device = <&a57_0 5 5>;
};
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment