From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.43 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796400133; b=gIlpJ7poc/vu4/YVRXRHRn5o3PDj3mazZn6jj4b6rfHdAxit49OHR3z8355fld1Ru9Ak 6C6I8QmeMlDMvh8SCqIxAjQ9yRBPkdq8c/BZtB5gRZjcMrW2GPbHFkgydFKH2aqMKP5Fh xyoEfpfkCJmvv3nZX4d68OWZZL95d4B47ICUvTefjNJ/HaabkGlAe8x09c6yXTtgcZ2yz 5U88x0gYF/6PhyY1poi4Ya3eMkrqsMDKxVgSbqXdyHBkK9CFIEbATdVKjqRTG2SW7VZ0l v9lgb8kC5JGLICcVrfs6DSLrSfKb8NW/dYmmauQl5t/nT9lneoCs7YyYJo7AeVAqAGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796400133; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=XPT4+tl46NRCZfwlYU8uQU8FtYkhfogeGlaiWLrCiXI=; b=DR1+TADHmflFzNuXtxIZBYDHU3N80SstMGlKvOcfAMP/4+Df5zPGUjKE5bLkV8crG5TG mkYI+k13MgQ+GXWPbgfRuE2kQLTU9/zGCG2/5wr4K+s46KLZEhPeIUhqeGbtCOlL+ZoV+ iCJoPpBRu/zq3dO1227Eu4xhhvUqGup5y+T+Szs7boEXfHx0iDYNaYbQSBjUbAwOcyp+r ccs7C3IfUXC+RxvSlWNMID7OFj98EvqZZotea2vnJVnefnZ+GCieuRMuRoOmho2DyRrHq XHLhukwv+zABzdtVfru7eigQjdti+LO4yoCbaBHCALq09lPgZTQ+Ao9nAcp3y9tseyw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=TwwdwAl9; arc=none smtp.remote-ip=209.85.216.43 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30740606A338 for ; Fri, 4 Dec 2026 16:02:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 30740606A338 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=TwwdwAl9 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-3b5489c6b26so729270a91.2 for ; Fri, 04 Dec 2026 08:02:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796400132; x=1797004932; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=XPT4+tl46NRCZfwlYU8uQU8FtYkhfogeGlaiWLrCiXI=; b=TwwdwAl9DUzqUZBQVuUN/SvwUFvGoPYoaV8digtngMO1qOyry1O9OF9Zf+rIQyhNdV nz4UpwhAsS0WvaagAL5hpoVNDtuX99H8wcXjjMCS4YUBf/DHe2ThY5oHXkLSjWWQA8XV ZrpY3qeg0LEAyqEo7tS5zuEJbDUtdnOgw12fDfUBcavpfkCEUuvPkEI5UqA4w6X8okFZ UyTmj3juuq1+PX+Fu/0Co9avP5nNniAirQO7CEB7RLaQfGGzKVUdY2AgaJIYXh0GWvCA lF9l1tq2Zt2hVQFEd1RXR78AwSM88N9jPDxBwcCSyUxhtXqN1MDsCbEEU9oxcXPXVv+s p43w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796400132; x=1797004932; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=XPT4+tl46NRCZfwlYU8uQU8FtYkhfogeGlaiWLrCiXI=; b=PQHC2OWk8Av8mo07587QT9EEMVc7BQnw25C5168+oeILWP70ujeSwqO0OxSopMq7eT 1kW5ZJKnt//nYPxzSl87eUGJ2nElEVNLqX4gVAaKrXY2cpnJXlW62tjrI/Tfz9Gx0Is0 Ov0Ypaf3XCmzZR/O98buXnxsCZ38+xpr1bQNYBRxw5a7vzo80mINU4qDcH71LQtX0oZb dkpAoMNDpUeTsUrO6XE+3vgwWeutuj7qxj670/op2VPgR7Dkgt1nxN2e7i+PpBP7qbkH EG+C0+7ADpFLTx72cwEFQp1IDYCZ8/Bplx4dJwTg9l+y1+178TZlnQ66A0X1zKMO7bZo u5Rw== X-Forwarded-Encrypted: i=1; AL+hErEUXyEcpKnXM/CtUXwfvmnp9bhE020mBxyKdUJ1Zo8JP55cbcSV+b/vJLzkZoniAssk4f6FAHL78vpjqf8=@vger.kernel.org X-Gm-Message-State: AB4q+uHlddsUhPjghoEj2KLHrIi85fQEI5JXUsB5nTkEFlwlTyj1q+ud ZmVkHNfAQpKa17f4HSdefSFTup7iCKL4ZvmEF6ED13AMXAaFwFW9u0D5 X-Gm-Gg: AZFdTZfRr9um7TZXI/Oyoci8wnH9wXNlhNJJvmR8zL5cWOc1CAk6lWAzIofO2rVFsZ3 iinndYSyDTL+EyHmqn8YBJR7sk8laOK3kaQWMoVWh5xwL6TtBEdvU4pCxHoWyvMLjyDwogsvRsl wZGYrBrsnqWUd2r95kmt2jfLTMznpyjrmYKfOTEiA5S0vdW5VRJ70PXT66F8qkX/uSLBKCgYBeE oZq9wUzAVo5DHHtjbvo+Whyewwr7eP1p32ThHAcmuHebSiv5vHjxQLclGs8HVPbwlqfrDKP5x4l MOTyLCaTRDPU5EsE3sFh0wedL+e54vFXFWyhG7lgYPpzvEcjcUs7bC5bQBomtKMQlAQ8wpTBxxK vJ9HIqGiUeszKsR6wDlNIFTszHfv8DDb31C35QTDizpHGtNrM6uqK143qCZlo6eGv3B1MNWwqSK g5iZNnvfacOJdypZ71q+KUgL9YwqTXRlJGl8ex7O8LHpDA1uYahIO5yyq/sOllsqoMz6AWfp7PK gs0/NjXa15D1FwkO7ilaLRf3eqxSi+oh60aAbHBTgqqofKiB66ZiX3KsX0pNrOBYdeRQlveaLrY tdnV/CynqXiDRT/NaoYQp1s= X-Received: by 2002:a17:90b:1e42:b0:3ac:a521:95e with SMTP id 98e67ed59e1d1-3b5e065388emr2128867a91.47.1796400132099; Fri, 04 Dec 2026 08:02:12 -0800 (PST) Received: from archlinux ([212.192.12.80]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d7a6b5sm9886080a91.14.2026.12.04.08.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 08:02:11 -0800 (PST) From: Mikhail Kalashnikov To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Andre Przywara Subject: [PATCH v3 0/2] arm64: dts: allwinner: add Teclast P85T (A523) support Date: Sat, 5 Dec 2026 00:01:41 +0800 Message-ID: X-Mailer: git-send-email 2.56.1 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds initial support for the Teclast P85T, an 8-inch tablet based on the Allwinner A523 (sun55i) SoC. The vendor-prefix and the arm64 sunxi board compatible patches from v2 are already in mainline (the prefix was merged from Andre's series), so v3 only carries the two DTS patches. This initial submission enables only what has a binding today. Display (DE/TCON/DSI), PWM backlight, audio codec, cameras (CSI/VIN) and LRADC keys are deliberately left out for now. The touchscreen needs a firmware extracted from the Android image gslX680new.ko. The firmware is not part of linux-firmware; it is available from the gsl-firmware repository [1] as firmware/linux/silead/gsl1680-teclast-p85t.fw (PR [2]) and must be installed as /lib/firmware/silead/gsl1680-teclast-p85t.fw. Touch has been verified on hardware: the raw controller coordinates are 1792x1152, and after the touchscreen-inverted-y/touchscreen-swapped-x-y properties the driver reports 1152x1792. The vendor DT models only a single touch supply (CLDO2), so vddio-supply is omitted. 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). 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 requires an LPDDR3 driver for the A523, which will be sent later. A ready-to-use image with working display, audio, touchscreen and cameras can be found on the Manjaro forum. Patches will be added as other contributors add their parts. Based on 7.4-rc5. Changes v3~v2: 1) arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups - moved drive-strength and bias-pull-up from the SoC dtsi to the board DTS, as requested by Chen-Yu - dropped Andre's Reviewed-by because the patch changed; please re-review 2) arm64: dts: allwinner: add Teclast P85T tablet - dropped the AXP323 interrupt, but kept its interrupt-controller properties as on the other sun55i boards: the vendor DT only has a single line, which is used by the AXP717 - used interrupts-extended for the AXP717 - fixed the root node ordering (pwrseq before the regulators) - added the missing vcc-pb and vcc-ph supplies - dropped the unused axp717_adc label - fixed the little-cluster comment (1.4 GHz) - added empty AXP323 aldo1/dldo1 nodes so the unused rails are disabled - added the touchscreen firmware-name - set the mmc2 drive strength to 40 mA, matching the vendor DTB (eMMC verified at HS200 150 MHz) - documented the two panel variants and both cameras x) dt-bindings: vendor-prefixes: Add vendor prefix for Teclast - already merged from Andre's series, removed from this version x) dt-bindings: arm: sunxi: Add Teclast P85T tablet - already merged, removed from this version v2: https://lore.kernel.org/linux-sunxi/20261001022415.913959-1-iuncuim@gmail.com/ Changes v2~v1: 1) dt-bindings: vendor-prefixes: Add vendor prefix for Teclast - no changes (included for compatibility with Andre's series; differs only in the full company name in the description) 2) dt-bindings: arm: sunxi: Add Teclast P85T tablet - no changes (included for compatibility with Andre's series) 3) arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups - added Reviewed-by from Andre Przywara 4) arm64: dts: allwinner: add Teclast P85T tablet - 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 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" v1: https://lore.kernel.org/linux-sunxi/20260918165414.1129076-1-iuncuim@gmail.com/ [1] https://github.com/onitake/gsl-firmware [2] https://github.com/onitake/gsl-firmware/pull/271 Mikhail Kalashnikov (2): arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups arm64: dts: allwinner: add Teclast P85T tablet arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun55i-a523-teclast-p85t.dts | 400 +++++++++++++++++++++ .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 14 + 3 files changed, 415 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a523-teclast-p85t.dts -- 2.56.1