18c2ecf20Sopenharmony_ciAXP20x and AXP22x battery power supply 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired Properties: 48c2ecf20Sopenharmony_ci - compatible, one of: 58c2ecf20Sopenharmony_ci "x-powers,axp209-battery-power-supply" 68c2ecf20Sopenharmony_ci "x-powers,axp221-battery-power-supply" 78c2ecf20Sopenharmony_ci "x-powers,axp813-battery-power-supply" 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciThis node is a subnode of its respective PMIC DT node. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciThe supported devices can read the battery voltage, charge and discharge 128c2ecf20Sopenharmony_cicurrents of the battery by reading ADC channels from the ADC. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci&axp209 { 178c2ecf20Sopenharmony_ci battery_power_supply: battery-power-supply { 188c2ecf20Sopenharmony_ci compatible = "x-powers,axp209-battery-power-supply"; 198c2ecf20Sopenharmony_ci } 208c2ecf20Sopenharmony_ci}; 21