allwinner: implement system power down on H6 w/ AXP805
The AXP805 PMIC used with H6 is capable of shutting down the system.

Add support for using it to shut down the system power.

The original placeholder power off code is moved to A64 code, as it's
still TODO to implement PMIC operations for A64.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
1 parent 6d37282 commit 5069c1cfef76cc86e6ad15bdd75b9330c3181e76
@Icenowy Zheng Icenowy Zheng authored on 22 Jul 2018
Showing 4 changed files
View
plat/allwinner/common/sunxi_pm.c
View
plat/allwinner/common/sunxi_private.h
View
plat/allwinner/sun50i_a64/sunxi_power.c
View
plat/allwinner/sun50i_h6/sunxi_power.c