]> git.baikalelectronics.ru Git - arm-tf.git/commit
allwinner: Return the PMIC to I2C mode after use
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 04:43:15 +0000 (22:43 -0600)
committerSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 04:58:21 +0000 (22:58 -0600)
commit4470298333d0e453d5ac2f9beb73b6a3787edcce
tree449c3e3bbaf3161b9cc3c2e34750442484563850
parentd6fdb52b9c9db0454fa49dbbb969ea4164de29c0
allwinner: Return the PMIC to I2C mode after use

This gives the rich OS the flexibility to choose between I2C and RSB
communication. Since a runtime address can only be assigned once after
entering RSB mode, it also lets the rich OS choose any runtime address.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Id49c124c5e925985fc31c0ba38c7fb6c941aafa8
include/drivers/allwinner/axp.h
plat/allwinner/sun50i_a64/sunxi_power.c