[PATCH v2 0/3] mmc: sophgo: milkv_duo: Add SD card support for Milk-V Duo board

Kongyang Liu
2024-03-09T22:00:21Z

This series add sdhci driver for cv1800b SoC and enable SD card support for
Sophgo Milk-V Duo board.

Changes in v2:
- Refactored and simplified some of the code.
- Sync device tree with ptaches from Linux kernel

Kongyang Liu (3):
mmc: cv1800b: Add sdhci driver support for cv1800b SoC
riscv: dts: sophgo: Add clk node and sdhci node
configs: milkv_duo: Add SD card configs

arch/riscv/dts/cv1800b-milkv-duo.dts | 8 ++
arch/riscv/dts/cv1800b.dtsi | 4 +
arch/riscv/dts/cv18xx.dtsi | 22 +++++
configs/milkv_duo_defconfig | 10 +++
drivers/mmc/Kconfig | 13 +++
drivers/mmc/Makefile | 1 +
drivers/mmc/cv1800b_sdhci.c | 116 +++++++++++++++++++++++++++
7 files changed, 174 insertions(+)
create mode 100644 drivers/mmc/cv1800b_sdhci.c

--
2.41.0