mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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>;
|
||
|
};
|