Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx> --- Changes in v2: - replaced udelay with usleep_range (Reported-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>) - added comments for delay values (Reported-by: Peng Fan <peng.fan@xxxxxxx>) - delay values based on JEDEC Standard No. 84-B51, 6.15.10 H/W Reset Operation, on page 159 (Thanks to Bough Chen <haibo.chen@xxxxxxx>) - added a second patch demonstrating a cosmetic issue revealed by first patch - it bothered me during development but is not important - Link to v1: https://lore.kernel.org/r/20241027-imx-emmc-reset-v1-1-d5d0c672864a@xxxxxxxxxxxxx --- Josua Mayer (2): mmc: host: sdhci-esdhc-imx: implement emmc hardware reset mmc: host: sdhci-esdhc-imx: update esdhc sysctl dtocv bitmask drivers/mmc/host/sdhci-esdhc-imx.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) --- base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc change-id: 20241027-imx-emmc-reset-7127d311174c Best regards, -- Josua Mayer <josua@xxxxxxxxxxxxx>