max1720x_battery.txt 1.2 KB

123456789101112131415161718192021222324252627
  1. MAX17201/MAX17205 Fuel Gauge
  2. ----------------------------
  3. Required properties :
  4. - compatible : "maxim,max1720x"
  5. Optional properties :
  6. - maxim,psy-type-unknown: if set, forces poser supply type to be
  7. POWER_SUPPLY_TYPE_UNKNOWN rather than POWER_SUPPLY_TYPE_BATTERY
  8. - io-channels: see Documentation/devicetree/bindings/iio/iio-bindings.txt
  9. - io-channel-names: see Documentation/devicetree/bindings/iio/iio-bindings.txt
  10. - maxim,batt-id-range-pct: tolerance in percent on the resitance ID value. if
  11. not provided, defaults to 20%.
  12. - maxim,config: node in which children would have a "maxim,batt-id-kohm"
  13. property and a "maxim,regval" to allow applying configuration changes given a
  14. battery.
  15. - maxim,batt-id-kohm: the value of the battery resitance ID the config applies
  16. to.
  17. - maxim,n_regval: An array of u16 that are pairs of register address and
  18. corresponding values. These values will be written to the shadow registers
  19. of Maxim fuel gauge their address must be within 0x80 - 0xDF to be considered
  20. - maxim,r_regval: An array of u16 that are pairs of register address and
  21. corresponding values. These values will be written to the ModelGauge m5
  22. Register their address must be within 0x00 - 0x4D, 0xB0 - 0xDF to be
  23. considered.