diff mbox

ARM: mediatek: dts: Add UART dts for MT8127 and MT8135 boards

Message ID 1420460918-24380-1-git-send-email-eddie.huang@mediatek.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eddie Huang (黃智傑) Jan. 5, 2015, 12:28 p.m. UTC
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@mediatek.com>
---
 arch/arm/boot/dts/mt8127-moose.dts | 4 ++++
 arch/arm/boot/dts/mt8135-evbp1.dts | 4 ++++
 2 files changed, 8 insertions(+)

Comments

Matthias Brugger Jan. 8, 2015, 11:18 a.m. UTC | #1
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
>
diff mbox

Patch

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";
+};