linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add Mediatek X20 Development Board support
@ 2018-05-29  4:52 Manivannan Sadhasivam
  2018-05-29  4:52 ` [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind Manivannan Sadhasivam
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Manivannan Sadhasivam @ 2018-05-29  4:52 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Add devicetree support for Mediatek X20 Development Board by Archermind.
This board is based on the Deca-Core MT6797 SoC from Mediatek and is
one of the 96Boards Consumer Edition platform.

With this devicetree change, board can boot into initramfs.

More information about this board can be found in 96Boards product page:
https://www.96boards.org/product/mediatek-x20/

Manivannan Sadhasivam (2):
  dt-bindings: Add vendor prefix for ArcherMind
  arm64: dts: Add Mediatek X20 Development Board support

 .../devicetree/bindings/vendor-prefixes.txt   |  1 +
 arch/arm64/boot/dts/mediatek/Makefile         |  1 +
 .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts

-- 
2.17.0

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

* [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind
  2018-05-29  4:52 [PATCH 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
@ 2018-05-29  4:52 ` Manivannan Sadhasivam
  2018-05-31 17:16   ` Rob Herring
  2018-05-29  4:52 ` [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-05-29  6:38 ` [PATCH 0/2] " Matthias Brugger
  2 siblings, 1 reply; 8+ messages in thread
From: Manivannan Sadhasivam @ 2018-05-29  4:52 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Add vendor prefix for ArcherMind Technology (Nanjing) Co., Ltd.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index a38d8bfae19c..f601acb5a0b4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -32,6 +32,7 @@ andestech	Andes Technology Corporation
 apm	Applied Micro Circuits Corporation (APM)
 aptina	Aptina Imaging
 arasan	Arasan Chip Systems
+archermind ArcherMind Technology (Nanjing) Co., Ltd.
 arctic	Arctic Sand
 aries	Aries Embedded GmbH
 arm	ARM Ltd.
-- 
2.17.0

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

* [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support
  2018-05-29  4:52 [PATCH 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-05-29  4:52 ` [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind Manivannan Sadhasivam
@ 2018-05-29  4:52 ` Manivannan Sadhasivam
  2018-05-31 17:17   ` Rob Herring
  2018-05-29  6:38 ` [PATCH 0/2] " Matthias Brugger
  2 siblings, 1 reply; 8+ messages in thread
From: Manivannan Sadhasivam @ 2018-05-29  4:52 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Add initial device tree support for Mediatek X20 Development Board
based on MT6797 Deca core SoC. This board is one of the 96Boards
Consumer Edition platform.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 arch/arm64/boot/dts/mediatek/Makefile         |  1 +
 .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index ac17f60f998c..5b7fd6ad96e4 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -3,5 +3,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt2712-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6755-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb
diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
new file mode 100644
index 000000000000..2c09ca95d9e2
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for MediaTek X20 Development Board
+ *
+ * Copyright (C) 2018, Linaro Ltd.
+ *
+ */
+
+/dts-v1/;
+
+#include "mt6797.dtsi"
+
+/ {
+	model = "Mediatek X20 Development Board";
+	compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	memory@40000000 {
+		device_type = "memory";
+		reg = <0 0x40000000 0 0x1e605000>;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart1 {
+	status = "okay";
+};
-- 
2.17.0

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

* Re: [PATCH 0/2] Add Mediatek X20 Development Board support
  2018-05-29  4:52 [PATCH 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-05-29  4:52 ` [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind Manivannan Sadhasivam
  2018-05-29  4:52 ` [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
@ 2018-05-29  6:38 ` Matthias Brugger
  2018-05-29  7:27   ` Manivannan Sadhasivam
  2 siblings, 1 reply; 8+ messages in thread
From: Matthias Brugger @ 2018-05-29  6:38 UTC (permalink / raw)
  To: Manivannan Sadhasivam, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Mars Cheng, Saber Rezvani

Hi Manivannan,

it's nice to see that someone at Linaro cares about upstreaming the 96 board.
>From what I can see, your patches add the very same support to the board as
does the mt6797 evaluation board. Do you have plans to upstream more drivers for
the board? Do you have a roadmap or something?

I'm asking becuase I don't want to have just another dead devicetree in the
kernel which does nothing but provides a boot to rootfs. Especially as this can
be achieved on the same board with the EVB dts.

Regards,
Matthias

On 29/05/18 06:52, Manivannan Sadhasivam wrote:
> Add devicetree support for Mediatek X20 Development Board by Archermind.
> This board is based on the Deca-Core MT6797 SoC from Mediatek and is
> one of the 96Boards Consumer Edition platform.
> 
> With this devicetree change, board can boot into initramfs.
> 
> More information about this board can be found in 96Boards product page:
> https://www.96boards.org/product/mediatek-x20/
> 
> Manivannan Sadhasivam (2):
>   dt-bindings: Add vendor prefix for ArcherMind
>   arm64: dts: Add Mediatek X20 Development Board support
> 
>  .../devicetree/bindings/vendor-prefixes.txt   |  1 +
>  arch/arm64/boot/dts/mediatek/Makefile         |  1 +
>  .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
>  3 files changed, 35 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> 

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

* Re: [PATCH 0/2] Add Mediatek X20 Development Board support
  2018-05-29  6:38 ` [PATCH 0/2] " Matthias Brugger
@ 2018-05-29  7:27   ` Manivannan Sadhasivam
  2018-06-05 15:15     ` Matthias Brugger
  0 siblings, 1 reply; 8+ messages in thread
From: Manivannan Sadhasivam @ 2018-05-29  7:27 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: robh+dt, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, taiten.peng, daniel.thompson, amit.kucheria,
	manivannanece23, Mars Cheng, Saber Rezvani

Hi Matthias,

On Tue, May 29, 2018 at 08:38:27AM +0200, Matthias Brugger wrote:
> Hi Manivannan,
> 
> it's nice to see that someone at Linaro cares about upstreaming the 96 board.
> From what I can see, your patches add the very same support to the board as
> does the mt6797 evaluation board. Do you have plans to upstream more drivers for
> the board? Do you have a roadmap or something?
> 
> I'm asking becuase I don't want to have just another dead devicetree in the
> kernel which does nothing but provides a boot to rootfs. Especially as this can
> be achieved on the same board with the EVB dts.
> 

I can understand your concern here. I do have plans to add more drivers
in the future for this board but I can't give you any roadmap for that
since it mostly falls under the spare time work and I have been doing a
similar kind of work for the Bubblegum-96 board in parallel.

At most I can guarentee that this board's functionality will be added
gradually in upcoming days.

Thanks,
Mani

> Regards,
> Matthias
> 
> On 29/05/18 06:52, Manivannan Sadhasivam wrote:
> > Add devicetree support for Mediatek X20 Development Board by Archermind.
> > This board is based on the Deca-Core MT6797 SoC from Mediatek and is
> > one of the 96Boards Consumer Edition platform.
> > 
> > With this devicetree change, board can boot into initramfs.
> > 
> > More information about this board can be found in 96Boards product page:
> > https://www.96boards.org/product/mediatek-x20/
> > 
> > Manivannan Sadhasivam (2):
> >   dt-bindings: Add vendor prefix for ArcherMind
> >   arm64: dts: Add Mediatek X20 Development Board support
> > 
> >  .../devicetree/bindings/vendor-prefixes.txt   |  1 +
> >  arch/arm64/boot/dts/mediatek/Makefile         |  1 +
> >  .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
> >  3 files changed, 35 insertions(+)
> >  create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> > 

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

* Re: [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind
  2018-05-29  4:52 ` [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind Manivannan Sadhasivam
@ 2018-05-31 17:16   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-05-31 17:16 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: matthias.bgg, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, taiten.peng, daniel.thompson, amit.kucheria,
	manivannanece23

On Tue, May 29, 2018 at 10:22:57AM +0530, Manivannan Sadhasivam wrote:
> Add vendor prefix for ArcherMind Technology (Nanjing) Co., Ltd.
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

I've applied this while you all debate the dts file.

Rob

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

* Re: [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support
  2018-05-29  4:52 ` [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
@ 2018-05-31 17:17   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-05-31 17:17 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: matthias.bgg, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, taiten.peng, daniel.thompson, amit.kucheria,
	manivannanece23

tOn Tue, May 29, 2018 at 10:22:58AM +0530, Manivannan Sadhasivam wrote:
> Add initial device tree support for Mediatek X20 Development Board
> based on MT6797 Deca core SoC. This board is one of the 96Boards
> Consumer Edition platform.
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
>  arch/arm64/boot/dts/mediatek/Makefile         |  1 +
>  .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
>  2 files changed, 34 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> 
> diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
> index ac17f60f998c..5b7fd6ad96e4 100644
> --- a/arch/arm64/boot/dts/mediatek/Makefile
> +++ b/arch/arm64/boot/dts/mediatek/Makefile
> @@ -3,5 +3,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt2712-evb.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6755-evb.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb
> +dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb
> diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> new file mode 100644
> index 000000000000..2c09ca95d9e2
> --- /dev/null
> +++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> @@ -0,0 +1,33 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Device Tree Source for MediaTek X20 Development Board
> + *
> + * Copyright (C) 2018, Linaro Ltd.
> + *
> + */
> +
> +/dts-v1/;
> +
> +#include "mt6797.dtsi"
> +
> +/ {
> +	model = "Mediatek X20 Development Board";
> +	compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";

The board compatible needs documenting.

> +
> +	aliases {
> +		serial0 = &uart1;
> +	};
> +
> +	memory@40000000 {
> +		device_type = "memory";
> +		reg = <0 0x40000000 0 0x1e605000>;
> +	};
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +};
> +
> +&uart1 {
> +	status = "okay";
> +};
> -- 
> 2.17.0
> 

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

* Re: [PATCH 0/2] Add Mediatek X20 Development Board support
  2018-05-29  7:27   ` Manivannan Sadhasivam
@ 2018-06-05 15:15     ` Matthias Brugger
  0 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2018-06-05 15:15 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: robh+dt, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, taiten.peng, daniel.thompson, amit.kucheria,
	manivannanece23, Mars Cheng, Saber Rezvani



On 29/05/18 09:27, Manivannan Sadhasivam wrote:
> Hi Matthias,
> 
> On Tue, May 29, 2018 at 08:38:27AM +0200, Matthias Brugger wrote:
>> Hi Manivannan,
>>
>> it's nice to see that someone at Linaro cares about upstreaming the 96 board.
>> From what I can see, your patches add the very same support to the board as
>> does the mt6797 evaluation board. Do you have plans to upstream more drivers for
>> the board? Do you have a roadmap or something?
>>
>> I'm asking becuase I don't want to have just another dead devicetree in the
>> kernel which does nothing but provides a boot to rootfs. Especially as this can
>> be achieved on the same board with the EVB dts.
>>
> 
> I can understand your concern here. I do have plans to add more drivers
> in the future for this board but I can't give you any roadmap for that
> since it mostly falls under the spare time work and I have been doing a
> similar kind of work for the Bubblegum-96 board in parallel.
> 
> At most I can guarentee that this board's functionality will be added
> gradually in upcoming days.
> 

Sounds good. Fancy to send a v2 with the comments from Rob?

Regards,
Matthias

> Thanks,
> Mani
> 
>> Regards,
>> Matthias
>>
>> On 29/05/18 06:52, Manivannan Sadhasivam wrote:
>>> Add devicetree support for Mediatek X20 Development Board by Archermind.
>>> This board is based on the Deca-Core MT6797 SoC from Mediatek and is
>>> one of the 96Boards Consumer Edition platform.
>>>
>>> With this devicetree change, board can boot into initramfs.
>>>
>>> More information about this board can be found in 96Boards product page:
>>> https://www.96boards.org/product/mediatek-x20/
>>>
>>> Manivannan Sadhasivam (2):
>>>   dt-bindings: Add vendor prefix for ArcherMind
>>>   arm64: dts: Add Mediatek X20 Development Board support
>>>
>>>  .../devicetree/bindings/vendor-prefixes.txt   |  1 +
>>>  arch/arm64/boot/dts/mediatek/Makefile         |  1 +
>>>  .../boot/dts/mediatek/mt6797-x20-dev.dts      | 33 +++++++++++++++++++
>>>  3 files changed, 35 insertions(+)
>>>  create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
>>>

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

end of thread, other threads:[~2018-06-05 15:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29  4:52 [PATCH 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
2018-05-29  4:52 ` [PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind Manivannan Sadhasivam
2018-05-31 17:16   ` Rob Herring
2018-05-29  4:52 ` [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
2018-05-31 17:17   ` Rob Herring
2018-05-29  6:38 ` [PATCH 0/2] " Matthias Brugger
2018-05-29  7:27   ` Manivannan Sadhasivam
2018-06-05 15:15     ` 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).