diff mbox

[2/2] hwmon: (ltc4151) Add devicetree binding for ltc4151

Message ID 20160725171235.GB2263@makrotopia.org (mailing list archive)
State Changes Requested
Headers show

Commit Message

Daniel Golle July 25, 2016, 5:12 p.m. UTC
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
(resent to linux-hwmon which by accident wasn't among the receipients)
 Documentation/devicetree/bindings/hwmon/ltc4151.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ltc4151.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/ltc4151.txt b/Documentation/devicetree/bindings/hwmon/ltc4151.txt
new file mode 100644
index 0000000..aec69ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ltc4151.txt
@@ -0,0 +1,18 @@ 
+ltc4151 properties
+
+Required properties:
+- compatible: Must be "lltc,ltc4151"
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor
+	Shunt resistor value in micro-Ohm
+
+Example:
+
+ltc4151@6e {
+	compatible = "lltc,ltc4151";
+	reg = <0x6e>;
+	shunt-resistor = <1500>;
+};