From: Sergiu Moga Date: Tue, 13 Sep 2022 14:21:56 +0000 (+0300) Subject: spi: dt-bindings: atmel,at91rm9200-spi: Add DMA related properties X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b2eafe1167e756935f293aa7212626d8f89952f;p=linux.git spi: dt-bindings: atmel,at91rm9200-spi: Add DMA related properties 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 Acked-by: Mark Brown Acked-by: Krzysztof Kozlowski Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20220913142205.162399-5-sergiu.moga@microchip.com --- diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml index d85d54024b2ee..4dd973e341e6c 100644 --- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml +++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml @@ -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: |