]> Git Repo - J-linux.git/commitdiff
spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
authorFrank Li <[email protected]>
Wed, 3 Jul 2024 16:59:30 +0000 (12:59 -0400)
committerMark Brown <[email protected]>
Mon, 8 Jul 2024 11:50:29 +0000 (12:50 +0100)
Add dmas and dma-names properties because dspi support dma transfer.
Fix below warnings:
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
        from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Frank Li <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Documentation/devicetree/bindings/spi/fsl,dspi.yaml

index bd28335a6ac864ca206293f946ec97f4213e02e9..f16ac222914564b2aa48f9377484b4b905ae76ef 100644 (file)
@@ -48,6 +48,16 @@ properties:
     items:
       - const: dspi
 
+  dmas:
+    items:
+      - description: DMA controller phandle and request line for TX
+      - description: DMA controller phandle and request line for RX
+
+  dma-names:
+    items:
+      - const: tx
+      - const: rx
+
   spi-num-chipselects:
     $ref: /schemas/types.yaml#/definitions/uint32
     description:
This page took 0.048792 seconds and 4 git commands to generate.