* [PATCH v2 1/3] dt-bindings: vendor-prefixes: add Transpeed
2023-12-14 1:53 [PATCH v2 0/3] arm64: dts: allwinner: Add Transpeed 8K618-T TV box Andre Przywara
@ 2023-12-14 1:53 ` Andre Przywara
2023-12-14 7:43 ` Krzysztof Kozlowski
2023-12-14 1:53 ` [PATCH v2 2/3] dt-bindings: arm: sunxi: document Transpeed 8K618-T board name Andre Przywara
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Andre Przywara @ 2023-12-14 1:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
This is a name used by some Chinese TV boxes, add it to the bindings.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 309b94c328c84..c545c63b316d4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1434,6 +1434,8 @@ patternProperties:
description: TPO
"^tq,.*":
description: TQ-Systems GmbH
+ "^transpeed,.*":
+ description: Transpeed
"^traverse,.*":
description: Traverse Technologies Australia Pty Ltd
"^tronfy,.*":
--
2.35.8
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: add Transpeed
2023-12-14 1:53 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add Transpeed Andre Przywara
@ 2023-12-14 7:43 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-14 7:43 UTC (permalink / raw)
To: Andre Przywara, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
On 14/12/2023 02:53, Andre Przywara wrote:
> This is a name used by some Chinese TV boxes, add it to the bindings.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/3] dt-bindings: arm: sunxi: document Transpeed 8K618-T board name
2023-12-14 1:53 [PATCH v2 0/3] arm64: dts: allwinner: Add Transpeed 8K618-T TV box Andre Przywara
2023-12-14 1:53 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add Transpeed Andre Przywara
@ 2023-12-14 1:53 ` Andre Przywara
2023-12-14 1:53 ` [PATCH v2 3/3] arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box Andre Przywara
2023-12-14 18:56 ` [PATCH v2 0/3] arm64: dts: allwinner: Add " Jernej Škrabec
3 siblings, 0 replies; 7+ messages in thread
From: Andre Przywara @ 2023-12-14 1:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
The Transpeed 8K618-T TV box is a Chinese Android TV box, using the
Allwinner H618 SoC.
Add the board/SoC compatible string pair to the list of known boards.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index 11c5ce941dd7e..5e91110cc9eb8 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -868,6 +868,11 @@ properties:
- const: topwise,a721
- const: allwinner,sun4i-a10
+ - description: Transpeed 8K618-T
+ items:
+ - const: transpeed,8k618-t
+ - const: allwinner,sun50i-h618
+
- description: Utoo P66
items:
- const: utoo,p66
--
2.35.8
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v2 3/3] arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box
2023-12-14 1:53 [PATCH v2 0/3] arm64: dts: allwinner: Add Transpeed 8K618-T TV box Andre Przywara
2023-12-14 1:53 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add Transpeed Andre Przywara
2023-12-14 1:53 ` [PATCH v2 2/3] dt-bindings: arm: sunxi: document Transpeed 8K618-T board name Andre Przywara
@ 2023-12-14 1:53 ` Andre Przywara
2023-12-14 16:28 ` Jernej Škrabec
2023-12-14 18:56 ` [PATCH v2 0/3] arm64: dts: allwinner: Add " Jernej Škrabec
3 siblings, 1 reply; 7+ messages in thread
From: Andre Przywara @ 2023-12-14 1:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
This is a Chinese TV box, probably very similar if not identical to
various other cheap TV boxes with the same specs:
- Allwinner H618 SoC (4 * Arm Cortex-A53 cores, 1MB L2 cache)
- 2 or 4GiB DDR3L DRAM
- 32, 64, or 128 GiB eMMC flash
- AXP313a PMIC
- 100 Mbit/s Ethernet (using yet unsupported internal PHY)
- HDMI port
- 2 * USB 2.0 ports
- microSD card slot
- 3.5mm A/V port
- 7-segment display
- 5V barrel plug power supply
The PCB provides holes for soldering a UART header or cable, this is
connected to the debug UART0. UART1 is used for the Bluetooth chip,
although this isn't working yet.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
arch/arm64/boot/dts/allwinner/Makefile | 1 +
.../sun50i-h618-transpeed-8k618-t.dts | 161 ++++++++++++++++++
2 files changed, 162 insertions(+)
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
index 3aca6787a1679..91d505b385de5 100644
--- a/arch/arm64/boot/dts/allwinner/Makefile
+++ b/arch/arm64/boot/dts/allwinner/Makefile
@@ -43,3 +43,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-pi.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-orangepi-zero2.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-x96-mate.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-orangepi-zero3.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-transpeed-8k618-t.dtb
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts b/arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts
new file mode 100644
index 0000000000000..8ea1fd41aebaa
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts
@@ -0,0 +1,161 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2023 Arm Ltd.
+ */
+
+/dts-v1/;
+
+#include "sun50i-h616.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+
+/ {
+ model = "Transpeed 8K618-T";
+ compatible = "transpeed,8k618-t", "allwinner,sun50i-h618";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ reg_vcc5v: vcc5v {
+ /* board wide 5V supply directly from the DC input */
+ compatible = "regulator-fixed";
+ regulator-name = "vcc-5v";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ };
+
+ reg_vcc3v3: vcc3v3 {
+ /* discrete 3.3V regulator */
+ compatible = "regulator-fixed";
+ regulator-name = "vcc-3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+};
+
+&ehci0 {
+ status = "okay";
+};
+
+&ehci1 {
+ status = "okay";
+};
+
+&ir {
+ status = "okay";
+};
+
+&mmc0 {
+ vmmc-supply = <®_dldo1>;
+ cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */
+ bus-width = <4>;
+ status = "okay";
+};
+
+&mmc2 {
+ vmmc-supply = <®_dldo1>;
+ vqmmc-supply = <®_aldo1>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ mmc-ddr-1_8v;
+ mmc-hs200-1_8v;
+ status = "okay";
+};
+
+&ohci0 {
+ status = "okay";
+};
+
+&ohci1 {
+ status = "okay";
+};
+
+&r_i2c {
+ status = "okay";
+
+ axp313: pmic@36 {
+ compatible = "x-powers,axp313a";
+ reg = <0x36>;
+ #interrupt-cells = <1>;
+ interrupt-controller;
+
+ vin1-supply = <®_vcc5v>;
+ vin2-supply = <®_vcc5v>;
+ vin3-supply = <®_vcc5v>;
+
+ regulators {
+ reg_aldo1: aldo1 {
+ regulator-always-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc-1v8-pll";
+ };
+
+ reg_dldo1: dldo1 {
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc-3v3-io-mmc";
+ };
+
+ reg_dcdc1: dcdc1 {
+ regulator-always-on;
+ regulator-min-microvolt = <810000>;
+ regulator-max-microvolt = <990000>;
+ regulator-name = "vdd-gpu-sys";
+ };
+
+ reg_dcdc2: dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <810000>;
+ regulator-max-microvolt = <1100000>;
+ regulator-name = "vdd-cpu";
+ };
+
+ reg_dcdc3: dcdc3 {
+ regulator-always-on;
+ regulator-min-microvolt = <1360000>;
+ regulator-max-microvolt = <1360000>;
+ regulator-name = "vdd-dram";
+ };
+ };
+ };
+};
+
+&pio {
+ vcc-pc-supply = <®_aldo1>;
+ vcc-pg-supply = <®_dldo1>;
+ vcc-ph-supply = <®_dldo1>;
+ vcc-pi-supply = <®_dldo1>;
+};
+
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_ph_pins>;
+ status = "okay";
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ uart-has-rtscts;
+ status = "okay";
+};
+
+&usbotg {
+ dr_mode = "host"; /* USB A type receptable */
+ status = "okay";
+};
+
+&usbphy {
+ status = "okay";
+};
--
2.35.8
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2 3/3] arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box
2023-12-14 1:53 ` [PATCH v2 3/3] arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box Andre Przywara
@ 2023-12-14 16:28 ` Jernej Škrabec
0 siblings, 0 replies; 7+ messages in thread
From: Jernej Škrabec @ 2023-12-14 16:28 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Samuel Holland, Andre Przywara
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
On Thursday, December 14, 2023 2:53:12 AM CET Andre Przywara wrote:
> This is a Chinese TV box, probably very similar if not identical to
> various other cheap TV boxes with the same specs:
> - Allwinner H618 SoC (4 * Arm Cortex-A53 cores, 1MB L2 cache)
> - 2 or 4GiB DDR3L DRAM
> - 32, 64, or 128 GiB eMMC flash
> - AXP313a PMIC
> - 100 Mbit/s Ethernet (using yet unsupported internal PHY)
> - HDMI port
> - 2 * USB 2.0 ports
> - microSD card slot
> - 3.5mm A/V port
> - 7-segment display
> - 5V barrel plug power supply
>
> The PCB provides holes for soldering a UART header or cable, this is
> connected to the debug UART0. UART1 is used for the Bluetooth chip,
> although this isn't working yet.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 0/3] arm64: dts: allwinner: Add Transpeed 8K618-T TV box
2023-12-14 1:53 [PATCH v2 0/3] arm64: dts: allwinner: Add Transpeed 8K618-T TV box Andre Przywara
` (2 preceding siblings ...)
2023-12-14 1:53 ` [PATCH v2 3/3] arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box Andre Przywara
@ 2023-12-14 18:56 ` Jernej Škrabec
3 siblings, 0 replies; 7+ messages in thread
From: Jernej Škrabec @ 2023-12-14 18:56 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Samuel Holland, Andre Przywara
Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi
On Thursday, December 14, 2023 2:53:09 AM CET Andre Przywara wrote:
> A quick update, with the few fixes for issues that reviewers spotted.
> See below for a changelog.
> ================================
>
> The Transpeed 8K618-T is one example of various cheap Chinese TV boxes
> using the Allwinner H618 SoC. It comes with up to 4GB DRAM and up to
> 128GB eMMC flash, plus the usual HDMI, 100Mbit Ethernet, WiFi/BT and
> dual USB ports, not to forget the mandatory microSD card slot.
> More details: https://linux-sunxi.org/Transpeed_8K618-T
>
> Ethernet relies on the yet unsupported integrated PHY, and the HDMI
> output is similarly not yet supported, but patches exist that await
> polishing for mainline submission.
> Meanwhile USB and eMMC plus SD card work, so you can hook up an USB
> Ethernet or WiFi adapter to get things going.
>
> This series is the usual trilogy of DT support patches: adding the vendor
> name in patch 1, the board compatible name in patch 2, and the actual
> .dts file in patch 3.
>
> Please have a look!
Applied, thanks!
Best regards,
Jernej
>
> Thanks,
> Andre
>
> Changelog v1 .. v2:
> - fix alphabetical ordering in vendor-prefixes
> - remove unneeded UART1 alias
> - extend regulator names, drop now redundant comments
>
> Andre Przywara (3):
> dt-bindings: vendor-prefixes: add Transpeed
> dt-bindings: arm: sunxi: document Transpeed 8K618-T board name
> arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box
>
> .../devicetree/bindings/arm/sunxi.yaml | 5 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> arch/arm64/boot/dts/allwinner/Makefile | 1 +
> .../sun50i-h618-transpeed-8k618-t.dts | 161 ++++++++++++++++++
> 4 files changed, 169 insertions(+)
> create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread