From: Chen Wang <unicorn_wang@xxxxxxxxxxx> Add support for the mmc controller for Sophgo SG2042. Adding corresponding new compatible strings, and implement custom sdhci_ops. This patchset is based on v6.9-rc1 and depends on following pathsets: - [PATCH 0/1] mmc: sdhci-of-dwcmshc: enhance framework [1] - [PATCH v14 0/5] riscv: sophgo: add clock support for sg2042 [2] - [PATCH v1] mmc: sdhci-of-dwcmshc: th1520: Increase tuning loop count to 128 [3] Link: https://lore.kernel.org/linux-kernel/cover.1713257181.git.unicorn_wang@xxxxxxxxxxx/ [1] Link: https://lore.kernel.org/linux-riscv/cover.1713164546.git.unicorn_wang@xxxxxxxxxxx/ [2] Link: https://lore.kernel.org/all/20240402093539.184287-1-bigunclemax@xxxxxxxxx/ [3] --- Chen Wang (3): dt-bindings: mmc: sdhci-of-dwcmhsc: Add Sophgo SG2042 support mmc: sdhci-of-dwcmshc: Add support for Sophgo SG2042 riscv: dts: add mmc controllers for Sophgo SG2042 SoC .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 67 +++++-- .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 15 ++ arch/riscv/boot/dts/sophgo/sg2042.dtsi | 32 ++++ drivers/mmc/host/sdhci-of-dwcmshc.c | 173 +++++++++++++++++- 4 files changed, 264 insertions(+), 23 deletions(-) -- 2.25.1