From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A884606A322 for ; Fri, 4 Dec 2026 16:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=T5rKbKza; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=TxiIMeQ2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=XPT4+tl46NRCZfwlYU8uQU8FtYkhfogeGlaiWLrCiXI=; b=T5rKbKzaJwqKaZycgK5ZVw74iv /Dar3DSyiskpu9SshC1bDwqUwQpRZpKi046gjnI16ULum9FOdqB6ZkSpADkD4N39drIv/dDLA1OeI wLCWURXr+e07ahow5jPoytvyMcfgSUu3Q6eCZeA65NK4UrQN7qz3siU6TBFnqcDm7o2QUzSgez6uH 23nhKEjPEaJx37dkdgAtkcqgSEj2a2/pJvlykbqne8AcVPiD2MWQT2r+MVx2ci8vXS7vGdDU/GPZy p6cEySX1uKXuKe5VfOe1wntmXTggyEjMXcthJGb/yYNmQBdfW/84tnY9CD6gY4UWEsHEN0aYVNxS7 k+hWiQVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZVlG-00000000rkG-3eiX; Fri, 04 Dec 2026 16:03:53 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZVjh-00000000rOU-2LRD for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 16:03:26 +0000 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-3b0e0e65adbso582796a91.3 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=lists.infradead.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=TxiIMeQ2mf4W9ODrNFz8kzxZmSCV66bKbBghyVIB4aq1eyL6CGXYw2tvjk38MN1Dyj 1FJSZVNPKkwXMjLNKI8xVeCjeyAkalXCorp5K189LYVmvEeGz9As9N5DUl3Dk79VL6CT wsw8GvMcluDB9tszg7jfj6Coe73cXSJTa9XAH8NuLdO+5Iii9341aEeGxO3kR0UjbngU czRJHgeElJ/hT9N4S9c/es8ss6xuaFA9a/IOs0L6Geh37K+R+rBeBCxHhgktdowZtqfl i+8KZZ+OKWfOy1xokPXEL3xY0hQVPn412WAvvzZDqFdRbGrhLuVOMJJEQ6r/nFAwmmBU PJcA== 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=Qzurs1LRlqYatOVp7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LPXzjzymtOGIWLY75+IaWpdZbUy FSPwsHeGeJeJD9DzwHHAQpdLgj1KmV7pYRqM/tK1miMSmhqgZFfdqZzRNeZnJ6FXiVPkbBT4ier 9DPDZaVMFQGhH2WDosP3vU8= 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-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_080241_763638_67583728 X-CRM114-Status: GOOD ( 21.05 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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