Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248424 > unrolled thread

[PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0

Started byJisheng Zhang <jszhang@marvell.com>
First post2015-10-16 09:50 +0200
Last post2015-10-16 22:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0 Jisheng Zhang <jszhang@marvell.com> - 2015-10-16 09:50 +0200
    Re: [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0 Linus Walleij <linus.walleij@linaro.org> - 2015-10-16 16:20 +0200
      Re: [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for  uart0 Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> - 2015-10-16 22:20 +0200

#1248424 — [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0

FromJisheng Zhang <jszhang@marvell.com>
Date2015-10-16 09:50 +0200
Subject[PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0
Message-ID<qk7W2-872-33@gated-at.bofh.it>
Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses
them to work, no other possibilities.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
---
 arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
index 8e66355..a4a1876 100644
--- a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
+++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
@@ -288,12 +288,19 @@
 				clocks = <&osc>;
 				reg-shift = <2>;
 				status = "disabled";
+				pinctrl-0 = <&uart0_pmux>;
+				pinctrl-names = "default";
 			};
 		};
 
 		system_pinctrl: pin-controller@fe2200 {
 			compatible = "marvell,berlin4ct-system-pinctrl";
 			reg = <0xfe2200 0xc>;
+
+			uart0_pmux: uart0-pmux {
+				groups = "SM_URT0_TXD", "SM_URT0_RXD";
+				function = "uart0";
+			};
 		};
 	};
 };
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1248800

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-10-16 16:20 +0200
Message-ID<qke1s-jy-23@gated-at.bofh.it>
In reply to#1248424
On Fri, Oct 16, 2015 at 9:37 AM, Jisheng Zhang <jszhang@marvell.com> wrote:

> Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses
> them to work, no other possibilities.
>
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Funnel this through ARM SoC.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1249134 — Re: [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0

FromSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Date2015-10-16 22:20 +0200
SubjectRe: [PATCH v6 7/7] arm64: dts: berlin4ct: add default pinmux for uart0
Message-ID<qkjDP-ax-5@gated-at.bofh.it>
In reply to#1248800
On 16.10.2015 16:18, Linus Walleij wrote:
> On Fri, Oct 16, 2015 at 9:37 AM, Jisheng Zhang <jszhang@marvell.com> wrote:
>
>> Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses
>> them to work, no other possibilities.
>>
>> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
>> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> Funnel this through ARM SoC.

Applied to berlin64/dt with Linus' Ack.

Thanks,
Sebastian

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web