diff options
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/power_supply/max17042_battery.txt')
-rw-r--r-- | kernel/Documentation/devicetree/bindings/power_supply/max17042_battery.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/power_supply/max17042_battery.txt b/kernel/Documentation/devicetree/bindings/power_supply/max17042_battery.txt new file mode 100644 index 000000000..5bc9b685c --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/power_supply/max17042_battery.txt @@ -0,0 +1,18 @@ +max17042_battery +~~~~~~~~~~~~~~~~ + +Required properties : + - compatible : "maxim,max17042" + +Optional properties : + - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms + (datasheet-recommended value is 10000). + Defining this property enables current-sense functionality. + +Example: + + battery-charger@36 { + compatible = "maxim,max17042"; + reg = <0x36>; + maxim,rsns-microohm = <10000>; + }; |