Skip to content

Add SDHCI driver support for NXP S32G2

Chester Lin linux-arm-kernel linux-devicetree linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: mmc: fsl-imx-esdhc: add NXP S32G2 supportDocumentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml+1 -00 replies
2/3mmc: sdhci-esdhc-imx: add NXP S32G2 supportdrivers/mmc/host/sdhci-esdhc-imx.c+15 -24 replies
3/3arm64: dts: s32g2: add USDHC supportarch/arm64/boot/dts/freescale/s32g2.dtsi arch/arm64/boot/dts/freescale/s32g274a-evb.dts arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts+40 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndreas Färber
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Add SDHCI driver support for NXP S32G2

Hello,

This is a patch series for initial sdhci support on NXP S32G2 platforms. In the previous work[1], only basic DTs and serial ports are supported for minimum hardware booting. Here we want to add a mmc-host node and add support in the sdhci-esdhc-imx driver so that S32G2 can also mount file system from SDCard but not just ramdisk. As the first step, we choose fixed clocks to fulfill the requirements the mmc host driver needs, and they will be replaced by ARM SCMI clock protocol (0x14) once the SCMI feature are added into S32G2 DT later.

This patchset has been verified with NXP downstream firmware blobs [ver:
bsp27/28/29/30], such as TF-A[2] and U-Boot[3] (BL33) on CodeAurora.

Thanks,
Chester

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/freescale/s32g2.dtsi
[2]: https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware/
[3]: https://source.codeaurora.org/external/autobsps32/u-boot/

Chester Lin (3):
dt-bindings: mmc: fsl-imx-esdhc: add NXP S32G2 support
mmc: sdhci-esdhc-imx: add NXP S32G2 support
arm64: dts: s32g2: add USDHC support

 .../bindings/mmc/fsl-imx-esdhc.yaml           |  1 +
 arch/arm64/boot/dts/freescale/s32g2.dtsi      | 32 +++++++++++++++++++
 .../arm64/boot/dts/freescale/s32g274a-evb.dts |  4 +++
 .../boot/dts/freescale/s32g274a-rdb2.dts      |  4 +++
 drivers/mmc/host/sdhci-esdhc-imx.c            | 17 ++++++++--
 5 files changed, 56 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.0