[PATCH 1/2] dt-bindings: Add thermal zone to bcm2835-thermal example
Stefan Wahren
stefan.wahren at i2se.com
Sat Feb 4 06:16:26 PST 2017
Add a thermal zone in order to make the example complete.
Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
.../bindings/thermal/brcm,bcm2835-thermal.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
index 474531d..680aca9 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
@@ -10,6 +10,25 @@ clocks: Phandle of the clock used by the thermal sensor.
Example:
+thermal-zones {
+ gpu_thermal: gpu-thermal {
+ polling-delay-passive = <0>;
+ polling-delay = <1000>;
+
+ thermal-sensors = <&thermal>;
+
+ trips {
+ cpu-crit {
+ temperature = <80000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ cooling-maps {
+ };
+ };
+};
+
thermal: thermal at 7e212000 {
compatible = "brcm,bcm2835-thermal";
reg = <0x7e212000 0x8>;
--
1.7.9.5
More information about the linux-rpi-kernel
mailing list