linux/Documentation/devicetree/bindings/power_supply/max17042_battery.txt
<<
>>
Prefs
   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        };
  19