it's modified from hi3798cv200 driver, but quite a lot of code gets rewritten because of the hardware differences. Actually cv200 DWMMC core is called HIMCIV200 while mv200 DWMMC core is called HIMCIV300 in downstream. Signed-off-by: Yang Xiwen <forbidden405@xxxxxxxxxxx> --- Yang Xiwen (3): mmc: dw_mmc: add support for hi3798mv200 dt-bindings: mmc: dw-mshc-hi3798cv200: convert to YAML dt-bindings: mmc: dw-mshc-hi3798cv200: rename to dw-mshc-histb .../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 ---- .../devicetree/bindings/mmc/histb-dw-mshc.yaml | 130 +++++++++++ drivers/mmc/host/Kconfig | 9 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/dw_mmc-hi3798mv200.c | 238 +++++++++++++++++++++ 5 files changed, 378 insertions(+), 40 deletions(-) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240121-b4-mmc-hi3798mv200-a5730edf122c Best regards, -- Yang Xiwen <forbidden405@xxxxxxxxxxx>