mirror of https://gitee.com/openkylin/linux.git
19 lines
427 B
Plaintext
19 lines
427 B
Plaintext
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>;
|
|
};
|