]> git.baikalelectronics.ru Git - uboot.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)
commit3ad1fe3328f65db2356d28bdbaff1adf22395cb9
tree60c353fa1dff000760e0caebbfcf1e1dd927de5d
parentedeca025ea1ee83d30d362f565cc76b1ee536774
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 2d8446b70981 ("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