hwmon: (ltc4151) Add devicetree binding for ltc4151

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Daniel Golle 2016-08-01 12:08:58 +02:00 committed by Guenter Roeck
parent fc72af3ad4
commit 4f120397fc
1 changed files with 18 additions and 0 deletions

View File

@ -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>;
};