linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx6ul: Specify the SAI index
@ 2016-05-04  1:12 Fabio Estevam
  2016-05-04  1:12 ` [PATCH 2/2] ARM: dts: imx6ul-14x14-evk: Enable SAI2_MCLK Fabio Estevam
  2016-06-06  8:22 ` [PATCH 1/2] ARM: dts: imx6ul: Specify the SAI index Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2016-05-04  1:12 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@nxp.com>

Introduce the "sai-index" property to indicate the index of the SAI port.

This is useful for enabling the SAI_MCLK output as we need to write
to bits 19, 20 and 21 of register GPR1 for enabling SAI1, SAI2 and SAI3,
respectively.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx6ul.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 4356b65..b11d5a8 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -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";
 				};
 			};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-06  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04  1:12 [PATCH 1/2] ARM: dts: imx6ul: Specify the SAI index Fabio Estevam
2016-05-04  1:12 ` [PATCH 2/2] ARM: dts: imx6ul-14x14-evk: Enable SAI2_MCLK Fabio Estevam
2016-06-06  8:22 ` [PATCH 1/2] ARM: dts: imx6ul: Specify the SAI index Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).