diff mbox

[1/2] ARM: mxs: Add default AUART2 pinmux

Message ID 1368188795-9114-1-git-send-email-marex@denx.de (mailing list archive)
State New, archived
Headers show

Commit Message

Marek Vasut May 10, 2013, 12:26 p.m. UTC
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(+)

Comments

Shawn Guo May 13, 2013, 2:29 a.m. UTC | #1
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@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@0 {
>  					reg = <0>;
>  					fsl,pinmux-ids = <
> -- 
> 1.7.10.4
>
Marek Vasut May 13, 2013, 3:34 a.m. UTC | #2
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@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
diff mbox

Patch

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@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@0 {
 					reg = <0>;
 					fsl,pinmux-ids = <