From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.50 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796400133; b=P7Z0QZ12bEnmItdewMi6dWI5Nk9cLZ5aGCAKMqBhgI6G3dlYQJF0J3Q3iidkspAB+NyG zcptgUl5BpIh3IKe4XsQ5eSEvtLqcG/6rjRFy7RAfg1ITLPqsYip8xSoenkR7jNQSCuUe cpKXCc5qYeO1/V6Kkjx93PEDxdBMRuGDn9GwOpcrFcpoTuSD55jM4hfxAexuax0UNeeo3 70/oaoKgBs9qYwW/5gFL2cMtfF9109H1hEO5+37Hp/yuID5baBI/V9iKFqdYa2jZEeYDw bGIMu0Wmr+I3qq4hij9PsrtJloslPB7ajbLSyVkt08T2hfGM+4/8RiiCBd85sb6CWSw== 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=qcaq19cFCtqzbt+R8Q1ep6Y4lNraNAYHRyxJierSApV3UpOXhhg2Vqu+BtUcegnwhQ5x vLrLgV3XCKv1DFbzrtKB3IbXPOTMKgrcDK1cviprf8nkGymIbjAIAeIssj9WafcNPw+zs Wh3vD90ev4GGOM2gdRIqQ3070kr087k2XD0c/xJfznNfIyrXhdIWcGTYlBLYpreUi56lh JloyygEr4wGq+qsgWkY9ffY2JZVZqERutK3BxSTJSlMyxz4aIxvSZ3HqyI3NUw+DfS7Ns LaGW7V3ONALe0f+i4joLY205NhUInWal0v3H22jX5dZKw/JBP/btbjUoV+MALPgIguA== 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=bvjC0BQC; arc=none smtp.remote-ip=209.85.216.50 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 2F951606A335 for ; Fri, 4 Dec 2026 16:02:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2F951606A335 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=bvjC0BQC Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-3b542b4d7bcso549684a91.0 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.linux.dev; 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=bvjC0BQCADo/KOOXvGBC0RaLY9Wtj9gm0vnFLnen7SfBkzr43o9mjdg6voSBbXsblL hZmwXWZPNhDo7aKJdnUEzw+vnB/2WVGOeK4bywnRW/IBaWxMYvVkZnlIp2lgIEM96T2s 5wG7xcpDHhjsU1deYIMJqCgJIuu67UxhanTHBtSylSHW65+n+DLwndHEQ4tbq1WKmvwI HDRkPovJmVRzXC/3K7On8dsnLyY6pMuHmsQbKs1D5H5cjCzELPvVQjZ4AISWmYGWCfQD CTnjBLvbqBuBbAnYLaFK4q/6MaUxEb5I4+NMgAapVxHEVoD31Fb0pPSQEhJ1Q4kF0XWh CvMQ== 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=Y0lKnV9PI2d8PFizSvn6bLDoLeHDGd4l9g6ZqaIlsgoSD8Xzm11o28OxhSV3FkKpTJ JX+lZHaa1OmiFnt8kIKTfc7+y46c3rfWDYAdAbPfx3bssFercRWC+1dSCZpzaM4opUWT MVIz3CVO++4/JDxzK3QJa/uWKMEMSh5T0jpuLj0GLnRBz3LSYu6RFv5pHAESHR062O1w fucSYJ86dC2A8Au0SBq7cZBvWvPLUZEISaBIO0UZkpUBdP9+LMVmYeq1n5LPG7zDFhzD pDOSnfC/Bj/JD3B/m9lTTZzVkZ/Lu1YzQ8lL+aTpBScTP2KDzAhWvqyFghpKLEY3n4hO txWA== X-Forwarded-Encrypted: i=1; AL+hErFqAZT1RKLMsSWvjfp3g06jBRbPHtAThZVt5NQfthFwDyHthtA5gk1LG170xdQbfeBaBvQ+p8b9Fefj6Q==@lists.linux.dev X-Gm-Message-State: AB4q+uEqhMA1VsOQ7BZHF1CTPAzgh264PULST9FTb3clg5Kj0aDAdTD3 wf1x0jyHyrl1nNPxiBvERXn2NA/q6l59kf7WSJvJ2dgb23jJrnA84D1X X-Gm-Gg: AZFdTZcNhu8LPMSMEuvHO8uIhyyQG7RrN7GwvIsL5frdlW9kRY8NLBSKjNPzRok1Zj5 Qf1MxUeosfnxykWdU++r8Z5FgOZ4c1tVmKSDcMfEWJMVCdBE0byc9VxXaAIZzDeM05rIWZycThk l+iml8HprAxolM+NVDvlOEUNh5pvfHgAyzy8lANmpBKFslUlDC2C8uM8rydRxVAeT9vmyCj1eo1 X7NRdlf2DpuSc4g7e4iHNdQMK5O+FPJ6Ai8YVD249Loac3dBiDvar+KmIoaMuKQ9vNDfTMJ8SHG NwW/kHXD6a8R9I71dysSHlI/roXYxXQklH0FWxalcacmZTBhZFgx7HaxCRt3hLyFpX5clwJtADk t+VxrAsPSW8Is9aFVPGQb767HQCQHe3oRNudbXPjt4rFGwFL1pPYoPXIkb8q2k5vIUYgiSUhCa5 XFrrRkNfS9pYzQ5bW2KnkOeeJQEq8cxA1qD7sUnzc9d/pTFKoR1N8YRMq9UmN1byz5/P1N0sUW3 mFhWIeFakNg6hPUlDCbMc5iJjA0dBgup4GgVPbL5NKadS7yd5LqfjMuK8yqUVbuCpiD7pP89zKB cStEX6F1gBFvg+wBodCq9/Q= 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-sunxi@lists.linux.dev 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