]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: Pinebook Pro: Do not initialize i2c before relocation
authorMichal Suchanek <msuchanek@suse.de>
Sat, 3 Dec 2022 12:31:29 +0000 (13:31 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 19 Dec 2022 02:56:12 +0000 (10:56 +0800)
commit216928c772798609ba2cb01a42b6f89832bb0587
tree60c353fa1dff000760e0caebbfcf1e1dd927de5d
parentc74f6e748b360b0c88404ce200bc97055c2aef44
rockchip: Pinebook Pro: Do not initialize i2c before relocation

The i2c locks up when initialized before relocation, and it stays broken
in Linux as well breaking the ability to boot Linux.

The i2c bus and pmic was not actually used in pre-reloc before
commit ad607512f575 ("power: pmic: rk8xx: Support sysreset shutdown method")

The cause is not known.

This is board-specific, other boards that do not add the option to
include the i2c bus in pre-reloc DT are not affected.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi