linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux
@ 2013-05-10 12:26 Marek Vasut
  2013-05-10 12:26 ` [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK Marek Vasut
  2013-05-13  2:29 ` [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Shawn Guo
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2013-05-10 12:26 UTC (permalink / raw)
  To: linux-arm-kernel

Add pinmux for AUART2 pins where they are in mux0.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx28.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 7ba4966..13799cf 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -308,6 +308,17 @@
 					fsl,pull-up = <0>;
 				};
 
+				auart2_2pins_b: auart2-2pins at 1 {
+					reg = <1>;
+					fsl,pinmux-ids = <
+						0x3080 /* MX28_PAD_AUART2_RX__AUART2_RX */
+						0x3090 /* MX28_PAD_AUART2_TX__AUART2_TX */
+					>;
+					fsl,drive-strength = <0>;
+					fsl,voltage = <1>;
+					fsl,pull-up = <0>;
+				};
+
 				auart3_pins_a: auart3 at 0 {
 					reg = <0>;
 					fsl,pinmux-ids = <
-- 
1.7.10.4

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

* [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK
  2013-05-10 12:26 [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Marek Vasut
@ 2013-05-10 12:26 ` Marek Vasut
  2013-05-13  2:30   ` Shawn Guo
  2013-05-13  2:29 ` [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Shawn Guo
  1 sibling, 1 reply; 5+ messages in thread
From: Marek Vasut @ 2013-05-10 12:26 UTC (permalink / raw)
  To: linux-arm-kernel

Make use of RTS/CTS lines on AUART0 and register AUART1 and AUART2
which are routed onto a pin header.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx28-m28evk.dts |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx28-m28evk.dts b/arch/arm/boot/dts/imx28-m28evk.dts
index fd36e1c..ed1f1c0 100644
--- a/arch/arm/boot/dts/imx28-m28evk.dts
+++ b/arch/arm/boot/dts/imx28-m28evk.dts
@@ -195,7 +195,19 @@
 
 			auart0: serial at 8006a000 {
 				pinctrl-names = "default";
-				pinctrl-0 = <&auart0_2pins_a>;
+				pinctrl-0 = <&auart0_pins_a>;
+				status = "okay";
+			};
+
+			auart1: serial at 8006c000 {
+				pinctrl-names = "default";
+				pinctrl-0 = <&auart1_pins_a>;
+				status = "okay";
+			};
+
+			auart2: serial at 8006e000 {
+				pinctrl-names = "default";
+				pinctrl-0 = <&auart2_2pins_b>;
 				status = "okay";
 			};
 		};
-- 
1.7.10.4

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

* [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux
  2013-05-10 12:26 [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Marek Vasut
  2013-05-10 12:26 ` [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK Marek Vasut
@ 2013-05-13  2:29 ` Shawn Guo
  2013-05-13  3:34   ` Marek Vasut
  1 sibling, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2013-05-13  2:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 10, 2013 at 02:26:34PM +0200, Marek Vasut wrote:
> Add pinmux for AUART2 pins where they are in mux0.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx28.dtsi |   11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index 7ba4966..13799cf 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -308,6 +308,17 @@
>  					fsl,pull-up = <0>;
>  				};
>  
> +				auart2_2pins_b: auart2-2pins at 1 {
> +					reg = <1>;
> +					fsl,pinmux-ids = <
> +						0x3080 /* MX28_PAD_AUART2_RX__AUART2_RX */
> +						0x3090 /* MX28_PAD_AUART2_TX__AUART2_TX */
> +					>;
> +					fsl,drive-strength = <0>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <0>;
> +				};
> +

I already applied a same patch from Eric B?nard.

Shawn

http://thread.gmane.org/gmane.linux.kernel/1471518/

>  				auart3_pins_a: auart3 at 0 {
>  					reg = <0>;
>  					fsl,pinmux-ids = <
> -- 
> 1.7.10.4
> 

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

* [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK
  2013-05-10 12:26 ` [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK Marek Vasut
@ 2013-05-13  2:30   ` Shawn Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2013-05-13  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 10, 2013 at 02:26:35PM +0200, Marek Vasut wrote:
> Make use of RTS/CTS lines on AUART0 and register AUART1 and AUART2
> which are routed onto a pin header.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

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

* [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux
  2013-05-13  2:29 ` [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Shawn Guo
@ 2013-05-13  3:34   ` Marek Vasut
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2013-05-13  3:34 UTC (permalink / raw)
  To: linux-arm-kernel

Dear Shawn Guo,

> On Fri, May 10, 2013 at 02:26:34PM +0200, Marek Vasut wrote:
> > Add pinmux for AUART2 pins where they are in mux0.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Shawn Guo <shawn.guo@linaro.org>
> > Cc: Fabio Estevam <fabio.estevam@freescale.com>
> > ---
> > 
> >  arch/arm/boot/dts/imx28.dtsi |   11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> > index 7ba4966..13799cf 100644
> > --- a/arch/arm/boot/dts/imx28.dtsi
> > +++ b/arch/arm/boot/dts/imx28.dtsi
> > @@ -308,6 +308,17 @@
> > 
> >  					fsl,pull-up = <0>;
> >  				
> >  				};
> > 
> > +				auart2_2pins_b: auart2-2pins at 1 {
> > +					reg = <1>;
> > +					fsl,pinmux-ids = <
> > +						0x3080 /* 
MX28_PAD_AUART2_RX__AUART2_RX */
> > +						0x3090 /* 
MX28_PAD_AUART2_TX__AUART2_TX */
> > +					>;
> > +					fsl,drive-strength = <0>;
> > +					fsl,voltage = <1>;
> > +					fsl,pull-up = <0>;
> > +				};
> > +
> 
> I already applied a same patch from Eric B?nard.
> 
> Shawn
> 
> http://thread.gmane.org/gmane.linux.kernel/1471518/

Ok, looks like Eric was much faster :-) Sorry, I was doing this patchset on 
3.9.1 and didn't notice his patch.

Best regards,
Marek Vasut

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

end of thread, other threads:[~2013-05-13  3:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 12:26 [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Marek Vasut
2013-05-10 12:26 ` [PATCH 2/2] ARM: mxs: Fix UARTs on M28EVK Marek Vasut
2013-05-13  2:30   ` Shawn Guo
2013-05-13  2:29 ` [PATCH 1/2] ARM: mxs: Add default AUART2 pinmux Shawn Guo
2013-05-13  3:34   ` Marek Vasut

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).