summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-08-01 13:08:58 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-09-09 07:34:16 +0300
commit4f120397fc3f0717d1ffac76d6338e87e13e0e9f (patch)
treef87c93fdea615eec089caa9b149f3a746e3d5ff6 /Documentation/devicetree/bindings/hwmon
parentfc72af3ad43512bdea27cbd98f7acdb1e0354c2e (diff)
downloadlinux-4f120397fc3f0717d1ffac76d6338e87e13e0e9f.tar.xz
hwmon: (ltc4151) Add devicetree binding for ltc4151
Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/ltc4151.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ltc4151.txt b/Documentation/devicetree/bindings/hwmon/ltc4151.txt
new file mode 100644
index 000000000000..d008a5ef525a
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ltc4151.txt
@@ -0,0 +1,18 @@
+LTC4151 High Voltage I2C Current and Voltage Monitor
+
+Required properties:
+- compatible: Must be "lltc,ltc4151"
+- reg: I2C address
+
+Optional properties:
+- shunt-resistor-micro-ohms
+ Shunt resistor value in micro-Ohms
+ Defaults to <1000> if unset.
+
+Example:
+
+ltc4151@6e {
+ compatible = "lltc,ltc4151";
+ reg = <0x6e>;
+ shunt-resistor-micro-ohms = <1500>;
+};