]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: meson-sm1-odroid: fix boot loop after reboot
authorLutz Koschorreck <theleks@ko-hh.de>
Fri, 28 Jan 2022 19:31:50 +0000 (20:31 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 4 Feb 2022 08:20:41 +0000 (09:20 +0100)
commitb3a7e085afd3e713f4dc21b2e0c66abb0842c632
tree321ff991f7a9f9c810c8a1b83669134d1b2c65dc
parent3cd3ea060d663ca1017cdaeaee0aa6bfa2e24570
arm64: dts: meson-sm1-odroid: fix boot loop after reboot

Since the correct gpio pin is used for enabling tf-io regulator the
system did not boot correctly after calling reboot.

[   36.862443] reboot: Restarting system
bl31 reboot reason: 0xd
bl31 reboot reason: 0x0
system cmd  1.
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:B;RCY:0;SPINOR:0;CHK:1F;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0;CHK:0;
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id:
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:B;RCY:0;SPINOR:0;CHK:1F;EMMC:800;NAND:81;SD?:0;SD:400;USB:8;LOOP:1;...

Setting the gpio to open drain solves the issue.

Fixes: dc34e394dc2a ("arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for tf_io regulator")
Signed-off-by: Lutz Koschorreck <theleks@ko-hh.de>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: reduced serial log & removed invalid character in commit message]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220128193150.GA1304381@odroid-VirtualBox
arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi