* [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
@ 2014-03-26 12:19 Vinayak Kale
2014-06-04 10:05 ` Vinayak Kale
[not found] ` <1395836346-9350-1-git-send-email-vkale-qTEPVZfXA3Y@public.gmane.org>
0 siblings, 2 replies; 6+ messages in thread
From: Vinayak Kale @ 2014-03-26 12:19 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: Catalin.Marinas-5wv7dgnIgG8, will.deacon-5wv7dgnIgG8,
patches-qTEPVZfXA3Y, jcm-H+wXaHxf7aLQT0dZR+AlfA, Vinayak Kale
APM X-Gene Storm SoC supports 4 serial ports. This patch adds device nodes
for serial ports 1 to 3 (a device node for serial port 0 is already present
in the dts file).
This patch also sets the compatible property of serial nodes to "ns16550a".
Signed-off-by: Vinayak Kale <vkale-qTEPVZfXA3Y@public.gmane.org>
---
arch/arm64/boot/dts/apm-mustang.dts | 4 ++++
arch/arm64/boot/dts/apm-storm.dtsi | 36 +++++++++++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts
index 1247ca1..6541962 100644
--- a/arch/arm64/boot/dts/apm-mustang.dts
+++ b/arch/arm64/boot/dts/apm-mustang.dts
@@ -24,3 +24,7 @@
reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
};
};
+
+&serial0 {
+ status = "ok";
+};
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
index d37d736..2277b5c 100644
--- a/arch/arm64/boot/dts/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm-storm.dtsi
@@ -179,13 +179,47 @@
};
serial0: serial@1c020000 {
+ status = "disabled";
device_type = "serial";
- compatible = "ns16550";
+ compatible = "ns16550a";
reg = <0 0x1c020000 0x0 0x1000>;
reg-shift = <2>;
clock-frequency = <10000000>; /* Updated by bootloader */
interrupt-parent = <&gic>;
interrupts = <0x0 0x4c 0x4>;
};
+
+ serial1: serial@1c021000 {
+ status = "disabled";
+ device_type = "serial";
+ compatible = "ns16550a";
+ reg = <0 0x1c021000 0x0 0x1000>;
+ reg-shift = <2>;
+ clock-frequency = <10000000>; /* Updated by bootloader */
+ interrupt-parent = <&gic>;
+ interrupts = <0x0 0x4d 0x4>;
+ };
+
+ serial2: serial@1c022000 {
+ status = "disabled";
+ device_type = "serial";
+ compatible = "ns16550a";
+ reg = <0 0x1c022000 0x0 0x1000>;
+ reg-shift = <2>;
+ clock-frequency = <10000000>; /* Updated by bootloader */
+ interrupt-parent = <&gic>;
+ interrupts = <0x0 0x4e 0x4>;
+ };
+
+ serial3: serial@1c023000 {
+ status = "disabled";
+ device_type = "serial";
+ compatible = "ns16550a";
+ reg = <0 0x1c023000 0x0 0x1000>;
+ reg-shift = <2>;
+ clock-frequency = <10000000>; /* Updated by bootloader */
+ interrupt-parent = <&gic>;
+ interrupts = <0x0 0x4f 0x4>;
+ };
};
};
--
1.8.2.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] 6+ messages in thread
* Re: [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
2014-03-26 12:19 [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree Vinayak Kale
@ 2014-06-04 10:05 ` Vinayak Kale
[not found] ` <CAPrCYkcJr5ODY3Sjcq5D_Db-cM3SAXYjUK2H9FGePrO_q0wMEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[not found] ` <1395836346-9350-1-git-send-email-vkale-qTEPVZfXA3Y@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Vinayak Kale @ 2014-06-04 10:05 UTC (permalink / raw)
To: linux-arm-kernel@lists.infradead.org, devicetree
Cc: Catalin Marinas, patches, Vinayak Kale, Will Deacon,
jcm@redhat.com
Hi Catalin / Will,
Can you please merge this one?
Thanks
-Vinayak
On Wed, Mar 26, 2014 at 5:49 PM, Vinayak Kale <vkale@apm.com> wrote:
> APM X-Gene Storm SoC supports 4 serial ports. This patch adds device nodes
> for serial ports 1 to 3 (a device node for serial port 0 is already present
> in the dts file).
> This patch also sets the compatible property of serial nodes to "ns16550a".
>
> Signed-off-by: Vinayak Kale <vkale@apm.com>
> ---
> arch/arm64/boot/dts/apm-mustang.dts | 4 ++++
> arch/arm64/boot/dts/apm-storm.dtsi | 36 +++++++++++++++++++++++++++++++++++-
> 2 files changed, 39 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts
> index 1247ca1..6541962 100644
> --- a/arch/arm64/boot/dts/apm-mustang.dts
> +++ b/arch/arm64/boot/dts/apm-mustang.dts
> @@ -24,3 +24,7 @@
> reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
> };
> };
> +
> +&serial0 {
> + status = "ok";
> +};
> diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
> index d37d736..2277b5c 100644
> --- a/arch/arm64/boot/dts/apm-storm.dtsi
> +++ b/arch/arm64/boot/dts/apm-storm.dtsi
> @@ -179,13 +179,47 @@
> };
>
> serial0: serial@1c020000 {
> + status = "disabled";
> device_type = "serial";
> - compatible = "ns16550";
> + compatible = "ns16550a";
> reg = <0 0x1c020000 0x0 0x1000>;
> reg-shift = <2>;
> clock-frequency = <10000000>; /* Updated by bootloader */
> interrupt-parent = <&gic>;
> interrupts = <0x0 0x4c 0x4>;
> };
> +
> + serial1: serial@1c021000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c021000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4d 0x4>;
> + };
> +
> + serial2: serial@1c022000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c022000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4e 0x4>;
> + };
> +
> + serial3: serial@1c023000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c023000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4f 0x4>;
> + };
> };
> };
> --
> 1.8.2.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
[not found] ` <CAPrCYkcJr5ODY3Sjcq5D_Db-cM3SAXYjUK2H9FGePrO_q0wMEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-06-04 15:41 ` Catalin Marinas
[not found] ` <20140604154116.GN10126-5wv7dgnIgG8@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Catalin Marinas @ 2014-06-04 15:41 UTC (permalink / raw)
To: Vinayak Kale
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Will Deacon,
patches, jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
On Wed, Jun 04, 2014 at 11:05:54AM +0100, Vinayak Kale wrote:
> Can you please merge this one?
I was hoping for an ack/nak from the DT guys before merging it.
--
Catalin
--
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] 6+ messages in thread
* Re: [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
[not found] ` <20140604154116.GN10126-5wv7dgnIgG8@public.gmane.org>
@ 2014-06-05 7:25 ` Vinayak Kale
2014-06-05 8:24 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Vinayak Kale @ 2014-06-05 7:25 UTC (permalink / raw)
To: Catalin Marinas
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Will Deacon,
patches, jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
On Wed, Jun 4, 2014 at 9:11 PM, Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org> wrote:
> On Wed, Jun 04, 2014 at 11:05:54AM +0100, Vinayak Kale wrote:
>> Can you please merge this one?
>
> I was hoping for an ack/nak from the DT guys before merging it.
I'll resend this patch CCing DT folks.
>
> --
> Catalin
--
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] 6+ messages in thread
* Re: [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
[not found] ` <20140604154116.GN10126-5wv7dgnIgG8@public.gmane.org>
2014-06-05 7:25 ` Vinayak Kale
@ 2014-06-05 8:24 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2014-06-05 8:24 UTC (permalink / raw)
To: Catalin Marinas
Cc: Vinayak Kale, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
patches, Will Deacon,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
On Wed, Jun 4, 2014 at 10:41 AM, Catalin Marinas
<catalin.marinas-5wv7dgnIgG8@public.gmane.org> wrote:
> On Wed, Jun 04, 2014 at 11:05:54AM +0100, Vinayak Kale wrote:
>> Can you please merge this one?
>
> I was hoping for an ack/nak from the DT guys before merging it.
We generally don't review every dts change.
Rob
--
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] 6+ messages in thread
* Re: [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree
[not found] ` <1395836346-9350-1-git-send-email-vkale-qTEPVZfXA3Y@public.gmane.org>
@ 2014-06-05 8:43 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2014-06-05 8:43 UTC (permalink / raw)
To: Vinayak Kale
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Catalin Marinas, Will Deacon,
patches-qTEPVZfXA3Y@public.gmane.org,
jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
On Wed, Mar 26, 2014 at 7:19 AM, Vinayak Kale <vkale-qTEPVZfXA3Y@public.gmane.org> wrote:
> APM X-Gene Storm SoC supports 4 serial ports. This patch adds device nodes
> for serial ports 1 to 3 (a device node for serial port 0 is already present
> in the dts file).
> This patch also sets the compatible property of serial nodes to "ns16550a".
>
> Signed-off-by: Vinayak Kale <vkale-qTEPVZfXA3Y@public.gmane.org>
> ---
> arch/arm64/boot/dts/apm-mustang.dts | 4 ++++
> arch/arm64/boot/dts/apm-storm.dtsi | 36 +++++++++++++++++++++++++++++++++++-
> 2 files changed, 39 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts
> index 1247ca1..6541962 100644
> --- a/arch/arm64/boot/dts/apm-mustang.dts
> +++ b/arch/arm64/boot/dts/apm-mustang.dts
> @@ -24,3 +24,7 @@
> reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
> };
> };
> +
> +&serial0 {
> + status = "ok";
> +};
> diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
> index d37d736..2277b5c 100644
> --- a/arch/arm64/boot/dts/apm-storm.dtsi
> +++ b/arch/arm64/boot/dts/apm-storm.dtsi
> @@ -179,13 +179,47 @@
> };
>
> serial0: serial@1c020000 {
> + status = "disabled";
> device_type = "serial";
> - compatible = "ns16550";
> + compatible = "ns16550a";
Generally, changing a compatible string like this is a no-no. You
could be breaking compatibility with different OS versions. However,
this is one generic string to another and they have been around
forever, so I think it is okay. You probably should have a specific
string in case you ever have some quirk in your particular h/w.
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Rob
> reg = <0 0x1c020000 0x0 0x1000>;
> reg-shift = <2>;
> clock-frequency = <10000000>; /* Updated by bootloader */
> interrupt-parent = <&gic>;
> interrupts = <0x0 0x4c 0x4>;
> };
> +
> + serial1: serial@1c021000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c021000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4d 0x4>;
> + };
> +
> + serial2: serial@1c022000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c022000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4e 0x4>;
> + };
> +
> + serial3: serial@1c023000 {
> + status = "disabled";
> + device_type = "serial";
> + compatible = "ns16550a";
> + reg = <0 0x1c023000 0x0 0x1000>;
> + reg-shift = <2>;
> + clock-frequency = <10000000>; /* Updated by bootloader */
> + interrupt-parent = <&gic>;
> + interrupts = <0x0 0x4f 0x4>;
> + };
> };
> };
> --
> 1.8.2.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
--
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] 6+ messages in thread
end of thread, other threads:[~2014-06-05 8:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 12:19 [PATCH] arm64: dts: Add more serial port nodes in APM X-Gene device tree Vinayak Kale
2014-06-04 10:05 ` Vinayak Kale
[not found] ` <CAPrCYkcJr5ODY3Sjcq5D_Db-cM3SAXYjUK2H9FGePrO_q0wMEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-04 15:41 ` Catalin Marinas
[not found] ` <20140604154116.GN10126-5wv7dgnIgG8@public.gmane.org>
2014-06-05 7:25 ` Vinayak Kale
2014-06-05 8:24 ` Rob Herring
[not found] ` <1395836346-9350-1-git-send-email-vkale-qTEPVZfXA3Y@public.gmane.org>
2014-06-05 8:43 ` Rob Herring
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).