summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon/lm70.txt
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-07-19 01:29:14 +0300
committerGuenter Roeck <linux@roeck-us.net>2015-08-09 23:44:27 +0300
commita1dc86ebd2f2eb6652c8be9311c16acccd1708f8 (patch)
treeb037c01de0062470ce69eede5eb3dfa99e7ec761 /Documentation/devicetree/bindings/hwmon/lm70.txt
parentaeaa4d9f812bfd841643b37f65c6b6597045be37 (diff)
downloadlinux-a1dc86ebd2f2eb6652c8be9311c16acccd1708f8.tar.xz
hwmon: (lm70) add device tree support
Allow the lm70 to be probed from a device tree. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon/lm70.txt')
-rw-r--r--Documentation/devicetree/bindings/hwmon/lm70.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/lm70.txt b/Documentation/devicetree/bindings/hwmon/lm70.txt
new file mode 100644
index 000000000000..e7fd921aa4f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/lm70.txt
@@ -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>;
+ };
+};