spi: dt-bindings: atmel,at91rm9200-spi: Add DMA related properties
authorSergiu Moga <sergiu.moga@microchip.com>
Tue, 13 Sep 2022 14:21:56 +0000 (17:21 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 16 Sep 2022 07:52:24 +0000 (10:52 +0300)
The DT nodes of the SPI IP's may contain DMA related properties so
make sure that the binding is able to properly validate those as
well by making it aware of these optional properties.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220913142205.162399-5-sergiu.moga@microchip.com
Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml

index d85d54024b2ee1d5e48b75d5e31b651594690812..4dd973e341e6c772a2f6f1d945ce31eb6aab325e 100644 (file)
@@ -34,6 +34,16 @@ properties:
   clocks:
     maxItems: 1
 
+  dmas:
+    items:
+      - description: TX DMA Channel
+      - description: RX DMA Channel
+
+  dma-names:
+    items:
+      - const: tx
+      - const: rx
+
   atmel,fifo-size:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: |