ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH 0/2] power: regulator: add AXP717 support
@ 2024-05-09 23:43 Andre Przywara
  2024-05-09 23:43 ` [PATCH 1/2] power: pmic: sunxi: add AXP717 SPL driver Andre Przywara
  2024-05-09 23:43 ` [PATCH 2/2] power: regulator: add AXP717 support Andre Przywara
  0 siblings, 2 replies; 5+ messages in thread
From: Andre Przywara @ 2024-05-09 23:43 UTC (permalink / raw)
  To: Jaehoon Chung, Jagan Teki
  Cc: Jernej Skrabec, Chris Morgan, Ryan Walklin, u-boot, linux-sunxi,
	Tom Rini

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-11 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 23:43 [PATCH 0/2] power: regulator: add AXP717 support Andre Przywara
2024-05-09 23:43 ` [PATCH 1/2] power: pmic: sunxi: add AXP717 SPL driver Andre Przywara
2024-05-11 10:04   ` Ryan Walklin
2024-05-09 23:43 ` [PATCH 2/2] power: regulator: add AXP717 support Andre Przywara
2024-05-11 10:10   ` Ryan Walklin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox