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

From: Chester Lin
Date: Thu Oct 21 2021 - 03:13:55 EST


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(-)

--
2.30.0