diff options
author | Valerio Setti <vsetti@baylibre.com> | 2025-09-08 21:50:03 +0200 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2025-09-10 09:32:09 +0200 |
commit | 663bfe77b6f70bcb33b2607e16c94fcb1029580e (patch) | |
tree | a6b0cda4e15b90c0a012469b6a8655a6c3f549c3 /samples/rust/rust_driver_platform.rs | |
parent | f8c9fabf2f3d87773613734a8479d0ef9b662b11 (diff) |
arm64: dts: amlogic: gxbb-odroidc2: remove UHS capability for SD card
This is meant to resolve reboot not working on this board.
The problem is as follows. In order to be able to switch from HS to UHS
mode the bus voltage needs to be reduced from 3.3V down to 1.8V and this
is achieved by the "vqmmc-supply" regulator. The ROM bootloader is only
able to manage the card in HS mode (3.3V) and the switch HS->UHS happen
at boottime in the kernel. The problem appears when the reboot command
is issued or watchdog expires because in this case the "vqmmc-supply"
voltage is not returned back at 3.3V before rebooting the board so the
ROM bootloader will be completely stuck.
Therefore this commit removes all UHS modes which would cause
"vqmmc-summply" to switch from 3.3V to 1.8V.
In terms of performance the main drawback of this commit is limiting the
SD card bus speed to HS (25 MB/s) instead of UHS DDR50 (50 MB/s). However
this comes with the benefit of being able to reboot the board, so it
sounds like a reasonable compromise.
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Link: https://lore.kernel.org/r/20250908-fix-reboot-v2-1-354d0e57c855@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions