diff mbox series

[2/2] dt-bindings: spi: nxp-fspi: support i.MX93 and i.MX95

Message ID 20240122091510.2077498-2-peng.fan@oss.nxp.com (mailing list archive)
State Accepted
Commit 18ab9e9e8889ecba23a5e8b7f8924f09284e33d8
Headers show
Series [1/2] dt-bindings: spi: fsl-lpspi: support i.MX95 LPSPI | expand

Commit Message

Peng Fan (OSS) Jan. 22, 2024, 9:15 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Add i.MX93/95 flexspi compatible strings, which are compatible with
i.MX8MM

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 .../devicetree/bindings/spi/spi-nxp-fspi.yaml  | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Comments

Conor Dooley Jan. 22, 2024, 9:32 a.m. UTC | #1
On Mon, Jan 22, 2024 at 05:15:10PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add i.MX93/95 flexspi compatible strings, which are compatible with
> i.MX8MM
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

> ---
>  .../devicetree/bindings/spi/spi-nxp-fspi.yaml  | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> index 7fd591145480..4a5f41bde00f 100644
> --- a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> @@ -15,12 +15,18 @@ allOf:
>  
>  properties:
>    compatible:
> -    enum:
> -      - nxp,imx8dxl-fspi
> -      - nxp,imx8mm-fspi
> -      - nxp,imx8mp-fspi
> -      - nxp,imx8qxp-fspi
> -      - nxp,lx2160a-fspi
> +    oneOf:
> +      - enum:
> +          - nxp,imx8dxl-fspi
> +          - nxp,imx8mm-fspi
> +          - nxp,imx8mp-fspi
> +          - nxp,imx8qxp-fspi
> +          - nxp,lx2160a-fspi
> +      - items:
> +          - enum:
> +              - nxp,imx93-fspi
> +              - nxp,imx95-fspi
> +          - const: nxp,imx8mm-fspi
>  
>    reg:
>      items:
> -- 
> 2.37.1
>
Han Xu Jan. 22, 2024, 5:46 p.m. UTC | #2
> -----Original Message-----
> From: Peng Fan (OSS) <peng.fan@oss.nxp.com>
> Sent: Monday, January 22, 2024 3:15 AM
> To: broonie@kernel.org; conor+dt@kernel.org; robh+dt@kernel.org;
> krzysztof.kozlowski+dt@linaro.org; Han Xu <han.xu@nxp.com>; Bough Chen
> <haibo.chen@nxp.com>
> Cc: yogeshgaur.83@gmail.com; linux-spi@vger.kernel.org;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Peng Fan
> <peng.fan@nxp.com>
> Subject: [PATCH 2/2] dt-bindings: spi: nxp-fspi: support i.MX93 and i.MX95
> 
> From: Peng Fan <peng.fan@nxp.com>

Acked-by: Han Xu <han.xu@nxp.com>

> 
> Add i.MX93/95 flexspi compatible strings, which are compatible with
> i.MX8MM
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  .../devicetree/bindings/spi/spi-nxp-fspi.yaml  | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> index 7fd591145480..4a5f41bde00f 100644
> --- a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
> @@ -15,12 +15,18 @@ allOf:
> 
>  properties:
>    compatible:
> -    enum:
> -      - nxp,imx8dxl-fspi
> -      - nxp,imx8mm-fspi
> -      - nxp,imx8mp-fspi
> -      - nxp,imx8qxp-fspi
> -      - nxp,lx2160a-fspi
> +    oneOf:
> +      - enum:
> +          - nxp,imx8dxl-fspi
> +          - nxp,imx8mm-fspi
> +          - nxp,imx8mp-fspi
> +          - nxp,imx8qxp-fspi
> +          - nxp,lx2160a-fspi
> +      - items:
> +          - enum:
> +              - nxp,imx93-fspi
> +              - nxp,imx95-fspi
> +          - const: nxp,imx8mm-fspi
> 
>    reg:
>      items:
> --
> 2.37.1
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
index 7fd591145480..4a5f41bde00f 100644
--- a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
@@ -15,12 +15,18 @@  allOf:
 
 properties:
   compatible:
-    enum:
-      - nxp,imx8dxl-fspi
-      - nxp,imx8mm-fspi
-      - nxp,imx8mp-fspi
-      - nxp,imx8qxp-fspi
-      - nxp,lx2160a-fspi
+    oneOf:
+      - enum:
+          - nxp,imx8dxl-fspi
+          - nxp,imx8mm-fspi
+          - nxp,imx8mp-fspi
+          - nxp,imx8qxp-fspi
+          - nxp,lx2160a-fspi
+      - items:
+          - enum:
+              - nxp,imx93-fspi
+              - nxp,imx95-fspi
+          - const: nxp,imx8mm-fspi
 
   reg:
     items: