ASoC: dt-bindings: fsl-sai: Support Rx-only SAI
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 19 Dec 2023 12:29:57 +0000 (13:29 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jan 2024 19:43:00 +0000 (19:43 +0000)
On SoC like i.MX8QXP some SAI IP cores support only Rx path. Allow
specifying only an Rx DMA channel, while omitting the Tx one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20231219122957.3358149-2-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl,sai.yaml

index af95342f97001078db69d50c241c28dccbf8cdf8..2456d958adeef6ac217e5698f7b0d89c702e7ad7 100644 (file)
@@ -80,11 +80,13 @@ properties:
     maxItems: 1
 
   dmas:
+    minItems: 1
     items:
       - description: DMA controller phandle and request line for RX
       - description: DMA controller phandle and request line for TX
 
   dma-names:
+    minItems: 1
     items:
       - const: rx
       - const: tx