bq27xxx.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. TI BQ27XXX fuel gauge family
  2. Required properties:
  3. - compatible: contains one of the following:
  4. * "ti,bq27200" - BQ27200
  5. * "ti,bq27210" - BQ27210
  6. * "ti,bq27500" - deprecated, use revision specific property below
  7. * "ti,bq27510" - deprecated, use revision specific property below
  8. * "ti,bq27520" - deprecated, use revision specific property below
  9. * "ti,bq27500-1" - BQ27500/1
  10. * "ti,bq27510g1" - BQ27510-g1
  11. * "ti,bq27510g2" - BQ27510-g2
  12. * "ti,bq27510g3" - BQ27510-g3
  13. * "ti,bq27520g1" - BQ27520-g1
  14. * "ti,bq27520g2" - BQ27520-g2
  15. * "ti,bq27520g3" - BQ27520-g3
  16. * "ti,bq27520g4" - BQ27520-g4
  17. * "ti,bq27521" - BQ27521
  18. * "ti,bq27530" - BQ27530
  19. * "ti,bq27531" - BQ27531
  20. * "ti,bq27541" - BQ27541
  21. * "ti,bq27542" - BQ27542
  22. * "ti,bq27546" - BQ27546
  23. * "ti,bq27742" - BQ27742
  24. * "ti,bq27545" - BQ27545
  25. * "ti,bq27421" - BQ27421
  26. * "ti,bq27425" - BQ27425
  27. * "ti,bq27426" - BQ27426
  28. * "ti,bq27441" - BQ27441
  29. * "ti,bq27621" - BQ27621
  30. - reg: integer, I2C address of the fuel gauge.
  31. Optional properties:
  32. - monitored-battery: phandle of battery characteristics node
  33. The fuel gauge uses the following battery properties:
  34. + energy-full-design-microwatt-hours
  35. + charge-full-design-microamp-hours
  36. + voltage-min-design-microvolt
  37. Both or neither of the *-full-design-*-hours properties must be set.
  38. See Documentation/devicetree/bindings/power/supply/battery.txt
  39. Example:
  40. bat: battery {
  41. compatible = "simple-battery";
  42. voltage-min-design-microvolt = <3200000>;
  43. energy-full-design-microwatt-hours = <5290000>;
  44. charge-full-design-microamp-hours = <1430000>;
  45. };
  46. bq27510g3: fuel-gauge@55 {
  47. compatible = "ti,bq27510g3";
  48. reg = <0x55>;
  49. monitored-battery = <&bat>;
  50. };