arm64: dts: allwinner: add Teclast P85T (A523) support
Subsystems (2)
v2 cover arm64: dts: allwinner: add Teclast P85T (A523) support
This series adds initial support for the Teclast P85T, an 8-inch tablet based on the Allwinner A523 (sun55i) SoC.
This initial submission enables only what has a binding today. Display (DE/TCON/DSI), PWM backlight, audio codec, camera (CSI/VIN) and LRADC keys are deliberately left out, as those blocks is not ready yet. They will be sent separately.
Patches 1 and 2 overlap with Andre's series
https://lore.kernel.org/linux-sunxi/[email protected]/T/#ma8a2554315eccbccdb15ee7ac212a4d0afb45a5c
They are included for compatibility and differ only in the full company name in the description.
Touchscreen operation requires firmware extracted from the Android firmware; the file will be added to a public repository later.
The touchscreen values below were obtained experimentally via evtest and may be inaccurate:
touchscreen-size-x = <1786>;
touchscreen-size-y = <1128>;
With the values below the touchscreen and display coordinates match:
touchscreen-inverted-y;
touchscreen-swapped-x-y;
The battery values are taken from the battery label (5000 mAh, 4.4 V max charge) and the Android DTB (pmu_runtime_chgcur = <0x320>, i.e. 800 mA safe charge current).
U-Boot support requires an LPDDR3 driver for the A523, which will be sent a bit later.
A ready-to-use image with working display, audio and touchscreen can be found on the Manjaro forum. Patches will be added as other contributors add their parts.
Changes since v1 [1]:
- Added Reviewed-by from Andre Przywara for patch 3;
- Replaced the dummy 1.8V pio-18 regulator with the real PMIC rails;
- Dropped reg_dcdc4: no consumers, the kernel would turn it off;
- Dropped AXP323 aldo1/dldo1: no consumers - the board is verified
to work with both rails disabled;
- Renamed bldo2 to "vcc-dram-1v8" (needs to be kept always-on).
- Renamed cldo1 from "vcc-codec-sd" to "vcc-codec-mmc";
- Described AXP323 dcdc3 as the RISC-V management core supply, like
on the other A523 boards; - USB: removed the inbound 5V rail from usb0_vbus-supply and dropped ehci0/ohci0; the port is works like peripheral-only, using usb0_vbus_det-gpios for VBUS sensing;
- Dropped the iio-hwmon node due to invalid values;
- Commit message wording: those blocks "don't have a binding yet".
[1] https://lore.kernel.org/linux-sunxi/[email protected]/
Based on 7.3-rc3.
Mikhail Kalashnikov (4):
dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
dt-bindings: arm: sunxi: Add Teclast P85T tablet
arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups
arm64: dts: allwinner: add Teclast P85T tablet
.../devicetree/bindings/arm/sunxi.yaml | 5 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun55i-a523-teclast-p85t.dts | 386 ++++++++++++++++++ .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 + 5 files changed, 412 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts
Signature · 1 line
2.55.0
PATCH v2 1/4 dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
Teclast is a Chinese consumer-electronics brand. Add its vendor prefix so that board compatible strings can use it.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1694,6 +1694,8 @@ patternProperties: description: Techvision Intelligent Technology Co., Ltd "^techwell,.*": description: Techwell, Inc. + "^teclast,.*": + description: Guangzhou Shangke Information Technology Co., Ltd. "^teejet,.*": description: TeeJet "^teltonika,.*":
Signature · 1 line
2.55.0
PATCH v2 2/4 dt-bindings: arm: sunxi: Add Teclast P85T tablet
In reply to Mikhail KalashnikovDocument the compatible for the Teclast P85T tablet, which is based on the Allwinner A523 SoC.
--- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +5 -0
@@ -933,6 +933,11 @@ properties: - const: tbs-biometrics,a711 - const: allwinner,sun8i-a83t + - description: Teclast P85T + items: + - const: teclast,p85t + - const: allwinner,sun55i-a523 + - description: Topwise A721 Tablet items: - const: topwise,a721
Signature · 1 line
2.55.0
PATCH v2 3/4 arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups
In reply to Mikhail KalashnikovAdd the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers that used on some A523 boards.
--- arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +18 -0
@@ -147,6 +147,24 @@ pio: pinctrl@2000000 { interrupt-controller; #interrupt-cells = <3>; + /omit-if-no-ref/ + i2c0_pins: i2c0-pins { + pins = "PH0", "PH1"; + function = "i2c0"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up; + }; + + /omit-if-no-ref/ + i2c1_pins: i2c1-pins { + pins = "PH2", "PH3"; + function = "i2c1"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up; + }; + /omit-if-no-ref/ i2s2_pi_pins: i2s2-pi-pins { pins = "PI2", "PI3", "PI4", "PI5";
Signature · 1 line
2.55.0
PATCH v2 4/4 arm64: dts: allwinner: add Teclast P85T tablet
In reply to Mikhail KalashnikovThe Teclast P85T is an 8-inch tablet that was announced in 2023 based on the Allwinner A523 (sun55i) SoC.
Hardware summary:
- Allwinner A523, 8x Cortex-A55 (2 clusters)
- 4 GiB LPDDR3 DRAM
- 64 GiB eMMC
- microSD card slot
- AXP717 and AXP323 PMICs
- USB-C port wired to the USB2 OTG controller
- combined WiFi and Bluetooth module based on AIC8800 (SDIO+UART)
- 800x1280 MIPI-DSI panel (no mainline binding yet)
- Silead GSL1680 touchscreen
- MiraMEMS DA280 accelerometer
- AXP717 battery/charger
- USB-C OTG port (also for charging)
- secure boot, but takes any key
This initial submission enables only what mainline supports today:
both PMICs, battery/charger, GPU (Panfrost), eMMC, SD card, SDIO WiFi (can be used with out of tree driver), USB device (without otg function), UART0 console, UART1 Bluetooth, I2C0 touchscreen, I2C1 accelerometer and the RTC with the external 32 kHz oscillator.
Display (DE/TCON/DSI), PWM backlight, audio codec, camera (CSI/VIN) and LRADC keys are deliberately left out, as those blocks don't have a binding yet.
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. U-Boot support in progress.
Later, a tablet with an Allwinner A537 processor and 3 GB of DRAM was released under the same name. This version is not supported by mainline.
--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun55i-a523-teclast-p85t.dts | 386 ++++++++++++++++++ 2 files changed, 387 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts
arch/arm64/boot/dts/allwinner/Makefile +1 -0
@@ -63,6 +63,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-2024.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-h.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-sp.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a523-teclast-p85t.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a527-cubie-a5e.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-h728-x96qpro+.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-t527-avaota-a1.dtb
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +386 -0
386 lines not on this page · raw message
Signature · 1 line
2.55.0
Re: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
In reply to Mikhail KalashnikovQuoted 8 lines · Mikhail Kalashnikov
Teclast is a Chinese consumer-electronics brand. Add its vendor prefix so that board compatible strings can use it.
Assisted-by OpenCode:DeepSeek-V4.1-FlashSigned-off-by Mikhail Kalashnikov <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Best regards,
Krzysztof
Re: [PATCH v2 2/4] dt-bindings: arm: sunxi: Add Teclast P85T tablet
In reply to Mikhail KalashnikovQuoted 8 lines · Mikhail Kalashnikov
Document the compatible for the Teclast P85T tablet, which is based on the Allwinner A523 SoC.
Assisted-by OpenCode:DeepSeek-V4.1-FlashSigned-off-by Mikhail Kalashnikov <[email protected]>--- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Best regards,
Krzysztof
Chen-Yu Tsai
maintainerRe: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
In reply to Krzysztof KozlowskiQuoted 5 lines · Krzysztof Kozlowski
Quoted 3 lines · Mikhail Kalashnikov
Teclast is a Chinese consumer-electronics brand. Add its vendor prefix so that board compatible strings can use it.
Quoted 7 lines
Quoted 5 lines
Assisted-by OpenCode:DeepSeek-V4.1-FlashSigned-off-by Mikhail Kalashnikov <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
I have the same change from Andre already merged. It should be visible in -next.
Re: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast
In reply to Mikhail KalashnikovQuoted 16 lines · 在 2026-10-01四的 10:24 +0800,Mikhail Kalashnikov写道:
Teclast is a Chinese consumer-electronics brand. Add its vendor prefix
so that board compatible strings can use it.Assisted-by OpenCode:DeepSeek-V4.1-FlashSigned-off-by Mikhail Kalashnikov <[email protected]>---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0@@ -1694,6 +1694,8 @@ patternProperties:
Quoted 5 lines
description: Techvision Intelligent Technology Co., Ltd "^techwell,.*":
description: Techwell, Inc.
+ "^teclast,.*":
+ description: Guangzhou Shangke Information Technology Co., Ltd.
I am feeling weird trademark/owner discrepancy, although I checked the footnote of Teclast homepage and the owner here is correct (although the name is only seen on the Chinese homepage and on the English one it's just "Teclast").
BTW Shangke Information has another brand name, for PC parts, called Maxsun -- although it might take a while for this name to be considered for DT bindings.
Thanks,
Icenowy
Quoted 3 lines
"^teejet,.*":
description: TeeJet
"^teltonika,.*":
Chen-Yu Tsai
maintainerRe: [PATCH v2 3/4] arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups
In reply to Mikhail KalashnikovQuoted 17 lines · Mikhail Kalashnikov
Add the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers that used on some A523 boards.
Assisted-by OpenCode:DeepSeek-V4.1-FlashReviewed-by Andre Przywara <[email protected]>Signed-off-by Mikhail Kalashnikov <[email protected]>--- arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +0
-0@@ -147,6 +147,24 @@ pio: pinctrl@2000000 { interrupt-controller;
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi pio: pinctrl@2000000 { · line 157
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +7
-0#interrupt-cells = <3>; + /omit-if-no-ref/ + i2c0_pins: i2c0-pins { + pins = "PH0", "PH1"; + function = "i2c0"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up;
Drive strength and pull-ups are board level properties. One board might have external pull-ups and thus don't need or want the internal ones.
Please move these two properties to the board level.
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi pio: pinctrl@2000000 { · line 165
Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +9
-0+ }; + + /omit-if-no-ref/ + i2c1_pins: i2c1-pins { + pins = "PH2", "PH3"; + function = "i2c1"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up;
Same here.
ChenYu
Quoted 8 lines
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +2
-0+ }; + /omit-if-no-ref/ i2s2_pi_pins: i2s2-pi-pins {pins = "PI2", "PI3", "PI4", "PI5";--
2.55.0
Chen-Yu Tsai
maintainerRe: [PATCH v2 4/4] arm64: dts: allwinner: add Teclast P85T tablet
In reply to Mikhail KalashnikovQuoted 4 lines · Mikhail Kalashnikov
The Teclast P85T is an 8-inch tablet that was announced in 2023 based on the Allwinner A523 (sun55i) SoC.
Quoted 13 lines
Hardware summary:
- Allwinner A523, 8x Cortex-A55 (2 clusters)
- 4 GiB LPDDR3 DRAM
- 64 GiB eMMC
- microSD card slot
- AXP717 and AXP323 PMICs
- USB-C port wired to the USB2 OTG controller
- combined WiFi and Bluetooth module based on AIC8800 (SDIO+UART)
- 800x1280 MIPI-DSI panel (no mainline binding yet)
- Silead GSL1680 touchscreen
- MiraMEMS DA280 accelerometer
- AXP717 battery/charger
- USB-C OTG port (also for charging)
Combine this with the USB-C port item above. Or are there two USB-C ports?
Quoted 99 lines
- secure boot, but takes any key
This initial submission enables only what mainline supports today:
both PMICs, battery/charger, GPU (Panfrost), eMMC, SD card, SDIO WiFi (can be used with out of tree driver), USB device (without otg function), UART0 console, UART1 Bluetooth, I2C0 touchscreen, I2C1 accelerometer and the RTC with the external 32 kHz oscillator.Display (DE/TCON/DSI), PWM backlight, audio codec, camera (CSI/VIN) and LRADC keys are deliberately left out, as those blocks don't have a binding yet.
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. U-Boot support in progress.
Later, a tablet with an Allwinner A537 processor and 3 GB of DRAM was released under the same name. This version is not supported by mainline.
Assisted-by OpenCode:DeepSeek-V4.1-FlashSigned-off-by Mikhail Kalashnikov <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun55i-a523-teclast-p85t.dts | 386 ++++++++++++++++++ 2 files changed, 387 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -63,6 +63,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-2024.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-h.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h700-anbernic-rg35xx-sp.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a523-teclast-p85t.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a527-cubie-a5e.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-h728-x96qpro+.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun55i-t527-avaota-a1.dtbarch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +54
-0@@ -0,0 +1,386 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) +/* + * Copyright (C) 2026 Mikhail Kalashnikov <[email protected]> + */ + +/dts-v1/; + +#include "sun55i-a523.dtsi" + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> + +/ { + model = "Teclast P85T"; + compatible = "teclast,p85t", "allwinner,sun55i-a523"; + chassis-type = "tablet"; + + aliases { + serial0 = &uart0; + }; + + battery: battery { + compatible = "simple-battery"; + constant-charge-current-max-microamp = <800000>; + voltage-max-design-microvolt = <4400000>; + charge-full-design-microamp-hours = <5000000>; + energy-full-design-microwatt-hours = <19250000>; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + ext_osc32k: ext-osc32k-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "ext_osc32k"; + }; + + reg_vcc5v: vcc5v { + /* board wide 5V supply from the USB-C connector */ + compatible = "regulator-fixed"; + regulator-name = "vcc-5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + reg_vmmc1: vmmc1 { + compatible = "regulator-fixed"; + regulator-name = "vcc-wifi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>;
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 64
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +10
-0+ vin-supply = <®_aldo3>; + gpio = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ + enable-active-high; + }; + + wifi_pwrseq: pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 1 1 GPIO_ACTIVE_LOW>; /* PM1 */ + post-power-on-delay-ms = <200>; + };
The nodes are supposed to be ordered by their node names, not labels. So pwrseq would go before the regulators.
Quoted 15 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +15
-0+}; + +&gpu { + mali-supply = <®_dcdc2>; + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + clock-frequency = <400000>; + status = "okay"; + + touchscreen@40 { + compatible = "silead,gsl1680";
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 89
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +10
-0+ reg = <0x40>; + interrupt-parent = <&pio>; + interrupts = <7 9 IRQ_TYPE_EDGE_FALLING>; /* PH9 */ + power-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ + touchscreen-size-x = <1786>; + touchscreen-size-y = <1128>; + touchscreen-inverted-y; + touchscreen-swapped-x-y; + silead,max-fingers = <5>; + avdd-supply = <®_cldo2>;
firmware-name property?
Also, is vddio-supply known?
Quoted 37 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +37
-0+ }; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + status = "okay"; + + accelerometer@26 { + compatible = "miramems,da280"; + reg = <0x26>; + interrupt-parent = <&pio>; + interrupts = <7 11 IRQ_TYPE_LEVEL_LOW>; /* PH11 */ + }; +}; + +&mmc0 { + vmmc-supply = <®_cldo3>; + cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */ + bus-width = <4>; + status = "okay"; +}; + +&mmc1 { + vmmc-supply = <®_vmmc1>; + vqmmc-supply = <®_bldo1>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; + + wifi@1 { + reg = <1>; + interrupt-parent = <&r_pio>; + interrupts = <1 0 IRQ_TYPE_LEVEL_LOW>; /* PM0 */ + interrupt-names = "host-wake"; + };
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 136
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +10
-0+}; + +&mmc2 { + vmmc-supply = <®_cldo3>; + vqmmc-supply = <®_cldo1>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; + mmc-ddr-1_8v; + mmc-hs200-1_8v;
Is the drive strength enough?
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 140
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +4
-0+ status = "okay"; +}; + +&pio {
vcc-pb-supply and vcc-ph-supply for pins you are using are missing. supplies for all the banks should be present though.
Quoted 6 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +6
-0+ vcc-pc-supply = <®_cldo1>; + vcc-pf-supply = <®_cldo3>; + vcc-pg-supply = <®_bldo1>; +}; + +&r_i2c0 {
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 155
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +9
-0+ status = "okay"; + + axp717: pmic@34 { + compatible = "x-powers,axp717"; + reg = <0x34>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Please use the interrupts-extended property instead.
Quoted 1 line
+
Drop the empty line.
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 165
Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +9
-0+ vin1-supply = <®_vcc5v>; + vin2-supply = <®_vcc5v>; + vin3-supply = <®_vcc5v>; + vin4-supply = <®_vcc5v>; + aldoin-supply = <®_vcc5v>; + bldoin-supply = <®_vcc5v>; + cldoin-supply = <®_vcc5v>; + + axp717_adc: adc {
This label is no longer referenced. Please drop.
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 176
Quoted 11 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +11
-0+ compatible = "x-powers,axp717-adc"; + #io-channel-cells = <1>; + }; + + battery-power { + compatible = "x-powers,axp717-battery-power-supply"; + monitored-battery = <&battery>; + }; + + regulators { + /* Supplies the "little" cluster (1.0(?) GHz cores) */
Fix the frequency in the comment and drop the "?".
[...]
Quoted 5 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +5
-0+ }; + + usb-power { + compatible = "x-powers,axp717-usb-power-supply"; + input-current-limit-microamp = <1750000>;
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 308
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +10
-0+ }; + }; + + axp323: pmic@36 { + compatible = "x-powers,axp323"; + reg = <0x36>; + #interrupt-cells = <1>; + interrupt-controller; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Were you somehow able to test this? And please use the interrupts-extended property instead.
Quoted 1 line
+
Drop the empty line.
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts line 319
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts new file +10
-0+ vin1-supply = <®_vcc5v>; + vin2-supply = <®_vcc5v>; + vin3-supply = <®_vcc5v>; + + regulators { + /* + * ALDO1 (1.8V) and DLDO1 (3.3V) have no consumers, + * although BSP enables them; the board works fine + * with both rails disabled. + */
Please put an empty node for them. It's weird I know, but that is how we get Linux to turn unused ones off.
Thanks
ChenYu