spi: lpspi: add dmas property
authorPeng Fan <peng.fan@nxp.com>
Fri, 12 Aug 2022 07:34:51 +0000 (15:34 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 11:18:39 +0000 (12:18 +0100)
The LPSPI has dma capability, so add dma property.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220812073452.45763-1-peng.fan@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml

index b3237ae4c4af3309d7e4788de9b1fb73a25adc13..8b44284d30c6c7066c9e9981a64f8873a3bf2ac0 100644 (file)
@@ -39,6 +39,16 @@ properties:
       - const: per
       - const: ipg
 
+  dmas:
+    items:
+      - description: TX DMA Channel
+      - description: RX DMA Channel
+
+  dma-names:
+    items:
+      - const: tx
+      - const: rx
+
   fsl,spi-only-use-cs1-sel:
     description:
       spi common code does not support use of CS signals discontinuously.