Commit | Line | Data |
---|---|---|
3832246d KL |
1 | max17042_battery |
2 | ~~~~~~~~~~~~~~~~ | |
3 | ||
4 | Required properties : | |
5 | - compatible : "maxim,max17042" | |
6 | ||
7 | Optional 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 | ||
12 | Example: | |
13 | ||
14 | battery-charger@36 { | |
15 | compatible = "maxim,max17042"; | |
16 | reg = <0x36>; | |
17 | maxim,rsns-microohm = <10000>; | |
18 | }; |