]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: ls1028a: put SAIs into async mode
authorMichael Walle <michael@walle.cc>
Fri, 29 Nov 2019 21:09:37 +0000 (22:09 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 09:20:20 +0000 (17:20 +0800)
The LS1028A SoC has only unidirectional SAIs. Therefore, it doesn't make
sense to have the RX and TX part synchronous. Even worse, the RX part
wont work out of the box because by default it is configured as
synchronous to the TX part. And as said before, the pinmux of the SoC
can only be configured to route either the RX or the TX signals to the
SAI but never both at the same time. Thus configure the asynchronous
mode by default.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 6f3458869ff0774779078bd420d1d47dbaf97aaf..5793c55ea52bdd47fca4571563d5e7e7bed55f3c 100644 (file)
@@ -541,6 +541,7 @@ sai1: audio-controller@f100000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 4>,
                               <&edma0 1 3>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
@@ -555,6 +556,7 @@ sai2: audio-controller@f110000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 6>,
                               <&edma0 1 5>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
@@ -569,6 +571,7 @@ sai3: audio-controller@f120000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 8>,
                               <&edma0 1 7>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
@@ -583,6 +586,7 @@ sai4: audio-controller@f130000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 10>,
                               <&edma0 1 9>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
@@ -597,6 +601,7 @@ sai5: audio-controller@f140000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 12>,
                               <&edma0 1 11>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
@@ -611,6 +616,7 @@ sai6: audio-controller@f150000 {
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 14>,
                               <&edma0 1 13>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };