arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
From: jybruceupup <q691800735@163.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@163.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
On Wed, Dec 03, 2025 at 05:26:14PM +0800, q691800735@163.com wrote:
> From: jybruceupup <q691800735@163.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@163.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
This symbol does not exist in upstream linux, nor has any patch been
sent that adds it.
This patch should be in a series that adds the related driver changes.
> CONFIG_MMC_SDHCI_OF_K1=y
> CONFIG_MMC_SDHCI_CADENCE=y
> CONFIG_MMC_SPI=y
> --
> 2.52.0
>
© 2016 - 2025 Red Hat, Inc.