diff mbox

[U-Boot,1/3] ARM: dts: sun9i: Add mmc1 pinmux setting

Message ID 2fd7b3e87b3faecf6f453fc67d71fe582f05d72a.1487884037.git.rask@formelder.dk
State Accepted
Commit ffe47eb72c56333e4bdeba885183a545adb45f57
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Chen-Yu Tsai Feb. 24, 2017, 6:08 a.m. UTC
commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream.

On the A80, mmc1 is available on pingroup G. Designs mostly use this
to connect to an SDIO WiFi chip.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/dts/sun9i-a80.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Chen-Yu Tsai Feb. 24, 2017, 7:27 a.m. UTC | #1
On Fri, Feb 24, 2017 at 2:08 PM, Chen-Yu Tsai <wens@csie.org> wrote:
> commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream.
>
> On the A80, mmc1 is available on pingroup G. Designs mostly use this
> to connect to an SDIO WiFi chip.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

I did not send this.

Rask, something is wrong with your setup. You should send patches from
your own email address, while keeping the author. You should also add
your SoB.

ChenYu

> ---
>  arch/arm/dts/sun9i-a80.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/sun9i-a80.dtsi b/arch/arm/dts/sun9i-a80.dtsi
> index f68b324..92412b2 100644
> --- a/arch/arm/dts/sun9i-a80.dtsi
> +++ b/arch/arm/dts/sun9i-a80.dtsi
> @@ -701,6 +701,14 @@
>                                 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
>                         };
>
> +                       mmc1_pins: mmc1 {
> +                               allwinner,pins = "PG0", "PG1" ,"PG2", "PG3",
> +                                                "PG4", "PG5";
> +                               allwinner,function = "mmc1";
> +                               allwinner,drive = <SUN4I_PINCTRL_30_MA>;
> +                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> +                       };
> +
>                         mmc2_8bit_pins: mmc2_8bit {
>                                 allwinner,pins = "PC6", "PC7", "PC8", "PC9",
>                                                  "PC10", "PC11", "PC12",
> --
> 2.10.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Rask Ingemann Lambertsen Feb. 24, 2017, 5:15 p.m. UTC | #2
On Fri, Feb 24, 2017 at 03:27:11PM +0800, Chen-Yu Tsai wrote:
> On Fri, Feb 24, 2017 at 2:08 PM, Chen-Yu Tsai <wens@csie.org> wrote:
> > commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream.
> >
> > On the A80, mmc1 is available on pingroup G. Designs mostly use this
> > to connect to an SDIO WiFi chip.
> >
> > Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> 
> I did not send this.
> 
> Rask, something is wrong with your setup. You should send patches from
> your own email address, while keeping the author. You should also add
> your SoB.

I'm terribly sorry about that. I am the one who sent that patch.

To prevent `git format-patch' from copying the commit author's address into
the From: field in the e-mail header again, I have now run

$ git config --global format.from true

so `git format-patch' will do the right thing. I wish that variable would be
more prominently documented, perhaps in git-format-patch(1).
diff mbox

Patch

diff --git a/arch/arm/dts/sun9i-a80.dtsi b/arch/arm/dts/sun9i-a80.dtsi
index f68b324..92412b2 100644
--- a/arch/arm/dts/sun9i-a80.dtsi
+++ b/arch/arm/dts/sun9i-a80.dtsi
@@ -701,6 +701,14 @@ 
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			mmc1_pins: mmc1 {
+				allwinner,pins = "PG0", "PG1" ,"PG2", "PG3",
+						 "PG4", "PG5";
+				allwinner,function = "mmc1";
+				allwinner,drive = <SUN4I_PINCTRL_30_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			mmc2_8bit_pins: mmc2_8bit {
 				allwinner,pins = "PC6", "PC7", "PC8", "PC9",
 						 "PC10", "PC11", "PC12",