[PATCH v2 0/2] mmc: spacemit: Add support for K3 SoC

Yixun Lan posted 2 patches 2 weeks, 2 days ago
.../devicetree/bindings/mmc/spacemit,sdhci.yaml       |  4 +++-
drivers/mmc/host/sdhci-of-k1.c                        | 19 +++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
[PATCH v2 0/2] mmc: spacemit: Add support for K3 SoC
Posted by Yixun Lan 2 weeks, 2 days ago
Enable SDHCI controller support on new SpacemiT K3 SoC, while as before
only the third controller and the eMMC device has been tested which using
vendor K3 evb board. This board has not acquired support in mainline
kernel, so I've omitted the DT part patches for now.

The new SDHCI controller almost reuse the same IP as old K1 generation,
while fixed the broken 64BIT DMA issue.

Hi Ulf,
 Any chance to queue this for v6.20? I know it's a little bit late,
but the patch itself is quite simple and we've tested on evb board.

Signed-off-by: Yixun Lan <dlan@kernel.org>
---
Changes in v2:
- collect Rob's Ack
- drop uncessary blank line
- drop return check from of_device_get_match_data
- Link to v1: https://lore.kernel.org/r/20260121-07-k3-mmc-v1-0-ff77c07bfdf6@kernel.org

---
Yixun Lan (2):
      dt-bindings: mmc: spacemit,sdhci: add support for K3 SoC
      mmc: sdhci-of-k1: spacemit: Add support for K3 SoC

 .../devicetree/bindings/mmc/spacemit,sdhci.yaml       |  4 +++-
 drivers/mmc/host/sdhci-of-k1.c                        | 19 +++++++++++++++++--
 2 files changed, 20 insertions(+), 3 deletions(-)
---
base-commit: 6cefff068d030786d63fa50970d6581c354630b2
change-id: 20260112-07-k3-mmc-6ca01267e834

Best regards,
-- 
Yixun Lan <dlan@kernel.org>
Re: [PATCH v2 0/2] mmc: spacemit: Add support for K3 SoC
Posted by Ulf Hansson 2 weeks, 1 day ago
On Thu, 22 Jan 2026 at 10:38, Yixun Lan <dlan@kernel.org> wrote:
>
> Enable SDHCI controller support on new SpacemiT K3 SoC, while as before
> only the third controller and the eMMC device has been tested which using
> vendor K3 evb board. This board has not acquired support in mainline
> kernel, so I've omitted the DT part patches for now.
>
> The new SDHCI controller almost reuse the same IP as old K1 generation,
> while fixed the broken 64BIT DMA issue.
>
> Hi Ulf,
>  Any chance to queue this for v6.20? I know it's a little bit late,
> but the patch itself is quite simple and we've tested on evb board.
>
> Signed-off-by: Yixun Lan <dlan@kernel.org>
> ---
> Changes in v2:
> - collect Rob's Ack
> - drop uncessary blank line
> - drop return check from of_device_get_match_data
> - Link to v1: https://lore.kernel.org/r/20260121-07-k3-mmc-v1-0-ff77c07bfdf6@kernel.org
>
> ---
> Yixun Lan (2):
>       dt-bindings: mmc: spacemit,sdhci: add support for K3 SoC
>       mmc: sdhci-of-k1: spacemit: Add support for K3 SoC
>
>  .../devicetree/bindings/mmc/spacemit,sdhci.yaml       |  4 +++-
>  drivers/mmc/host/sdhci-of-k1.c                        | 19 +++++++++++++++++--
>  2 files changed, 20 insertions(+), 3 deletions(-)
> ---
> base-commit: 6cefff068d030786d63fa50970d6581c354630b2
> change-id: 20260112-07-k3-mmc-6ca01267e834
>
> Best regards,
> --
> Yixun Lan <dlan@kernel.org>
>

The series applied for next, thanks!

Kind regards
Uffe