commit | 107d1ae72290f367d31175538502f66d2effd403 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Sun Jul 30 01:11:01 2023 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Sun Nov 12 16:47:16 2023 +0000 |
tree | 4ec47cf9877428d979848f2d1684a2382117fcd2 | |
parent | 657070d71d3372211a0b688152a3d43468e213c6 [diff] |
power: pmic: sunxi: add AXP313 SPL driver On boards using the AXP313 PMIC, the DRAM rail is often not setup correctly at reset time, so we have to program the PMIC very early in the SPL, before running the DRAM initialisation. Add a simple AXP313 PMIC driver that knows about DCDC2(CPU) and DCDC3(DRAM), so that we can bump up the voltage before the DRAM init. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>