All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sun6i-a31: Add pins definitions for more UARTs
@ 2015-10-26  3:07 Luis Araneda
       [not found] ` <1445828876-35549-1-git-send-email-luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Araneda @ 2015-10-26  3:07 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, Chen-Yu Tsai, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Luis Araneda

Two additional UARTs tested on the GPIO pins from the
Banana Pi M2 board

Signed-off-by: Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 83c1879..eb02d57 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -654,6 +654,20 @@
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			uart2_pins_a: uart2@0 {
+				allwinner,pins = "PG6", "PG7", "PG8", "PG9";
+				allwinner,function = "uart2";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			uart5_pins_a: uart5@0 {
+				allwinner,pins = "PE4", "PE5", "PE6", "PE7";
+				allwinner,function = "uart5";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			i2c0_pins_a: i2c0@0 {
 				allwinner,pins = "PH14", "PH15";
 				allwinner,function = "i2c0";
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM: dts: sun6i-a31: Add pins definitions for more UARTs
       [not found] ` <1445828876-35549-1-git-send-email-luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-10-26  3:47   ` Chen-Yu Tsai
       [not found]     ` <CAGb2v669OCEJ_f5Oy8vCmd6sYsrgbLLTN4fq==thQ9JJ3F3CVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Chen-Yu Tsai @ 2015-10-26  3:47 UTC (permalink / raw)
  To: Luis Araneda
  Cc: Maxime Ripard, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King, Chen-Yu Tsai, devicetree

Hi,

On Mon, Oct 26, 2015 at 11:07 AM, Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Two additional UARTs tested on the GPIO pins from the
> Banana Pi M2 board
>
> Signed-off-by: Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---

IIRC the policy we have is only add stuff that is actually used. I don't
see a follow up patch using these in any boards.

Also, please Cc LAKML for DT patches.


Regards
ChenYu
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM: dts: sun6i-a31: Add pins definitions for more UARTs
       [not found]     ` <CAGb2v669OCEJ_f5Oy8vCmd6sYsrgbLLTN4fq==thQ9JJ3F3CVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-10-26  5:05       ` Luis Araneda
       [not found]         ` <CAHbBuxraeMd1jB1EkA8g9Z2nPWFxgubUx00VorSAz1S11PqRMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Araneda @ 2015-10-26  5:05 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Maxime Ripard, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King, devicetree

Hi,

You're right on that these pins aren't currently in use by any .dts
file, but the manufacturer, Sinovoip,
should be submitting a .dts file for the board soon, and if they
don't, I'm sure the Linux-Sunxi community will do.
You can see a work-in-progress device tree at:
https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel/blob/master/arch/arm/boot/dts/sun6i-a31s-bananapi-m2.dts

Apologies in advance if some of what I've written is against any rule,
I read them, but something might be wrong because this is my first
attempt to submit a patch.

Cheers,
Luis Araneda.

On Mon, Oct 26, 2015 at 12:47 AM, Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> wrote:
> Hi,
>
> On Mon, Oct 26, 2015 at 11:07 AM, Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> Two additional UARTs tested on the GPIO pins from the
>> Banana Pi M2 board
>>
>> Signed-off-by: Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> ---
>
> IIRC the policy we have is only add stuff that is actually used. I don't
> see a follow up patch using these in any boards.
>
> Also, please Cc LAKML for DT patches.
>
>
> Regards
> ChenYu
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM: dts: sun6i-a31: Add pins definitions for more UARTs
       [not found]         ` <CAHbBuxraeMd1jB1EkA8g9Z2nPWFxgubUx00VorSAz1S11PqRMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-10-26  6:57           ` Chen-Yu Tsai
  0 siblings, 0 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2015-10-26  6:57 UTC (permalink / raw)
  To: Luis Araneda
  Cc: Chen-Yu Tsai, Maxime Ripard, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, devicetree

On Mon, Oct 26, 2015 at 1:05 PM, Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> You're right on that these pins aren't currently in use by any .dts
> file, but the manufacturer, Sinovoip,
> should be submitting a .dts file for the board soon, and if they
> don't, I'm sure the Linux-Sunxi community will do.
> You can see a work-in-progress device tree at:
> https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel/blob/master/arch/arm/boot/dts/sun6i-a31s-bananapi-m2.dts

Hans already submitted one. See:

https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/commit/?h=sunxi/dt-for-4.4&id=c2aa565107fb

>
> Apologies in advance if some of what I've written is against any rule,
> I read them, but something might be wrong because this is my first
> attempt to submit a patch.

No problem. :)

ChenYu

> Cheers,
> Luis Araneda.
>
> On Mon, Oct 26, 2015 at 12:47 AM, Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> wrote:
>> Hi,
>>
>> On Mon, Oct 26, 2015 at 11:07 AM, Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> Two additional UARTs tested on the GPIO pins from the
>>> Banana Pi M2 board
>>>
>>> Signed-off-by: Luis Araneda <luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>> ---
>>
>> IIRC the policy we have is only add stuff that is actually used. I don't
>> see a follow up patch using these in any boards.
>>
>> Also, please Cc LAKML for DT patches.
>>
>>
>> Regards
>> ChenYu
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-10-26  6:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26  3:07 [PATCH] ARM: dts: sun6i-a31: Add pins definitions for more UARTs Luis Araneda
     [not found] ` <1445828876-35549-1-git-send-email-luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-26  3:47   ` Chen-Yu Tsai
     [not found]     ` <CAGb2v669OCEJ_f5Oy8vCmd6sYsrgbLLTN4fq==thQ9JJ3F3CVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  5:05       ` Luis Araneda
     [not found]         ` <CAHbBuxraeMd1jB1EkA8g9Z2nPWFxgubUx00VorSAz1S11PqRMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  6:57           ` Chen-Yu Tsai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.