allwinner: h6: power: Switch to using the AXP driver
Chip ID checking and poweroff work just like they did before.
Regulators are now enabled just like on A64/H5.

This changes the signatures of the low-level register read/write
functions to match the interface expected by the common driver.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: I14d63d171a094fa1375904928270fa3e21761646
1 parent f6d9c4c commit fb23b104c06d29206864e905eedea48518ec5e47
@Samuel Holland Samuel Holland authored on 20 Oct 2019
Showing 4 changed files
View
plat/allwinner/common/allwinner-common.mk
View
plat/allwinner/sun50i_a64/platform.mk
View
plat/allwinner/sun50i_h6/platform.mk
View
plat/allwinner/sun50i_h6/sunxi_power.c