* [PATCH] mmc: spacemit: k3: Add compatible string
@ 2026-11-21 0:14 Yixun Lan
2026-11-21 15:45 ` Kathpalia, Tanmay
2026-11-26 13:11 ` Guillaume La Roque
0 siblings, 2 replies; 4+ messages in thread
From: Yixun Lan @ 2026-11-21 0:14 UTC (permalink / raw)
To: u-boot, u-boot-spacemit, Peng Fan, Jaehoon Chung
Cc: Hung-Chun Tseng, Tanmay Kathpalia, Eric Chung, Tom Rini,
Yixun Lan
Add compatible string for SpacemiT K3 SoC to enable support for
the SDHCI controller which necessary for bring up eMMC and SdCard.
Signed-off-by: Yixun Lan <dlan@kernel.org>
---
This is necessary for enabling SDHCI controller in SpacemiT K3 SoC
platform, as there is no fallback compatible defined in device tree
documentation.
I've tested in K3 CoM260 IFX board.
---
drivers/mmc/spacemit_sdhci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/spacemit_sdhci.c b/drivers/mmc/spacemit_sdhci.c
index fdedb9a301a..35f6c0a7cd7 100644
--- a/drivers/mmc/spacemit_sdhci.c
+++ b/drivers/mmc/spacemit_sdhci.c
@@ -660,6 +660,7 @@ static int spacemit_sdhci_bind(struct udevice *dev)
static const struct udevice_id spacemit_sdhci_ids[] = {
{ .compatible = "spacemit,k1-sdhci" },
+ { .compatible = "spacemit,k3-sdhci" },
{ }
};
---
base-commit: c1958b5f6cce03956d309ce422b5d9f819955d4a
change-id: 20261121-05-spacemit-k3-sdhci-8dc9de5c4203
Best regards,
--
Yixun Lan <dlan@kernel.org>
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] mmc: spacemit: k3: Add compatible string
2026-11-21 0:14 [PATCH] mmc: spacemit: k3: Add compatible string Yixun Lan
@ 2026-11-21 15:45 ` Kathpalia, Tanmay
2026-11-26 13:11 ` Guillaume La Roque
1 sibling, 0 replies; 4+ messages in thread
From: Kathpalia, Tanmay @ 2026-11-21 15:45 UTC (permalink / raw)
To: Yixun Lan, u-boot, u-boot-spacemit, Peng Fan, Jaehoon Chung
Cc: Hung-Chun Tseng, Eric Chung, Tom Rini
On 21-11-2026 05:44, Yixun Lan wrote:
> Add compatible string for SpacemiT K3 SoC to enable support for
> the SDHCI controller which necessary for bring up eMMC and SdCard.
>
> Signed-off-by: Yixun Lan <dlan@kernel.org>
Reviewed-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: spacemit: k3: Add compatible string
2026-11-21 0:14 [PATCH] mmc: spacemit: k3: Add compatible string Yixun Lan
2026-11-21 15:45 ` Kathpalia, Tanmay
@ 2026-11-26 13:11 ` Guillaume La Roque
2026-11-26 22:35 ` Yixun Lan
1 sibling, 1 reply; 4+ messages in thread
From: Guillaume La Roque @ 2026-11-26 13:11 UTC (permalink / raw)
To: Yixun Lan
Cc: u-boot, u-boot-spacemit, Peng Fan, Jaehoon Chung, Hung-Chun Tseng,
Tanmay Kathpalia, Eric Chung, Tom Rini, Guillaume La Roque
On Sat, 21 Nov 2026 00:14:23 +0000, Yixun Lan <dlan@kernel.org> wrote:
Hi Yixun,
> Add compatible string for SpacemiT K3 SoC to enable support for
> the SDHCI controller which necessary for bring up eMMC and SdCard.
Nit, this should read "which is necessary to bring up eMMC and SD
card".
>
>
> diff --git a/drivers/mmc/spacemit_sdhci.c b/drivers/mmc/spacemit_sdhci.c
> index fdedb9a301a1..35f6c0a7cd7c 100644
> --- a/drivers/mmc/spacemit_sdhci.c
> +++ b/drivers/mmc/spacemit_sdhci.c
> @@ -660,6 +660,7 @@ static int spacemit_sdhci_bind(struct udevice *dev)
>
> static const struct udevice_id spacemit_sdhci_ids[] = {
> { .compatible = "spacemit,k1-sdhci" },
> + { .compatible = "spacemit,k3-sdhci" },
spacemit_k3_defconfig does not enable MMC nor
CONFIG_MMC_SDHCI_SPACEMIT yet, and only the CoM260 IFX DT enables
sdhci0, so this cannot be exercised on a Pico-ITX with the default
config. Do you plan a follow-up enabling it in the defconfig?
Thanks,
Guillaume
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
--
Guillaume La Roque <glaroque@baylibre.com>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] mmc: spacemit: k3: Add compatible string
2026-11-26 13:11 ` Guillaume La Roque
@ 2026-11-26 22:35 ` Yixun Lan
0 siblings, 0 replies; 4+ messages in thread
From: Yixun Lan @ 2026-11-26 22:35 UTC (permalink / raw)
To: Guillaume La Roque
Cc: u-boot, u-boot-spacemit, Peng Fan, Jaehoon Chung, Hung-Chun Tseng,
Tanmay Kathpalia, Eric Chung, Tom Rini
Hi Guillaume,
On 14:11 Thu 26 Nov , Guillaume La Roque wrote:
> On Sat, 21 Nov 2026 00:14:23 +0000, Yixun Lan <dlan@kernel.org> wrote:
>
> Hi Yixun,
>
> > Add compatible string for SpacemiT K3 SoC to enable support for
> > the SDHCI controller which necessary for bring up eMMC and SdCard.
>
> Nit, this should read "which is necessary to bring up eMMC and SD
> card".
>
> >
> >
> > diff --git a/drivers/mmc/spacemit_sdhci.c b/drivers/mmc/spacemit_sdhci.c
> > index fdedb9a301a1..35f6c0a7cd7c 100644
> > --- a/drivers/mmc/spacemit_sdhci.c
> > +++ b/drivers/mmc/spacemit_sdhci.c
> > @@ -660,6 +660,7 @@ static int spacemit_sdhci_bind(struct udevice *dev)
> >
> > static const struct udevice_id spacemit_sdhci_ids[] = {
> > { .compatible = "spacemit,k1-sdhci" },
> > + { .compatible = "spacemit,k3-sdhci" },
>
> spacemit_k3_defconfig does not enable MMC nor
> CONFIG_MMC_SDHCI_SPACEMIT yet, and only the CoM260 IFX DT enables
> sdhci0, so this cannot be exercised on a Pico-ITX with the default
> config. Do you plan a follow-up enabling it in the defconfig?
>
You right, there is no SD or eMMC on Pico board.. even only SD on CoM260
Yes, I do plan to submit follow-up patches for defconfig and dts fix-up..
> Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
>
Thanks
--
Yixun Lan (dlan)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-26 22:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 0:14 [PATCH] mmc: spacemit: k3: Add compatible string Yixun Lan
2026-11-21 15:45 ` Kathpalia, Tanmay
2026-11-26 13:11 ` Guillaume La Roque
2026-11-26 22:35 ` Yixun Lan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.