hwmon: (ad741x) Add DT bindings for Analog Devices AD741x
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jan 2019 21:06:36 +0000 (22:06 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 25 Feb 2019 14:35:42 +0000 (06:35 -0800)
This adds device tree bindings for Analog Devices AD741x
as found in Gateway routers.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ad741x.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/hwmon/ad741x.txt b/Documentation/devicetree/bindings/hwmon/ad741x.txt
new file mode 100644 (file)
index 0000000..9102152
--- /dev/null
@@ -0,0 +1,15 @@
+* AD7416/AD7417/AD7418 Temperature Sensor Device Tree Bindings
+
+Required properties:
+- compatible: one of
+               "adi,ad7416"
+               "adi,ad7417"
+               "adi,ad7418"
+- reg: I2C address
+
+Example:
+
+hwmon@28 {
+       compatible = "adi,ad7418";
+       reg = <0x28>;
+};