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 6f34588..5793c55 100644 (file)
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 4>,
                               <&edma0 1 3>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 6>,
                               <&edma0 1 5>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 8>,
                               <&edma0 1 7>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 10>,
                               <&edma0 1 9>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 12>,
                               <&edma0 1 11>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };
 
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 14>,
                               <&edma0 1 13>;
+                       fsl,sai-asynchronous;
                        status = "disabled";
                };