diff mbox series

[1/2] dt-bindings: lpspi: add dmas property

Message ID 20220812073452.45763-1-peng.fan@oss.nxp.com
State New
Headers show
Series [1/2] dt-bindings: lpspi: add dmas property | expand

Commit Message

Peng Fan (OSS) Aug. 12, 2022, 7:34 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

The LPSPI has dma capability, so add dma property.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 .../devicetree/bindings/spi/spi-fsl-lpspi.yaml         | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 1d46877fe46a..f60b24a9a32d 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
@@ -37,6 +37,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.