aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-07-19 00:29:14 +0200
committerGuenter Roeck <linux@roeck-us.net>2015-08-09 13:44:27 -0700
commita1dc86ebd2f2eb6652c8be9311c16acccd1708f8 (patch)
treeb037c01de0062470ce69eede5eb3dfa99e7ec761 /Documentation/devicetree/bindings/hwmon
parenthwmon: (ltc2978) LTM4676 supports CLEAR_PEAKS (diff)
downloadlinux-dev-a1dc86ebd2f2eb6652c8be9311c16acccd1708f8.tar.xz
linux-dev-a1dc86ebd2f2eb6652c8be9311c16acccd1708f8.zip
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')
-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>;
+ };
+};