From: Alexander Stein <alexander.stein@ew.tq-group.com>
Date: Tue, 19 Dec 2023 12:29:57 +0000 (+0100)
Subject: ASoC: dt-bindings: fsl-sai: Support Rx-only SAI
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b6ea4284c7e756fab5f78f0129acdb74b35d759f;p=linux.git

ASoC: dt-bindings: fsl-sai: Support Rx-only SAI

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>
---

diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
index af95342f97001..2456d958adeef 100644
--- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
@@ -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