arm64: dts: Initial ProBox2 Ava support
Subsystems (2)
cover arm64: dts: Initial ProBox2 Ava support
Hello,
This mini-series adds a Device Tree for the PROBOX2 AVA Android TV Box.
Unlike the Zidoo X9S, serial (loady) was the only working way to boot a new kernel from the vendor's U-Boot on this TV Box.
PROBOX2 support has been informed about bootloader issues with Ethernet, USB and FAT on SD; the same symptoms have since been observed on the Lake I, so be warned that those bugs might inconvenience other RTD1295 devices, too.
More details at:
https://en.opensuse.org/HCL:ProBox2_Ava
@PROBOX2: Please review the following three patches and either signal your acknowledgement of my naming with an "Acked-by: name <email>" line or point out any changes you would like to see applied (e.g., company name). Thanks!
Latest experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next
Have a lot of fun!
Cheers,
Andreas
Andreas F?rber (3):
dt-bindings: Add vendor prefix for ProBox2
dt-bindings: arm: realtek: Add ProBox2 AVA
arm64: dts: realtek: Add ProBox2 Ava
Documentation/devicetree/bindings/arm/realtek.txt | 1 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm64/boot/dts/realtek/Makefile | 1 + .../arm64/boot/dts/realtek/rtd1295-probox2-ava.dts | 31 ++++++++++++++++++++++ arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 6 ----- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 +++++ 6 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts
Signature · 1 line
2.12.3
PATCH 1/3 dt-bindings: Add vendor prefix for ProBox2
PROBOX2 is a Hong Kong based manufacturer of TV boxes.
---
I did not find a fully spelled out company name for this brand.
http://probox2.com/contact-us/
https://www.facebook.com/pg/probox2/about/
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -261,6 +261,7 @@ plathome Plat'Home Co., Ltd. plda PLDA poslab Poslab Technology Co., Ltd. powervr PowerVR (deprecated, use img) +probox2 PROBOX2 pulsedlight PulsedLight, Inc qca Qualcomm Atheros, Inc. qcom Qualcomm Technologies, Inc
Signature · 1 line
2.12.3
Re: [PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2
Quoted 4 lines · Andreas F?rber
PROBOX2 is a Hong Kong based manufacturer of TV boxes.
Cc support at probox2.comSigned-off-by Andreas F?rber <[email protected]>
Quoted 8 lines
---
I did not find a fully spelled out company name for this brand.http://probox2.com/contact-us/
https://www.facebook.com/pg/probox2/about/Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Re: [PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2
Hi Rob,
For the company of the brand is W2COMP COMPANY LIMITED or you can write PROBOX2.
thanks,
Wilson
PROBOX2
Quoted 16 lines · Rob Herring
Quoted 4 lines · Andreas Färber
PROBOX2 is a Hong Kong based manufacturer of TV boxes.
Signed-off-by Andreas Färber <[email protected]>Quoted 8 lines
---
I did not find a fully spelled out company name for this brand.http://probox2.com/contact-us/
https://www.facebook.com/pg/probox2/about/Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)Acked-by Rob Herring <[email protected]>
Re: [PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2
Hi Wilson,
Please note that HTML-format mails are not permitted on most Linux mailing lists, so your below message did not arrive for the other reviewers.
Am 01.09.2017 um 04:11 schrieb PROBOX2-CS:
Quoted 4 lines
Hi Rob,
For the company of the brand is W2COMP COMPANY LIMITED or you can write PROBOX2.
My updated proposal is:
probox2 PROBOX2 (by W2COMP Co., Ltd.)
Rationale: Repeating the same name with just different casing on the right does not provide additional information to a reader wondering whom this prefix belongs to and whether to use it for new compatible strings.
If that proposal is okay with you, we still need to figure out how to describe your company in the commit message below.
Quoted 9 lines
thanks,
Wilson
PROBOX2On Fri, Sep 1, 2017 at 5:14 AM, Rob Herring <[email protected] <mailto:[email protected]>> wrote:
On Sun, Aug 27, 2017 at 02:54:23PM +0200, Andreas F?rber wrote:
> PROBOX2 is a Hong Kong based manufacturer of TV boxes.
W2COMP describes itself as an "online reseller", and PROBOX2 does not have any About Us page to derive a fair description from - "reseller" appears to contradict my above description as "manufacturer". Therefore my (unanswered) off-list inquiry from Aug 28, when you first mentioned W2COMP to me.
So what about: "PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP Company Limited."?
CC'ing William.
Thanks,
Andreas
Quoted 15 lines
Quoted 3 lines
Cc support at probox2.com <mailto:[email protected]>Signed-off-by Andreas F?rber <[email protected]<mailto:[email protected]>> > --- > I did not find a fully spelled out company name for this brand. > > http://probox2.com/contact-us/ > https://www.facebook.com/pg/probox2/about/ <https://www.facebook.com/pg/probox2/about/> > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh at kernel.org <mailto:[email protected]>>
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
PATCH v2 1/3 dt-bindings: Add vendor prefix for ProBox2
PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP Company Limited.
---
v1 -> v2:
* Extend the vendor prefix explanation with info provided by PROBOX2
* Fix the commit message accordingly
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -264,6 +264,7 @@ plathome Plat'Home Co., Ltd. plda PLDA poslab Poslab Technology Co., Ltd. powervr PowerVR (deprecated, use img) +probox2 PROBOX2 (by W2COMP Co., Ltd.) pulsedlight PulsedLight, Inc qca Qualcomm Atheros, Inc. qcom Qualcomm Technologies, Inc
Signature · 1 line
2.13.5
Re: [PATCH v2 1/3] dt-bindings: Add vendor prefix for ProBox2
Am 19.09.2017 um 23:54 schrieb Andreas F?rber:
Quoted 10 lines
PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP Company Limited.
Cc support at probox2.comAcked-by Rob Herring <[email protected]>Signed-off-by Andreas F?rber <[email protected]>---
v1 -> v2:
* Extend the vendor prefix explanation with info provided by PROBOX2
* Fix the commit message accordingly
No objections to the v2 texts, so full series applied:
https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v4.15/dt64
Thanks,
Andreas
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
PATCH 2/3 dt-bindings: arm: realtek: Add ProBox2 AVA
In reply to Andreas FärberDocument a compatible string for the PROBOX2 AVA TV Box.
--- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/realtek.txt +1 -0
@@ -12,6 +12,7 @@ Required root node properties: Root node property compatible must contain, depending on board: + - ProBox2 AVA: "probox2,ava" - Zidoo X9S: "zidoo,x9s"
Signature · 1 line
2.12.3
Re: [PATCH 2/3] dt-bindings: arm: realtek: Add ProBox2 AVA
Quoted 7 lines · Andreas F?rber
Document a compatible string for the PROBOX2 AVA TV Box.
Cc support at probox2.comSigned-off-by Andreas F?rber <[email protected]>--- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+)
PATCH 3/3 arm64: dts: realtek: Add ProBox2 Ava
In reply to Andreas FärberAdd a Device Tree for the PROBOX2 AVA TV Box. Move common memory reservations into rtd1295.dtsi.
---
I've been torn on whether this should be just rtd1295-ava.dts? The vendor is indicated in the compatible string and model property. rtd1295-x9s.dts hadn't sounded unique enough to me, but we might revisit that.
arch/arm64/boot/dts/realtek/Makefile | 1 + .../arm64/boot/dts/realtek/rtd1295-probox2-ava.dts | 31 ++++++++++++++++++++++ arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 6 ----- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 +++++ 4 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts
arch/arm64/boot/dts/realtek/Makefile +1 -0
@@ -1,3 +1,4 @@ +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb always := $(dtb-y)
arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts new file +31 -0
@@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017 Andreas F?rber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "probox2,ava", "realtek,rtd1295"; + model = "PROBOX2 AVA"; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +};
arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts +0 -6
@@ -6,12 +6,6 @@ /dts-v1/; -/memreserve/ 0x0000000000000000 0x0000000000030000; -/memreserve/ 0x000000000001f000 0x0000000000001000; -/memreserve/ 0x0000000000030000 0x00000000000d0000; -/memreserve/ 0x0000000001b00000 0x00000000004be000; -/memreserve/ 0x0000000001ffe000 0x0000000000004000; - #include "rtd1295.dtsi" / {
arch/arm64/boot/dts/realtek/rtd1295.dtsi +6 -0
@@ -6,6 +6,12 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/memreserve/ 0x0000000000000000 0x0000000000030000; +/memreserve/ 0x000000000001f000 0x0000000000001000; +/memreserve/ 0x0000000000030000 0x00000000000d0000; +/memreserve/ 0x0000000001b00000 0x00000000004be000; +/memreserve/ 0x0000000001ffe000 0x0000000000004000; + #include <dt-bindings/clock/realtek,rtd1295.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/reset/realtek,rtd1295.h>
Signature · 1 line
2.12.3