2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

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

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