Skip to contentSkip to conversation

dts: allwinner: Add Teclast P80 tablet support

PATCH Applied Andre Przywara 6 participants 14 messages Sep 14 – Sep 21

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover dts: allwinner: Add Teclast P80 tablet support

The Teclast P80 tablet is an entry-level tablet with an 8inch screen and an Allwinner A133 quad-A53 SoC. There are other tablets using the P80 name, this here is about the "G4" version from 2020.

Contains the typical triad of DT support patches: vendor prefix, machine compatible binding, board .dts file.

Please have a look!

Cheers,
Andre

Andre Przywara (3):
dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
dt-bindings: arm: sunxi: Add two Teclast tablets
arm64: dts: allwinner: A133: add basic support for Teclast P80 tablet

 .../devicetree/bindings/arm/sunxi.yaml        |  10 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/allwinner/Makefile        |   1 +
 .../dts/allwinner/sun50i-a133-teclast-p80.dts | 205 ++++++++++++++++++
 4 files changed, 218 insertions(+)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a133-teclast-p80.dts

base-commit: cee9395acd8043be0644b25c34bfa86623f2b935

Signature · 1 line
2.46.4
#1 lore raw

PATCH 1/3 dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

Teclast [1] is a Chinese company manufacturing tablets, laptops and mini PCs, using chipsets from various vendors, covering both the x86 and Arm world.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index ba20029693734..6da733d465a31 100644
@@ -1722,6 +1722,8 @@ patternProperties:
     description: Thundercomm Technology Co., Ltd.
   "^thwc,.*":
     description: Shenzhen Tong Heng Wei Chuang Technology Co., Ltd.
+  "^teclast,.*":
+    description: Teclast
   "^ti,.*":
     description: Texas Instruments
   "^tianma,.*":
Signature · 1 line
2.46.4
#2 lore raw

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The newly added vendor prefix `^teclast,.*` is inserted out of alphabetical order. --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The newly added vendor prefix ^teclast,.* is inserted out of alphabetical order. --

commit 5eadfadaf4aefd64a40c08bf27f4fc8d4fc5a0a6
Author: Andre Przywara <[email protected]>

dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

This commit adds a new vendor prefix for Teclast to the device tree vendor-prefixes.yaml file. Teclast is a manufacturer of tablets, laptops, and mini PCs.

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1726

Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index ba20029693734..6da733d465a31 100644
@@ -1722,6 +1722,8 @@ patternProperties:
     description: Thundercomm Technology Co., Ltd.
   "^thwc,.*":
     description: Shenzhen Tong Heng Wei Chuang Technology Co., Ltd.
+  "^teclast,.*":
+    description: Teclast

[Severity: Low]
Is this newly added vendor prefix inserted out of alphabetical order?

In the patternProperties section of vendor-prefixes.yaml, there is a requirement to keep the list in alphabetical order. Alphabetically, the entry "^teclast,.*" should be placed after "^techwell,.*" and before "^teejet,.*", rather than after "^thwc,.*".

Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0
   "^ti,.*":
     description: Texas Instruments
   "^tianma,.*":
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

Quoted 2 lines · On Mon, 14 Sep 2026 21:11:38 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The newly added vendor prefix ^teclast,.* is inserted out of alphabetical order.

argh, of course, was kind of blind here, I guess.

Quoted 36 lines

--

commit 5eadfadaf4aefd64a40c08bf27f4fc8d4fc5a0a6
Author: Andre Przywara <[email protected]>

dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

This commit adds a new vendor prefix for Teclast to the device tree vendor-prefixes.yaml file. Teclast is a manufacturer of tablets, laptops, and mini PCs.

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1726

Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index ba20029693734..6da733d465a31 100644
@@ -1722,6 +1722,8 @@ patternProperties:
     description: Thundercomm Technology Co., Ltd.
   "^thwc,.*":
     description: Shenzhen Tong Heng Wei Chuang Technology Co., Ltd.
+  "^teclast,.*":
+    description: Teclast

[Severity: Low]
Is this newly added vendor prefix inserted out of alphabetical order?

In the patternProperties section of vendor-prefixes.yaml, there is a requirement to keep the list in alphabetical order. Alphabetically, the entry "^teclast,.*" should be placed after "^techwell,.*" and before "^teejet,.*", rather than after "^thwc,.*".

Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0
   "^ti,.*":
     description: Texas Instruments
   "^tianma,.*":
#5 lore raw

PATCH 2/3 dt-bindings: arm: sunxi: Add two Teclast tablets

In reply to Andre Przywara

Teclast produces some entry-level tablets with Allwinner SoCs, typically featuring a new SoC early in the market.

Add the names for the Teclast P80 tablet, with an Allwinner A133 SoC, but also the Teclast P85T, using an Allwinner A523 chip.

---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +10 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:
           - const: tbs-biometrics,a711
           - const: allwinner,sun8i-a83t
 
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
       - description: Topwise A721 Tablet
         items:
           - const: topwise,a721
Signature · 1 line
2.46.4
#6 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks CPU frequency scaling. --

commit 582b866f1ad9000afddf47eb7e4c9d37a95dfbc8
Author: Andre Przywara <[email protected]>

dt-bindings: arm: sunxi: Add two Teclast tablets

This commit adds devicetree bindings for the Teclast P80 and P85T tablets. The Teclast P80 is based on the Allwinner A133 SoC, and the P85T uses the Allwinner A523 SoC.

Quoted 5 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +0 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:

[ ... ]

Documentation/devicetree/bindings/arm/sunxi.yaml properties: · line 939

Quoted 4 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +4 -0
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133

[Severity: High]
Does this strict two-item compatible array omit the necessary fallback string?

The sun50i-cpufreq-nvmem driver in drivers/cpufreq/sun50i-cpufreq-nvmem.c requires allwinner,sun50i-a100 to exist in the root node's compatible array to bind via of_machine_device_match(sun50i_cpufreq_match_list).

Without this fallback string included in the bindings (and subsequently the board's Device Tree), cpufreq-dt will not be instantiated. This will cause CPU frequency scaling to silently fail on the Teclast P80 tablet, leaving the system stuck at the bootloader-configured frequency.

Quoted 6 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#7 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

Quoted 2 lines · On Mon, 14 Sep 2026 21:19:39 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks CPU frequency scaling.

Well, there is more to it. We should rather add the a133 as an explicit name in the driver, like we did for the H616 family. And the whole OPP table is still from the old A100 days, it doesn't really cover the A133 or A133P values, which go up to 1.6GHz and 2.0 GHz, respectively. The bin selection in the driver is also not adequate, the BSP code seems to use the SID cell at 0x00 to select one of two speed bins, at least for the A133. The A133P is probably still different.

So I'd rather keep the a133 fallback compatible, and adjust the driver.

Cheers,
Andre

Quoted 43 lines

--

commit 582b866f1ad9000afddf47eb7e4c9d37a95dfbc8
Author: Andre Przywara <[email protected]>

dt-bindings: arm: sunxi: Add two Teclast tablets

This commit adds devicetree bindings for the Teclast P80 and P85T tablets. The Teclast P80 is based on the Allwinner A133 SoC, and the P85T uses the Allwinner A523 SoC.

Quoted 5 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +0 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:

[ ... ]

Documentation/devicetree/bindings/arm/sunxi.yaml properties: · line 939

Quoted 4 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +4 -0
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133

[Severity: High]
Does this strict two-item compatible array omit the necessary fallback string?

The sun50i-cpufreq-nvmem driver in drivers/cpufreq/sun50i-cpufreq-nvmem.c requires allwinner,sun50i-a100 to exist in the root node's compatible array to bind via of_machine_device_match(sun50i_cpufreq_match_list).

Without this fallback string included in the bindings (and subsequently the board's Device Tree), cpufreq-dt will not be instantiated. This will cause CPU frequency scaling to silently fail on the Teclast P80 tablet, leaving the system stuck at the bootloader-configured frequency.

Quoted 6 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
#8 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

Quoted 14 lines · Andre Przywara
Quoted 2 lines · On Mon, 14 Sep 2026 21:19:39 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks CPU frequency scaling.

Well, there is more to it. We should rather add the a133 as an explicit name in the driver, like we did for the H616 family. And the whole OPP table is still from the old A100 days, it doesn't really cover the A133 or A133P values, which go up to 1.6GHz and 2.0 GHz, respectively. The bin selection in the driver is also not adequate, the BSP code seems to use the SID cell at 0x00 to select one of two speed bins, at least for the A133. The A133P is probably still different.

Quoted 1 line

So I'd rather keep the a133 fallback compatible, and adjust the driver.

Can you explain the complaint from Sashiko to me?
From where I am sitting, without awareness of allwinner SKUs, it seems like the bot is suggesting that you add a "random" fallback to make a driver probe.

Quoted 48 lines

Cheers,
Andre

Quoted 43 lines

--

commit 582b866f1ad9000afddf47eb7e4c9d37a95dfbc8
Author: Andre Przywara <[email protected]>

dt-bindings: arm: sunxi: Add two Teclast tablets

This commit adds devicetree bindings for the Teclast P80 and P85T tablets. The Teclast P80 is based on the Allwinner A133 SoC, and the P85T uses the Allwinner A523 SoC.

Quoted 5 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +0 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:

[ ... ]

Documentation/devicetree/bindings/arm/sunxi.yaml properties: · line 939

Quoted 4 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +4 -0
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133

[Severity: High]
Does this strict two-item compatible array omit the necessary fallback string?

The sun50i-cpufreq-nvmem driver in drivers/cpufreq/sun50i-cpufreq-nvmem.c requires allwinner,sun50i-a100 to exist in the root node's compatible array to bind via of_machine_device_match(sun50i_cpufreq_match_list).

Without this fallback string included in the bindings (and subsequently the board's Device Tree), cpufreq-dt will not be instantiated. This will cause CPU frequency scaling to silently fail on the Teclast P80 tablet, leaving the system stuck at the bootloader-configured frequency.

Quoted 6 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
#9 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

On Tue, 15 Sep 2026 17:58:50 +0100
Conor Dooley <[email protected]> wrote:

Hi Conor,

Quoted 15 lines · Andre Przywara
Quoted 14 lines
Quoted 2 lines · On Mon, 14 Sep 2026 21:19:39 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks CPU frequency scaling.

Well, there is more to it. We should rather add the a133 as an explicit name in the driver, like we did for the H616 family. And the whole OPP table is still from the old A100 days, it doesn't really cover the A133 or A133P values, which go up to 1.6GHz and 2.0 GHz, respectively. The bin selection in the driver is also not adequate, the BSP code seems to use the SID cell at 0x00 to select one of two speed bins, at least for the A133. The A133P is probably still different.

Quoted 6 lines
Quoted 1 line

So I'd rather keep the a133 fallback compatible, and adjust the driver.

Can you explain the complaint from Sashiko to me?
From where I am sitting, without awareness of allwinner SKUs, it seems like the bot is suggesting that you add a "random" fallback to make a driver probe.

Well, this is about the DVFS driver, which doesn't really have a nice device to match against. The nodes under /cpus carry the cores, but there is no notion of a SoC here, it's just about architectural Arm cores. So the solution was to match this against the machine (fallback) compatible, which always carries the SoC name. I think other platforms do the same.
And while we have DVFS support for the A133, this only supports the "allwinner,sun50i-a100" fallback string, as this was the only chip of that "family" at time of upstreaming. The A133 is using the same die, it's just a better bin, but there are virtually no A100 devices out there, as they were superseded by the A133 very quickly.

So what Sashiko (somewhat correctly) mentions is that with that a100 fallback string we won't get DVFS support. It feels odd to name that tablet A100 when it's clearly not, so I went with the proper SoC name.
We did the same for the H616 family: just adding all the names using the same die to the DVFS driver will solve this problem as well, which is what I am planning to do - unless people have different opinions.

Hope that helps!

Cheers,
Andre

Quoted 48 lines
Quoted 48 lines

Cheers,
Andre

Quoted 43 lines

--

commit 582b866f1ad9000afddf47eb7e4c9d37a95dfbc8
Author: Andre Przywara <[email protected]>

dt-bindings: arm: sunxi: Add two Teclast tablets

This commit adds devicetree bindings for the Teclast P80 and P85T tablets. The Teclast P80 is based on the Allwinner A133 SoC, and the P85T uses the Allwinner A523 SoC.

Quoted 5 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +0 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:

[ ... ]

Documentation/devicetree/bindings/arm/sunxi.yaml properties: · line 939

Quoted 4 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +4 -0
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133

[Severity: High]
Does this strict two-item compatible array omit the necessary fallback string?

The sun50i-cpufreq-nvmem driver in drivers/cpufreq/sun50i-cpufreq-nvmem.c requires allwinner,sun50i-a100 to exist in the root node's compatible array to bind via of_machine_device_match(sun50i_cpufreq_match_list).

Without this fallback string included in the bindings (and subsequently the board's Device Tree), cpufreq-dt will not be instantiated. This will cause CPU frequency scaling to silently fail on the Teclast P80 tablet, leaving the system stuck at the bootloader-configured frequency.

Quoted 6 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
#10 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

Quoted 27 lines · Andre Przywara

On Tue, 15 Sep 2026 17:58:50 +0100
Conor Dooley <[email protected]> wrote:

Hi Conor,

Quoted 15 lines · Andre Przywara
Quoted 14 lines
Quoted 2 lines · On Mon, 14 Sep 2026 21:19:39 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing SoC fallback compatible string 'allwinner,sun50i-a100' for the Teclast P80 tablet breaks CPU frequency scaling.

Well, there is more to it. We should rather add the a133 as an explicit name in the driver, like we did for the H616 family. And the whole OPP table is still from the old A100 days, it doesn't really cover the A133 or A133P values, which go up to 1.6GHz and 2.0 GHz, respectively. The bin selection in the driver is also not adequate, the BSP code seems to use the SID cell at 0x00 to select one of two speed bins, at least for the A133. The A133P is probably still different.

Quoted 6 lines
Quoted 1 line

So I'd rather keep the a133 fallback compatible, and adjust the driver.

Can you explain the complaint from Sashiko to me?
From where I am sitting, without awareness of allwinner SKUs, it seems like the bot is suggesting that you add a "random" fallback to make a driver probe.

Quoted 6 lines

Well, this is about the DVFS driver, which doesn't really have a nice device to match against. The nodes under /cpus carry the cores, but there is no notion of a SoC here, it's just about architectural Arm cores. So the solution was to match this against the machine (fallback) compatible, which always carries the SoC name. I think other platforms do the same.

Yeah, I get this part.

Quoted 14 lines

And while we have DVFS support for the A133, this only supports the "allwinner,sun50i-a100" fallback string, as this was the only chip of that "family" at time of upstreaming. The A133 is using the same die, it's just a better bin, but there are virtually no A100 devices out there, as they were superseded by the A133 very quickly.

So what Sashiko (somewhat correctly) mentions is that with that a100 fallback string we won't get DVFS support. It feels odd to name that tablet A100 when it's clearly not, so I went with the proper SoC name.
We did the same for the H616 family: just adding all the names using the same die to the DVFS driver will solve this problem as well, which is what I am planning to do - unless people have different opinions.

Quoted 1 line

Hope that helps!

So yeah, it bottles down to Sashiko suggesting that you use in invalid fallback given you mention a different programming model, although mitigated somewhat by the fact that a100 is a worse binning and is probably compatible outside of dvfs. I'm just very wary of what sort of garbage that Sashiko will tell contributors that, unlike you, don't know enough to realise what it is telling them is wrong.

(Sent from my k9mail, hopefully formatting didn't get screwed up). Conor.

Quoted 55 lines

Cheers,
Andre

Quoted 48 lines
Quoted 48 lines

Cheers,
Andre

Quoted 43 lines

--

commit 582b866f1ad9000afddf47eb7e4c9d37a95dfbc8
Author: Andre Przywara <[email protected]>

dt-bindings: arm: sunxi: Add two Teclast tablets

This commit adds devicetree bindings for the Teclast P80 and P85T tablets. The Teclast P80 is based on the Allwinner A133 SoC, and the P85T uses the Allwinner A523 SoC.

Quoted 5 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +0 -0
index f04db28c630ac..28437c47ac01b 100644
@@ -933,6 +933,16 @@ properties:

[ ... ]

Documentation/devicetree/bindings/arm/sunxi.yaml properties: · line 939

Quoted 4 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +4 -0
+      - description: Teclast P80 Tablet
+        items:
+          - const: teclast,p80
+          - const: allwinner,sun50i-a133

[Severity: High]
Does this strict two-item compatible array omit the necessary fallback string?

The sun50i-cpufreq-nvmem driver in drivers/cpufreq/sun50i-cpufreq-nvmem.c requires allwinner,sun50i-a100 to exist in the root node's compatible array to bind via of_machine_device_match(sun50i_cpufreq_match_list).

Without this fallback string included in the bindings (and subsequently the board's Device Tree), cpufreq-dt will not be instantiated. This will cause CPU frequency scaling to silently fail on the Teclast P80 tablet, leaving the system stuck at the bootloader-configured frequency.

Quoted 6 lines
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
+
+      - description: Teclast P85T Tablet
+        items:
+          - const: teclast,p85t
+          - const: allwinner,sun55i-a523
+
Acked-by on v1 2/3
#11 lore raw

Re: [PATCH 2/3] dt-bindings: arm: sunxi: Add two Teclast tablets

In reply to Andre Przywara
Quoted 10 lines · Andre Przywara

Teclast produces some entry-level tablets with Allwinner SoCs, typically featuring a new SoC early in the market.

Add the names for the Teclast P80 tablet, with an Allwinner A133 SoC, but also the Teclast P85T, using an Allwinner A523 chip.

---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

As discussed, Sashiko's comment is not really applicable, because we do not add fallbacks to match driver behavior or to achieve some desired driver feature.

Best regards,
Krzysztof

#12 lore raw

PATCH 3/3 arm64: dts: allwinner: A133: add basic support for Teclast P80 tablet

In reply to Andre Przywara

The Teclast P80 tablet is an 8 inch entry-level tablet from around 2020, featuring an Allwinner A133 SoC. It features:
- Allwinner A133 SoC (4*Arm Cortex-A53) at 1.6 GHz
- 2 GiB LPDDR4 DRAM
- 32GiB eMMC
- microSD card slot
- AXP707 PMIC
- USB-C OTG port (also for charging)
- 800x1200 pixel 8" IPS panel
- unknown Bluetooth and WiFi
- secure boot, but takes any key

Add initial support for the tablet, including UART, PMIC, eMMC, SD, USB. The tablet uses secure boot, so it needs a signed TOC0 wrapped image to boot, but it has no key hash burnt into the efuses, so it accepts an image signed with any key.

Please note that there are older models also being named P80: a device with an Mediatek SoC from around 2018, based on 32-bit ARM cores, and an Intel Atom based one from around 2014.
This device here is sometimes listed as G4, the Mediatek one as G3.

---
 arch/arm64/boot/dts/allwinner/Makefile        |   1 +
 .../dts/allwinner/sun50i-a133-teclast-p80.dts | 205 ++++++++++++++++++
 2 files changed, 206 insertions(+)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a133-teclast-p80.dts
arch/arm64/boot/dts/allwinner/Makefile +1 -0
index aa21f58a4be1f..d1f768dd6461d 100644
@@ -26,6 +26,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h64-remix-mini-pc.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-helperboard.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-liontron-h-a133l.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-teclast-p80.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus-v1.2.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-emlid-neutis-n5-devboard.dtb
arch/arm64/boot/dts/allwinner/sun50i-a133-teclast-p80.dts new file +205 -0

205 lines not on this page · raw message

Signature · 1 line
2.46.4
maintainer Applied
#13 lore raw
In reply to Andre Przywara
Quoted 8 lines · Andre Przywara

The Teclast P80 tablet is an entry-level tablet with an 8inch screen and an Allwinner A133 quad-A53 SoC. There are other tablets using the P80 name, this here is about the "G4" version from 2020.

Contains the typical triad of DT support patches: vendor prefix, machine compatible binding, board .dts file.

[...]

Applied to sunxi/dt-for-7.4 in sunxi, thanks!

[1/3] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast

      https://git.kernel.org/sunxi/linux/c/cb81a22504f4
[2/3] dt-bindings: arm: sunxi: Add two Teclast tablets
      https://git.kernel.org/sunxi/linux/c/87d5ec9b808f
[3/3] arm64: dts: allwinner: A133: add basic support for Teclast P80 tablet
      https://git.kernel.org/sunxi/linux/c/60b064eb82e6

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>