[PATCH 2/2] ASoC: dt-bindings: fsl-sai: Support Rx-only SAI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
---
The feature list in reference manual IMX8DQXPRM Rev. 0 05/2020
section 1.1.2 "Features" explicitly state that SAI2 and SAI3 is
receive only.

 Documentation/devicetree/bindings/sound/fsl,sai.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
index e90286f9b5fd..1580b1759fad 100644
--- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
@@ -79,11 +79,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
-- 
2.34.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux