allwinner: A64/H5: Add basic and generic shutdown method
Some boards don't have a PMIC, so they can't easily turn their power
off. To cover those boards anyway, let's turn off as many devices and
clocks as possible, so that the power consumption is reduced. Then
halt the last core, as before.
This will later be extended with proper PMIC support for supported
boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent fe57c7d commit f953c30fe58dcd7f924c5df63d631c5c4ca0517d
@Andre Przywara Andre Przywara authored on 1 Oct 2018
Showing 1 changed file
View
plat/allwinner/sun50i_a64/sunxi_power.c