allwinner: A64: Add AXP803 PMIC support to power off the board
Boards with the Allwinner A64 SoC are mostly paired with an AXP803 PMIC,
which allows to programmatically power down the board.

Use the newly introduced RSB driver to detect and program the PMIC on
boot, then later to turn off the main voltage rails when receiving a
PSCI SYSTEM_POWER_OFF command.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent d5ddf67 commit eae5fe79558c0c2744f74ca88970b16ce45450b1
@Andre Przywara Andre Przywara authored on 14 Sep 2018
Showing 2 changed files
View
plat/allwinner/sun50i_a64/platform.mk
View
plat/allwinner/sun50i_a64/sunxi_power.c