arm-trusted-firmware/plat
Andre Przywara 3d22228fe9 allwinner: H5: Implement power down for H5 reference design boards
Allwinner produces reference board designs, which apparently most board
vendors copy from. So every H5 board I checked uses regulators which are
controlled by the same PortL GPIO pins to power the ARM CPU cores, the
DRAM and the I/O ports.
Add a SoC specific power down routine, which turns those regulators off
when ATF detects running on an H5 SoC and the rich OS triggers a
SYSTEM_POWEROFF PSCI call.

NOTE: It sounds very tempting to turn the CPU power off, but this is not
working as expected, instead the system is rebooting. Most probably this
is due to VCC-SYS also being controlled by the same GPIO line, and
turning this off requires an elaborate and not fully understood setup.
Apparently not even Allwinner reference code is turning this regulator
off. So for now we refrain to pulling down PL8, the power consumption is
quite low anyway, so we are as close to poweroff as reasonably possible.
Many thanks to Samuel for doing some research on that topic.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2018-10-20 16:23:59 +01:00
..
allwinner allwinner: H5: Implement power down for H5 reference design boards 2018-10-20 16:23:59 +01:00
arm Merge pull request #1629 from robertovargas-arm/hw-assisted-coherency-lock 2018-10-18 09:35:14 +01:00
common Merge pull request #1583 from danielboulby-arm/db/AArch32_Multi_Console 2018-10-04 16:43:39 +01:00
hisilicon Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
imx imx8qm: imx8qx: Migrate to new interfaces 2018-09-28 15:34:17 +01:00
layerscape Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
marvell Merge pull request #1621 from jts-arm/typos 2018-10-11 12:00:48 +01:00
mediatek Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
nvidia/tegra tegra: Migrate to new interfaces 2018-09-28 15:34:17 +01:00
qemu Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
renesas/rcar rcar_gen3: drivers: staging 2018-10-17 18:39:43 +02:00
rockchip Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
rpi3 Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
socionext uniphier: Migrate to new interfaces 2018-09-28 15:34:17 +01:00
st/stm32mp1 stm32mp1: update platform files to use MMC devices 2018-10-15 09:36:58 +02:00
ti/k3 ti: k3: common: Do not disable cache on TI K3 core powerdown 2018-10-16 09:27:53 -05:00
xilinx/zynqmp Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00