max17042_battery.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. max17042_battery
  2. ~~~~~~~~~~~~~~~~
  3. Required properties :
  4. - compatible : "maxim,max17042"
  5. Optional properties :
  6. - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms
  7. (datasheet-recommended value is 10000).
  8. Defining this property enables current-sense functionality.
  9. Optional threshold properties :
  10. If skipped the condition won't be reported.
  11. - maxim,cold-temp : Temperature threshold to report battery
  12. as cold (in tenths of degree Celsius).
  13. - maxim,over-heat-temp : Temperature threshold to report battery
  14. as over heated (in tenths of degree Celsius).
  15. - maxim,dead-volt : Voltage threshold to report battery
  16. as dead (in mV).
  17. - maxim,over-volt : Voltage threshold to report battery
  18. as over voltage (in mV).
  19. Example:
  20. battery-charger@36 {
  21. compatible = "maxim,max17042";
  22. reg = <0x36>;
  23. maxim,rsns-microohm = <10000>;
  24. maxim,over-heat-temp = <600>;
  25. maxim,over-volt = <4300>;
  26. };