forked from Minki/linux
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:
parent
fc72af3ad4
commit
4f120397fc
18
Documentation/devicetree/bindings/hwmon/ltc4151.txt
Normal file
18
Documentation/devicetree/bindings/hwmon/ltc4151.txt
Normal 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>;
|
||||
};
|
Loading…
Reference in New Issue
Block a user