linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template
@ 2013-08-10  8:51 Alexander Shiyan
  2013-08-10  8:51 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Enable AUDMUX Alexander Shiyan
  2013-08-12  8:37 ` [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Shiyan @ 2013-08-10  8:51 UTC (permalink / raw)
  To: linux-arm-kernel

AUDMUX expects additional parameters to be configured correctly,
so turn it off into a template.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 76cd89f..c037c22 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -300,6 +300,7 @@
 				reg = <0x10016000 0x1000>;
 				clocks = <&clks 0>;
 				clock-names = "audmux";
+				status = "disabled";
 			};
 
 			cspi3: cspi at 10017000 {
-- 
1.8.1.5

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

* [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Enable AUDMUX
  2013-08-10  8:51 [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template Alexander Shiyan
@ 2013-08-10  8:51 ` Alexander Shiyan
  2013-08-12  8:37 ` [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Shiyan @ 2013-08-10  8:51 UTC (permalink / raw)
  To: linux-arm-kernel

Patch adds AUDMUX routing for Phytec PCM-038 module.
This route i.MX SSI0 (Port 1) to the slave port 4 where MC13783
codec interface is connected.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
index aa70ad7..4ec402c 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
@@ -21,6 +21,21 @@
 	};
 };
 
+&audmux {
+	status = "okay";
+
+	/* SSI0 <=> PINS_4 (MC13783 Audio) */
+	ssi0 {
+		fsl,audmux-port = <0>;
+		fsl,port-config = <0xcb205000>;
+	};
+
+	pins4 {
+		fsl,audmux-port = <2>;
+		fsl,port-config = <0x00001000>;
+	};
+};
+
 &cspi1 {
 	fsl,spi-num-chipselects = <1>;
 	cs-gpios = <&gpio4 28 0>;
-- 
1.8.1.5

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

* [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template
  2013-08-10  8:51 [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template Alexander Shiyan
  2013-08-10  8:51 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Enable AUDMUX Alexander Shiyan
@ 2013-08-12  8:37 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2013-08-12  8:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Aug 10, 2013 at 12:51:50PM +0400, Alexander Shiyan wrote:
> AUDMUX expects additional parameters to be configured correctly,
> so turn it off into a template.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied both, thanks.

> ---
>  arch/arm/boot/dts/imx27.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> index 76cd89f..c037c22 100644
> --- a/arch/arm/boot/dts/imx27.dtsi
> +++ b/arch/arm/boot/dts/imx27.dtsi
> @@ -300,6 +300,7 @@
>  				reg = <0x10016000 0x1000>;
>  				clocks = <&clks 0>;
>  				clock-names = "audmux";
> +				status = "disabled";
>  			};
>  
>  			cspi3: cspi at 10017000 {
> -- 
> 1.8.1.5
> 

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

end of thread, other threads:[~2013-08-12  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-10  8:51 [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template Alexander Shiyan
2013-08-10  8:51 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Enable AUDMUX Alexander Shiyan
2013-08-12  8:37 ` [PATCH 1/2] ARM: dts: i.MX27: Disable AUDMUX in the template 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).