]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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)
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

index 2d87bea933376ab25448d7e279a86b83be869f0f..fd87102c0b3dea885bcce8d191c2f69f7d3f248d 100644 (file)
        rockchip,panel = <&edp_panel>;
 };
 
-&i2c0 {
-       u-boot,dm-pre-reloc;
-};
-
-&rk808 {
-       u-boot,dm-pre-reloc;
-};
-
 &sdhci {
        max-frequency = <25000000>;
        u-boot,dm-pre-reloc;