[PATCH] riscv: defconfig: Add MMC support for Kendryte K230
Conor Dooley
conor at kernel.org
Wed Dec 3 01:56:59 PST 2025
On Wed, Dec 03, 2025 at 05:26:14PM +0800, q691800735 at 163.com wrote:
> From: jybruceupup <q691800735 at 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 at 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20251203/f966475e/attachment.sig>
More information about the linux-riscv
mailing list