ARM: dts: imx6ul: Specify the SAI index
Subsystems (2)
Fabio Estevam
reviewerPATCH v2 1/2 ARM: dts: imx6ul: Specify the SAI index
From: Fabio Estevam <[email protected]>
Introduce the "sai-index" property to indicate the index of the SAI port.
This is useful for configuring the SAI_MCLK output as we need to write to bits 19, 20 and 21 of register GPR1 for SAI1, SAI2 and SAI3, respectively.
Signed-off-by Fabio Estevam <[email protected]>
---
Change since v1:
- None
arch/arm/boot/dts/imx6ul.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx6ul.dtsi +3 -0
@@ -281,6 +281,7 @@ dmas = <&sdma 35 24 0>, <&sdma 36 24 0>; dma-names = "rx", "tx"; + sai-index = <1>; status = "disabled"; };
@@ -296,6 +297,7 @@ dmas = <&sdma 37 24 0>, <&sdma 38 24 0>; dma-names = "rx", "tx"; + sai-index = <2>; status = "disabled"; };
@@ -311,6 +313,7 @@ dmas = <&sdma 39 24 0>, <&sdma 40 24 0>; dma-names = "rx", "tx"; + sai-index = <3>; status = "disabled"; }; };
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH v2 2/2 ARM: dts: imx6ul-14x14-evk: Pass "fsl, sai-mclk-direction-output"
From: Fabio Estevam <[email protected]>
Pass "fsl,sai-mclk-direction-output" to the sai2 node, so that the SAI2_MCLK can be an output.
Signed-off-by Fabio Estevam <[email protected]>
---
Changes since v1:
- Drop gpr node
- Use "fsl,sai-mclk-direction-output"
arch/arm/boot/dts/imx6ul-14x14-evk.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6ul-14x14-evk.dts +1 -0
@@ -146,6 +146,7 @@ <&clks IMX6UL_CLK_SAI2>; assigned-clock-parents = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>; assigned-clock-rates = <0>, <12288000>; + fsl,sai-mclk-direction-output; status = "okay"; };
Signature · 1 line
1.9.1