[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251203092614.219392-1-q691800735@163.com>
Date: Wed, 3 Dec 2025 17:26:14 +0800
From: q691800735@....com
To: linux-riscv@...ts.infradead.org
Cc: pjw@...nel.org,
palmer@...belt.com,
aou@...s.berkeley.edu,
alex@...ti.fr,
linux-kernel@...r.kernel.org,
jybruceupup <q691800735@....com>
Subject: [PATCH] riscv: defconfig: Add MMC support for Kendryte K230
From: jybruceupup <q691800735@....com>
Add dedicated driver `sdhci-of-kendryte.c` for Kendryte K230's DWC MSHC
SD/eMMC controller, enabling boot-essential external storage access.
Enable driver in defconfig: `CONFIG_MMC_SDHCI_OF_DWCMSHC_KENDRYTE=y`
- DT-matched ("canaan,k230-dw-mshc")
- Uses upstream sdhci-pltfm framework
- No impact on other RISC-V platforms
- Supports K230-based boards (e.g., CanMV DongshanPi)
Signed-off-by: jybruceupup <q691800735@....com>
---
arch/riscv/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index fc2725cbc..5848ec2b9 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -232,6 +232,7 @@ CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_OF_DWCMSHC=y
+CONFIG_MMC_SDHCI_OF_DWCMSHC_KENDRYTE=y
CONFIG_MMC_SDHCI_OF_K1=y
CONFIG_MMC_SDHCI_CADENCE=y
CONFIG_MMC_SPI=y
--
2.52.0
Powered by blists - more mailing lists