aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyo Kataoka <ryo.kataoka.wt@renesas.com>2019-03-22 20:50:15 +0900
committerRyo Kataoka <ryo.kataoka.wt@renesas.com>2019-03-22 20:50:15 +0900
commita9580312f193558476af176c19090b2ad33a90a5 (patch)
tree9403d95fe14c5051ff1ea32f73b153d49acf8e94
parenta72b1f9180542c5ff64e2e2ca4c8fe3ebd0250d6 (diff)
parent70ddb0a1e168fbb1751618390b586d605d17a756 (diff)
downloadrenesas-bsp-a9580312f193558476af176c19090b2ad33a90a5.tar.gz
Merge branch 'rcar-3.9.2/ems.rc1' into v4.14.75-ltsi/rcar-3.9.3
* rcar-3.9.2/ems.rc1: thermal: renesas: Add some property descriptions for emergency shutdown node thermal: renesas: Add emergency shutdown support in DT documentation
-rw-r--r--Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
index 24fc7e34dd6dc..261c3fedcf298 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
@@ -55,3 +55,39 @@ Example:
};
};
};
+
+* Emergency shutdown for R-CAR Gen3
+Emergency shutdown functionality provides the specific cooling mechanism
+for R-CAR Gen3. In case of high temperature(e.g over 100 degrees),
+it has the ability to rapidly cool down the system.
+
+Required property:
+- polling-delay: The maximum number of milliseconds to wait between polls
+ Type: unsigned when checking temperature for emergency shutdown.
+ Size: one cell
+
+- on-temperature: This value indicates the emergency temperature and invokes
+ Type: unsigned emergency shutdown functionality when exceeding this
+ Size: one cell temperature.
+
+- off-temperature: This value indicates the temperature to disable emergency
+ Type: unsigned shutdown.
+ Size: one cell
+
+- status: Should be "disabled" always.
+ Type: string
+
+- target_cpus: This property indicates which CPU will be targeted for shutdown.
+ Type: phandle
+
+thermal-zones {
+ emergency {
+ polling-delay = <1000>; /* milliseconds */
+ on-temperature = <110000>; /* millicelsius */
+ off-temperature = <95000>; /* millicelsius */
+ target_cpus = <&a57_1>,
+ <&a57_2>,
+ <&a57_3>;
+ status = "disabled";
+ };
+};