* [PATCH RESEND 0/2] arm: dts: berlin: use stdout-path
@ 2015-09-14 6:42 Jisheng Zhang
2015-09-14 6:42 ` [PATCH RESEND 1/2] arm: dts: berlin: add aliases for serial Jisheng Zhang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jisheng Zhang @ 2015-09-14 6:42 UTC (permalink / raw)
To: sebastian.hesselbarth, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Jisheng Zhang
These two simple patches use stdout-path to specify the console.
The first patch add aliases for serial uarts. The second patch
removes the console argument from the command line, uses stdout-path
instead.
Jisheng Zhang (2):
arm: dts: berlin: add aliases for serial
arm: dts: berlin: use stdout-path
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++-
arch/arm/boot/dts/berlin2.dtsi | 6 ++++++
arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++-
arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++
arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++-
arch/arm/boot/dts/berlin2q.dtsi | 5 +++++
6 files changed, 22 insertions(+), 3 deletions(-)
--
2.5.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH RESEND 1/2] arm: dts: berlin: add aliases for serial
2015-09-14 6:42 [PATCH RESEND 0/2] arm: dts: berlin: use stdout-path Jisheng Zhang
@ 2015-09-14 6:42 ` Jisheng Zhang
2015-09-14 6:42 ` [PATCH RESEND 2/2] arm: dts: berlin: use stdout-path Jisheng Zhang
[not found] ` <1442212933-760-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2 siblings, 0 replies; 4+ messages in thread
From: Jisheng Zhang @ 2015-09-14 6:42 UTC (permalink / raw)
To: sebastian.hesselbarth, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Jisheng Zhang
This is to prepare for the using stdout-path in next commit.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
arch/arm/boot/dts/berlin2.dtsi | 6 ++++++
arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++
arch/arm/boot/dts/berlin2q.dtsi | 5 +++++
3 files changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi
index ef811de..40cf262 100644
--- a/arch/arm/boot/dts/berlin2.dtsi
+++ b/arch/arm/boot/dts/berlin2.dtsi
@@ -47,6 +47,12 @@
model = "Marvell Armada 1500 (BG2) SoC";
compatible = "marvell,berlin2", "marvell,berlin";
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ serial2 = &uart2;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
index 900213d..6246aec 100644
--- a/arch/arm/boot/dts/berlin2cd.dtsi
+++ b/arch/arm/boot/dts/berlin2cd.dtsi
@@ -47,6 +47,11 @@
model = "Marvell Armada 1500-mini (BG2CD) SoC";
compatible = "marvell,berlin2cd", "marvell,berlin";
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 63a4849..380fa18 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -43,6 +43,11 @@
model = "Marvell Armada 1500 pro (BG2-Q) SoC";
compatible = "marvell,berlin2q", "marvell,berlin";
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
--
2.5.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH RESEND 2/2] arm: dts: berlin: use stdout-path
2015-09-14 6:42 [PATCH RESEND 0/2] arm: dts: berlin: use stdout-path Jisheng Zhang
2015-09-14 6:42 ` [PATCH RESEND 1/2] arm: dts: berlin: add aliases for serial Jisheng Zhang
@ 2015-09-14 6:42 ` Jisheng Zhang
[not found] ` <1442212933-760-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2 siblings, 0 replies; 4+ messages in thread
From: Jisheng Zhang @ 2015-09-14 6:42 UTC (permalink / raw)
To: sebastian.hesselbarth, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Jisheng Zhang
Use stdout-path to specify the console and remove the console argument
from the kernel command line.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++-
arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++-
arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts b/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts
index 5c99fb3..3c0907b 100644
--- a/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts
+++ b/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts
@@ -45,7 +45,8 @@
compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin";
chosen {
- bootargs = "console=ttyS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
memory {
diff --git a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts
index 772165a..8ba8b50 100644
--- a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts
+++ b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts
@@ -46,7 +46,8 @@
compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin";
chosen {
- bootargs = "console=ttyS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
memory {
diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
index 4a749e5..da28c97 100644
--- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
+++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
@@ -49,7 +49,8 @@
};
choosen {
- bootargs = "console=ttyS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
regulators {
--
2.5.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND 0/2] arm: dts: berlin: use stdout-path
[not found] ` <1442212933-760-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
@ 2015-09-20 18:09 ` Sebastian Hesselbarth
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Hesselbarth @ 2015-09-20 18:09 UTC (permalink / raw)
To: Jisheng Zhang, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On 14.09.2015 08:42, Jisheng Zhang wrote:
> These two simple patches use stdout-path to specify the console.
> The first patch add aliases for serial uarts. The second patch
> removes the console argument from the command line, uses stdout-path
> instead.
>
> Jisheng Zhang (2):
> arm: dts: berlin: add aliases for serial
> arm: dts: berlin: use stdout-path
Applied to berlin/dt.
Thanks,
Sebastian
> arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++-
> arch/arm/boot/dts/berlin2.dtsi | 6 ++++++
> arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++-
> arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++
> arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++-
> arch/arm/boot/dts/berlin2q.dtsi | 5 +++++
> 6 files changed, 22 insertions(+), 3 deletions(-)
>
--
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-09-20 18:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 6:42 [PATCH RESEND 0/2] arm: dts: berlin: use stdout-path Jisheng Zhang
2015-09-14 6:42 ` [PATCH RESEND 1/2] arm: dts: berlin: add aliases for serial Jisheng Zhang
2015-09-14 6:42 ` [PATCH RESEND 2/2] arm: dts: berlin: use stdout-path Jisheng Zhang
[not found] ` <1442212933-760-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2015-09-20 18:09 ` [PATCH RESEND 0/2] " Sebastian Hesselbarth
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).