devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mediatek: dts: Add UART dts for MT8127 and MT8135 boards
@ 2015-01-05 12:28 Eddie Huang
  2015-01-08 11:18 ` Matthias Brugger
  0 siblings, 1 reply; 2+ messages in thread
From: Eddie Huang @ 2015-01-05 12:28 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: srv_heupstream-NuS5LvNUpcJWk0Htik3J/w, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
	yh.chen-NuS5LvNUpcJWk0Htik3J/w, Eddie Huang

This patch enable UART for MT8127 moose board and MT8135 evalution board.
Adding the dts, these two boards can show log and shell prompts.
This patch base on my previous MT8135/MT8127 SoC UART dtsi patch [1] and
Matthias's modification to disable SoC UART by default.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/312311.html

Signed-off-by: Eddie Huang <eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
---
 arch/arm/boot/dts/mt8127-moose.dts | 4 ++++
 arch/arm/boot/dts/mt8135-evbp1.dts | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/mt8127-moose.dts b/arch/arm/boot/dts/mt8127-moose.dts
index 13cba0e..073e295 100644
--- a/arch/arm/boot/dts/mt8127-moose.dts
+++ b/arch/arm/boot/dts/mt8127-moose.dts
@@ -23,3 +23,7 @@
 		reg = <0 0x80000000 0 0x40000000>;
 	};
 };
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/mt8135-evbp1.dts b/arch/arm/boot/dts/mt8135-evbp1.dts
index a5adf97..3667738 100644
--- a/arch/arm/boot/dts/mt8135-evbp1.dts
+++ b/arch/arm/boot/dts/mt8135-evbp1.dts
@@ -23,3 +23,7 @@
 		reg = <0 0x80000000 0 0x40000000>;
 	};
 };
+
+&uart3 {
+	status = "okay";
+};
-- 
1.8.1.1.dirty

--
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] 2+ messages in thread

* Re: [PATCH] ARM: mediatek: dts: Add UART dts for MT8127 and MT8135 boards
  2015-01-05 12:28 [PATCH] ARM: mediatek: dts: Add UART dts for MT8127 and MT8135 boards Eddie Huang
@ 2015-01-08 11:18 ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2015-01-08 11:18 UTC (permalink / raw)
  To: Eddie Huang
  Cc: Mark Rutland, devicetree@vger.kernel.org, Russell King,
	srv_heupstream, Pawel Moll, Ian Campbell,
	YH Chen (陳昱豪), linux-kernel@vger.kernel.org,
	Rob Herring, Kumar Gala, Yingjoe Chen,
	linux-arm-kernel@lists.infradead.org

Hi Eddie,

2015-01-05 13:28 GMT+01:00 Eddie Huang <eddie.huang@mediatek.com>:
> This patch enable UART for MT8127 moose board and MT8135 evalution board.
> Adding the dts, these two boards can show log and shell prompts.
> This patch base on my previous MT8135/MT8127 SoC UART dtsi patch [1] and
> Matthias's modification to disable SoC UART by default.

I applied this patch deleting this two lines and the reference. From
my understanding this is extra information about the patch depends on
the actual development process and should normally be in the cover
letter but not in the patch description itself.

Thanks,
Matthias

>
> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/312311.html
>
> Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
> ---
>  arch/arm/boot/dts/mt8127-moose.dts | 4 ++++
>  arch/arm/boot/dts/mt8135-evbp1.dts | 4 ++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt8127-moose.dts b/arch/arm/boot/dts/mt8127-moose.dts
> index 13cba0e..073e295 100644
> --- a/arch/arm/boot/dts/mt8127-moose.dts
> +++ b/arch/arm/boot/dts/mt8127-moose.dts
> @@ -23,3 +23,7 @@
>                 reg = <0 0x80000000 0 0x40000000>;
>         };
>  };
> +
> +&uart0 {
> +       status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/mt8135-evbp1.dts b/arch/arm/boot/dts/mt8135-evbp1.dts
> index a5adf97..3667738 100644
> --- a/arch/arm/boot/dts/mt8135-evbp1.dts
> +++ b/arch/arm/boot/dts/mt8135-evbp1.dts
> @@ -23,3 +23,7 @@
>                 reg = <0 0x80000000 0 0x40000000>;
>         };
>  };
> +
> +&uart3 {
> +       status = "okay";
> +};
> --
> 1.8.1.1.dirty
>



-- 
motzblog.wordpress.com

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

end of thread, other threads:[~2015-01-08 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 12:28 [PATCH] ARM: mediatek: dts: Add UART dts for MT8127 and MT8135 boards Eddie Huang
2015-01-08 11:18 ` Matthias Brugger

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).