[PATCH 0/2] power: regulator: add AXP717 support

Andre Przywara andre.przywara at arm.com
Fri May 10 01:43:17 CEST 2024


The X-Powers AXP717 is a PMIC chip, controlled via I2C or RSB. It
features four DC/DC converters and a number of linear regulators.
Also it contains some charger and USB-C detection circuitry, though we
don't use that in U-Boot. The PMIC is used on some newer Allwinner
devices, for instance the Anbernic handheld gaming devices.

Add AXP717 support to the DM driven AXP regulator driver, and also an SPL
version, as we need to program the DRAM voltage rail correctly before
attempting to initialise the DRAM controller.

Cheers,
Ander

Andre Przywara (2):
  power: pmic: sunxi: add AXP717 SPL driver
  power: regulator: add AXP717 support

 arch/arm/mach-sunxi/pmic_bus.c          |  3 +
 board/sunxi/board.c                     |  2 +-
 drivers/power/Kconfig                   | 17 +++--
 drivers/power/Makefile                  |  1 +
 drivers/power/axp717.c                  | 92 +++++++++++++++++++++++++
 drivers/power/pmic/axp.c                |  1 +
 drivers/power/regulator/axp_regulator.c | 28 ++++++++
 include/axp_pmic.h                      |  1 +
 8 files changed, 140 insertions(+), 5 deletions(-)
 create mode 100644 drivers/power/axp717.c

-- 
2.35.8



More information about the U-Boot mailing list