axp20x_battery.txt 530 B

1234567891011121314151617181920
  1. AXP20x and AXP22x battery power supply
  2. Required Properties:
  3. - compatible, one of:
  4. "x-powers,axp209-battery-power-supply"
  5. "x-powers,axp221-battery-power-supply"
  6. "x-powers,axp813-battery-power-supply"
  7. This node is a subnode of its respective PMIC DT node.
  8. The supported devices can read the battery voltage, charge and discharge
  9. currents of the battery by reading ADC channels from the ADC.
  10. Example:
  11. &axp209 {
  12. battery_power_supply: battery-power-supply {
  13. compatible = "x-powers,axp209-battery-power-supply";
  14. }
  15. };