[PATCH] arm64: dts: amlogic: meson-sm1-odroid: let the SD card be powered down
Igor Velkov
iav at iav.lv
Wed Oct 7 14:05:50 PDT 2026
Follow-up to the dropped patch.
An out-of-tree restart handler [1] power-cycles the card: it drives
TFLASH_VDD and both tf_io lines low for 100 ms, then releases them and
the card is powered again. With the SPI flash erased, ODROID-HC4 boots
from SD after a warm reboot 5/5 on 6.18, 7.2 and 7.3-rc5. Without the
handler the boot stalls in the ROM or in U-Boot.
Where should this live upstream: the mmc core on restart, meson-gx-mmc,
or a board driver like this one?
[1] https://github.com/armbian/build/blob/main/patch/kernel/archive/meson64-7.3/meson64-reboot-02-port-to-gpiod.patch
--
Igor Velkov
More information about the linux-amlogic
mailing list