power: pmic: sunxi: add SPL support for the AXP803
authorAndre Przywara <andre.przywara@arm.com>
Sun, 20 Oct 2024 16:36:19 +0000 (17:36 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 00:26:35 +0000 (00:26 +0000)
commit6ba4d46ef6efd7d1878e35fd1d1e27569c3c23b0
tree4e5623becf2a2978ca9005538d4eae5fbcf57276
parent720023c85f0c5e78893536e137994bcca1b70282
power: pmic: sunxi: add SPL support for the AXP803

The AXP803 has been around for about a decade now, but so far we didn't
need SPL support, since the DRAM rail was wired up correctly at reset.

Now some boards using the A133 SoC use the (compatible) AXP707 with DDR4
memory, which requires the SPL to set the required 1.1V voltage manually.

Add the descriptions for the DC/DC regulators of the AXP803, and enable
that when CONFIG_AXP803_POWER is enabled.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
board/sunxi/board.c
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/axp_spl.c