From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.51 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796400133; b=n/DiEo80ASCBfXhS72Rf/RAQ9VLsIA478EA0NIzxoYMQGfv5NLrNKh/TFbZMGV7y/k47 AVloRTnhLrw0OaSqzCMruvtX8BZ8UaQT76fEJBDqqRAs4zgYf6FaxOr0muI5zfRp2pt+Y yGKPa/Oo8b6tXqmYN6/7qdUwILq/5uhwRDF5X2KY3crzMsFUxuUqJr/3NNqJusWMaNyYe EdubTkqX7v32uh9kut2T7gqPuk8Gfer3VUeAWPctFjmhhnl4gZKfpryxWlpqc7UyvqsU2 +YrapihiHTu9iOKhKxMRsK1wcyVGAoo3Ez2mO5rjzsc3MSDl//3q3tkm8CFWWD9SwAA== 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-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=iC84Ekr/bbBR7+Dim6ubbqEkUdu/jgHbf7kvHwhvsCjls99MBjvHqVRXL+3+9Fqj/ZcG YLE4N8QPLWCiXHVsv9w7yfz00DIjZ9tv4/KFS8Wsa0cAQ6NHVwpNuKZkOS3PCjg8wSb87 BDs5EzdPNoqmhxButUjhmJte25HWt70c7sMFSXIwUiZE/uxm4t4p2IffXHA7FRucxAOTf bvytsB+uMMqhTLzTRjmr03Dc2qxOcMiQT2SFYF/KoY0IV1g5SDh5Yf7S1fUXjHzkQzdA6 gwNDXhgPCLL6TU86fMYPjL78dpNyYcJiQER7tCKDXCI2b6rXXZh7Ul7tNA0OfstTtBQ== 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.51 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 39093606A682 for ; Fri, 4 Dec 2026 16:02:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 39093606A682 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-f51.google.com with SMTP id 98e67ed59e1d1-3b0e0e65adbso582795a91.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=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=L9dVVdjwhi16dLd4Qwh1EfrYMbIHKeHd/utTRUiqOJp58FPX5or40ll+u8NovUJ3qM YvkfaFTz5eYuw9g31geM5nBLqkayM0vbBI2AwaQe4INi1lYa/B6PYB0+UtpFawcqjSYz +l5hjG6DS87M6yVo4zNP9RRI9fj4NwQ/RCYh17K1n2WfHFRKI9IjYuKzYFWkgo1S2phQ y6RyVuLRwme4R3Q5GYxyiYKFy6BrD8IQgze3ctXod/qmfvM8EyS9zH8iomOj4x6XJhGj PvQnrjWAkeJxBXwSPPPXpjDyz/8J1vsGZy9P8gSRKa7m8eW8MQkgaRaLWaBTpBK1dVII NF+w== X-Gm-Message-State: AB4q+uESIsL59FZnm3dQ40l/WuZtf9ho1YfBjUTb4Q9RbLokDf1MuyZF leKIi3emvfWJkG2gvgi+OeOz4rDC3E4+YafuYpzbP/8/gGXIV0810PbY X-Gm-Gg: AZFdTZfkYMDp2m4wXigTV4Bthl4vo/biu5M1jeMyBLUEJXbs9jaR6ya/HV87qODTq5i owhNZ3ZKAFKCGtHKG1s+Q+ZD7/+z+Ve3BUP1XQGNJhYO4YtiC/4eBBNvr4qzL6Tcc8kTsBPsHfG WHZ224n0o+ggpfdv3iwSbDxW3mPUYHEbXn5Nhu4YyBFQA90p5ZFfVoOKP3mXLaaj6m+71el2qKc j2yQQLtrPCFD6UvAcmx7bD3MFiTM/6ctnCVwKInMHIX0Ycp0eORS2dCO5vUz3pJ4znwSlH7eCLh tWnNqL7D2QF7k03WB/UlsS3YzwOCSETZFDG8l4sRY+Firm1opkDUAzCkcrnEenarM6tloxA5dy+ TaVdLTIJpg1Ru0Rp14RoW1VLlXwCVwOlf+m08bj4u5uZqoVmOoNAd+/BKgoBTHvgMVB/R5O30ML ED/VBeW4YedmtkgUDwMMLk8gYa4zXiKyOJ34yIZaPS6+UzebujFSVYFvnYBfVQaP5eTWaV9i/6q J/J2hYWNQKicvcL36W1Gv5mdng9qJHdRMjo/mNEWEvshlBkgOqcF0JHfaOt3z/MBv/xgpF3kISI et0ySuXLeZqpUkK+LN4VpIM= 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: devicetree@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