hwmon: (lm70) add device tree support
[cascardo/linux.git] / Documentation / devicetree / bindings / hwmon / lm70.txt
diff --git a/Documentation/devicetree/bindings/hwmon/lm70.txt b/Documentation/devicetree/bindings/hwmon/lm70.txt
new file mode 100644 (file)
index 0000000..e7fd921
--- /dev/null
@@ -0,0 +1,21 @@
+* LM70/TMP121/LM71/LM74 thermometer.
+
+Required properties:
+- compatible: one of
+               "ti,lm70"
+               "ti,tmp121"
+               "ti,lm71"
+               "ti,lm74"
+
+See Documentation/devicetree/bindings/spi/spi-bus.txt for more required and
+optional properties.
+
+Example:
+
+spi_master {
+       temperature-sensor@0 {
+               compatible = "ti,lm70";
+               reg = <0>;
+               spi-max-frequency = <1000000>;
+       };
+};