fg.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. === AB8500 Fuel Gauge Driver ===
  2. AB8500 is a mixed signal multimedia and power management
  3. device comprising: power and energy-management-module,
  4. wall-charger, usb-charger, audio codec, general purpose adc,
  5. tvout, clock management and sim card interface.
  6. Fuelgauge support is part of energy-management-modules, other
  7. components of this module are:
  8. main-charger, usb-combo-charger and battery-temperature-monitoring.
  9. The properties below describes the node for fuelgauge driver.
  10. Required Properties:
  11. - compatible = This shall be: "stericsson,ab8500-fg"
  12. - battery = Shall be battery specific information
  13. Example:
  14. ab8500_fg {
  15. compatible = "stericsson,ab8500-fg";
  16. battery = <&ab8500_battery>;
  17. };
  18. dependent node:
  19. ab8500_battery: ab8500_battery {
  20. };
  21. This node will provide information on 'thermistor interface' and
  22. 'battery technology type' used.
  23. Properties of this node are:
  24. thermistor-on-batctrl:
  25. A boolean value indicating thermistor interface to battery
  26. Note:
  27. 'btemp' and 'batctrl' are the pins interfaced for battery temperature
  28. measurement, 'btemp' signal is used when NTC(negative temperature
  29. coefficient) resister is interfaced external to battery whereas
  30. 'batctrl' pin is used when NTC resister is internal to battery.
  31. Example:
  32. ab8500_battery: ab8500_battery {
  33. thermistor-on-batctrl;
  34. };
  35. indicates: NTC resister is internal to battery, 'batctrl' is used
  36. for thermal measurement.
  37. The absence of property 'thermal-on-batctrl' indicates
  38. NTC resister is external to battery and 'btemp' signal is used
  39. for thermal measurement.
  40. battery-type:
  41. This shall be the battery manufacturing technology type,
  42. allowed types are:
  43. "UNKNOWN" "NiMH" "LION" "LIPO" "LiFe" "NiCd" "LiMn"
  44. Example:
  45. ab8500_battery: ab8500_battery {
  46. stericsson,battery-type = "LIPO";
  47. }