Re: [PATCH 13/13] dt-bindings: lpspi: Document support for S32G

From: Frank Li
Date: Thu Aug 14 2025 - 14:24:53 EST


On Thu, Aug 14, 2025 at 05:06:53PM +0100, James Clark wrote:
> From: Larisa Grigore <larisa.grigore@xxxxxxx>
>
> S32G2 and S32G3 are currently treated the same way in the driver, so
> require that S32G3 is always paired with the S32G2 compatible string
> until there is divergence in the future.

Add compatible string 'nxp,s32g2-lpspi' and 'nxp,s32g3-lpspi' for S32G2
and S32G3. Allow nxp,s32g3-lpspi fallback to nxp,s32g2-lpspi since back
compatibity.

This is independent part with other patches, you can send seperately.

Frank
>
> Signed-off-by: Larisa Grigore <larisa.grigore@xxxxxxx>
> Signed-off-by: James Clark <james.clark@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
> index 3f8833911807..9fc98b0f3428 100644
> --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
> @@ -20,6 +20,7 @@ properties:
> - enum:
> - fsl,imx7ulp-spi
> - fsl,imx8qxp-spi
> + - nxp,s32g2-lpspi
> - items:
> - enum:
> - fsl,imx8ulp-spi
> @@ -27,6 +28,10 @@ properties:
> - fsl,imx94-spi
> - fsl,imx95-spi
> - const: fsl,imx7ulp-spi
> + - items:
> + - const: nxp,s32g3-lpspi
> + - const: nxp,s32g2-lpspi
> +
> reg:
> maxItems: 1
>
>
> --
> 2.34.1
>