summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2016-11-02 13:18:21 +0300
committerEric Anholt <eric@anholt.net>2016-11-11 19:54:56 +0300
commit1567e95a010b7e0adbfacbf3c5d863e7850fdc28 (patch)
treede41571aa3b0e448bf1eed82902cf4f5c147d160 /Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
parent7d891a685dd46b925cf25b74ada0280a2531c34f (diff)
downloadlinux-1567e95a010b7e0adbfacbf3c5d863e7850fdc28.tar.xz
dt: bindings: add thermal device driver for bcm2835
Add dt-binding documentation for bcm2835 SOC thermal sensor. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Rob Herring <robh@kernel.org> Changelog: V1 -> V2: renamed file to follow naming conventions V2 -> V3: removed 0x in node name Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
new file mode 100644
index 000000000000..474531d2b2c5
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt
@@ -0,0 +1,17 @@
+Binding for Thermal Sensor driver for BCM2835 SoCs.
+
+Required parameters:
+-------------------
+
+compatible: should be one of: "brcm,bcm2835-thermal",
+ "brcm,bcm2836-thermal" or "brcm,bcm2837-thermal"
+reg: Address range of the thermal registers.
+clocks: Phandle of the clock used by the thermal sensor.
+
+Example:
+
+thermal: thermal@7e212000 {
+ compatible = "brcm,bcm2835-thermal";
+ reg = <0x7e212000 0x8>;
+ clocks = <&clocks BCM2835_CLOCK_TSENS>;
+};