From: Martin Sperl <kernel@xxxxxxxxxxxxxxxx> Add documentation for bcm2835 SOC thermal sensor. Signed-off-by: Martin Sperl <kernel@xxxxxxxxxxxxxxxx> --- .../devicetree/bindings/thermal/bcm2835-thermal.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/bcm2835-thermal.txt diff --git a/Documentation/devicetree/bindings/thermal/bcm2835-thermal.txt b/Documentation/devicetree/bindings/thermal/bcm2835-thermal.txt new file mode 100644 index 0000000..607519a --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/bcm2835-thermal.txt @@ -0,0 +1,16 @@ +Binding for Thermal Sensor driver for BCM2835 SoCs. + +Required parameters: +------------------- + +compatible : should be: "brcm,bcm2835-thermal" +reg : Address range of the thermal registers. +clocks : Phandle of the clock used by the thermal sensor. + +Example: + +thermal: thermal@0x7e212000 { + compatible = "brcm,bcm2835-thermal"; + reg = <0x7e212000 0x8>; + clocks = <&clocks BCM2835_CLOCK_TSENS>; +}; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html