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

From: Ulf Hansson
Date: Tue Oct 26 2021 - 11:40:48 EST


On Thu, 21 Oct 2021 at 09:13, Chester Lin <clin@xxxxxxxx> wrote:
>
> 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(-)
>

Patch 1 and 2, applied for next, thanks!

Kind regards
Uffe