diff mbox series

[v2,2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi'

Message ID 20240703165931.2325807-2-Frank.Li@nxp.com
State Accepted
Commit 0f17a12787573dda66d2528fff27cd7362b34bfd
Headers show
Series [v2,1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties | expand

Commit Message

Frank Li July 3, 2024, 4:59 p.m. UTC
Add compatible string 'fsl,lx2160a-dspi' and allow fall back to
'fsl,ls2085a-dspi'.
Fix below CHECK_DTBS warning.

arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb: spi@2100000: compatible: 'oneOf' conditional failed, one must be fixed:
        ['fsl,lx2160a-dspi', 'fsl,ls2085a-dspi'] is too long

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v1 to v2
- new patch
---
 Documentation/devicetree/bindings/spi/fsl,dspi.yaml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
index f16ac22291456..7ca8fceda7179 100644
--- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
+++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
@@ -34,6 +34,9 @@  properties:
       - items:
           - const: fsl,ls2080a-dspi
           - const: fsl,ls2085a-dspi
+      - items:
+          - const: fsl,lx2160a-dspi
+          - const: fsl,ls2085a-dspi
 
   reg:
     maxItems: 1