]> git.baikalelectronics.ru Git - uboot.git/commit
power: pmic: Add a driver for X-Powers AXP PMICs
authorSamuel Holland <samuel@sholland.org>
Fri, 8 Oct 2021 05:17:16 +0000 (00:17 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 12 Oct 2021 08:41:57 +0000 (09:41 +0100)
commit76c09678915e136f3243c892ead77a48288765f6
tree3b73982beb1d4a51366ca5ef4db5746c61648639
parentf65c26a414be9adc2d08175c958728394ecc3eb1
power: pmic: Add a driver for X-Powers AXP PMICs

These PMICs provide some combination of battery charger, fuel gauge,
GPIOs, regulators, and VBUS routing. These functions are represented
as child nodes in the device tree. Add the minimal driver needed to
probe these child devices and provide the DM_PMIC ops.

Enable the driver by default for SoCs that normally pair with a PMIC.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/axp.c [new file with mode: 0644]