Fix mmc1 microSD detection and suspended unbind abort for a1125 (ampere)

- Drop MMC_CAP2_FULL_PWR_CYCLE from sdhci_msm_probe() while retaining removable-SD-only MMC_CAP_AGGRESSIVE_PM, preventing mmc_select_voltage() from selecting vdd 0x10 (MMC_VDD_28_29) that sdhci_set_power_noreg() rejects

- Raise PM8909 l11 (vmmc-supply) regulator-min-microvolt from 1.80 V (<0x1b7740>) to 2.95 V (<0x2d0370>) across all 6 device DTS/DTB targets while preserving 1.80-2.95 V on l12 (vqmmc-supply)

- Move pm_runtime_get_sync(&pdev->dev) ahead of SDHCI_INT_STATUS and sdhci_remove_host() in sdhci_msm_remove(), and resume 7864900.sdhci power/control to 'on' before driver unbind in sxmo_sdcard.sh

- Add l11 min-voltage, pm_runtime_get_sync, and MMC_CAP2_FULL_PWR_CYCLE guards in scripts/check-rebuild.sh, update docs, rebuild vmlinuz/DTBs and all 4 --mkinitfs a1125 (ampere) images, and pin their SHA-256 checksums
This commit is contained in:
Luxferre committed 2026-11-23 17:04:25 +02:00
1 parent 5d427e39ab
commit 1a229b0587
27 files changed
+26722 -26694

No files matched your search

+13333 -13333
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
+3
View File
@@ -109,6 +109,7 @@ probe_controller() {
fi
if [ -w /sys/bus/platform/drivers/sdhci_msm/bind ]; then
if [ -e /sys/bus/platform/drivers/sdhci_msm/7864900.sdhci ] && [ -w /sys/bus/platform/drivers/sdhci_msm/unbind ]; then
printf "on" > /sys/devices/platform/soc@0/7864900.sdhci/power/control 2>/dev/null || true
printf "7864900.sdhci" > /sys/bus/platform/drivers/sdhci_msm/unbind 2>/dev/null || true
sleep 0.15
fi
@@ -254,6 +255,7 @@ do_unmount() {
if ! is_mounted; then
rm -f "$STATE_FILE" 2>/dev/null || true
if [ "$force_mode" -eq 1 ] && [ -w /sys/bus/platform/drivers/sdhci_msm/unbind ]; then
printf "on" > /sys/devices/platform/soc@0/7864900.sdhci/power/control 2>/dev/null || true
printf "7864900.sdhci" > /sys/bus/platform/drivers/sdhci_msm/unbind 2>/dev/null || true
fi
printf "SD card is not mounted\n"
@@ -263,6 +265,7 @@ do_unmount() {
if umount "$MOUNT_POINT" 2>/dev/null || umount -l "$MOUNT_POINT" 2>/dev/null; then
rm -f "$STATE_FILE" 2>/dev/null || true
if [ -e /sys/bus/platform/drivers/sdhci_msm/7864900.sdhci ] && [ -w /sys/bus/platform/drivers/sdhci_msm/unbind ]; then
printf "on" > /sys/devices/platform/soc@0/7864900.sdhci/power/control 2>/dev/null || true
printf "7864900.sdhci" > /sys/bus/platform/drivers/sdhci_msm/unbind 2>/dev/null || true
fi
if [ "$force_mode" -ne 1 ]; then