max17042_battery: Make it possible to instantiate driver from DT
[deliverable/linux.git] / Documentation / devicetree / bindings / power_supply / max17042_battery.txt
CommitLineData
3832246d
KL
1max17042_battery
2~~~~~~~~~~~~~~~~
3
4Required properties :
5 - compatible : "maxim,max17042"
6
7Optional properties :
8 - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms
9 (datasheet-recommended value is 10000).
10 Defining this property enables current-sense functionality.
11
12Example:
13
14 battery-charger@36 {
15 compatible = "maxim,max17042";
16 reg = <0x36>;
17 maxim,rsns-microohm = <10000>;
18 };
This page took 0.026581 seconds and 5 git commands to generate.