ASoC: dt-bindings: ep93xx: Document DMA support
authorNikita Shubin <nikita.shubin@maquefel.me>
Fri, 3 Nov 2023 12:11:15 +0000 (15:11 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Mon, 10 Jun 2024 07:14:42 +0000 (10:14 +0300)
Document DMA support in binding document.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/cirrus,ep9301-i2s.yaml

index 453d493c941f6d81c7058ec8d73581038e6a5236..36a320ddf534863f854ca84e92619495f6582741 100644 (file)
@@ -40,6 +40,16 @@ properties:
       - const: sclk
       - const: lrclk
 
+  dmas:
+    items:
+      - description: out DMA channel
+      - description: in DMA channel
+
+  dma-names:
+    items:
+      - const: tx
+      - const: rx
+
 required:
   - compatible
   - '#sound-dai-cells'
@@ -61,6 +71,8 @@ examples:
                  <&syscon 30>,
                  <&syscon 31>;
         clock-names = "mclk", "sclk", "lrclk";
+        dmas = <&dma0 0 1>, <&dma0 0 2>;
+        dma-names = "tx", "rx";
     };
 
 ...