From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=117.135.210.3 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793631654; b=lidLcE9QmL+zGpRHT9qcFRjLiu2LcinwlymhE6woOJYdspSyyW7pdXLqcuKtLj+dkCRz gsxH4TsmDzkF0znp/NF2Shsb/E1QvIh8jPP3ujI1omo5bswl2dxFOWSA3f03hJ+f0X1Jq H07wZmJ7ZELwFrw0DC858rZjnQW5YvIbz6tqEXJzGZe8WJULovZzWfGeanfRa/dyqlNrr 8rrBZVk1CsbeLrJmIbcjWhlwSasCjesoGuextNiZzwjJoJ60O42K/9Pcv85P5KTeJYIn6 rMGIdczuUf/C5YYa7a+ZJ7/OK47EStOFVLTvAkdDxpDmuV1DhdBvq/w1B0/E07Pem3g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793631654; h=DMARC-Filter:DKIM-Signature:Received:From:Subject:Date:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking: X-Change-ID:To:Cc:X-Mailer:X-CM-TRANSID:X-Coremail-Antispam: X-CM-SenderInfo; bh=4Uwae+gE1BcmoHM+lz7cCmQC10sk8bUBWclgEXNXliM=; b=IQAsGnK9/tFTtSadUcS5fQ/qkL6fQXxUnyQBRy8Xvl1iRpU9WqYy4lYC7iU/oA6CJ3yY semCWXisf+0kpoSNVhnInB9XkHpG4pnw+wV8jJI/4BDVhfl0yFurxD37+cMh8kqMgcN6k haDlkRfOutZuFP6aBBGOG/M3X7RBiVJ0CTBApW4VsoUibXuKvkK7+RF5CBtiCqj0/n1lV uyWNAS1bKu+8E7NLQEEGmt9vbZ2ftxBVfyALCFIFLS7gjRrZF6l4zVkTp8CH9pdhsl56U gRzbWEfb0RTqqCmKuSqlfsi9RKWbV5N2Mse3BAkZ+s/n2VM+Nax5ucBgoojBnJpzdPQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=X6hAabrk; arc=none smtp.remote-ip=117.135.210.3 Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3]) (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 6C6AA607E0EF; Mon, 2 Nov 2026 15:00:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6C6AA607E0EF Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=X6hAabrk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version: Content-Type:To; bh=4Uwae+gE1BcmoHM+lz7cCmQC10sk8bUBWclgEXNXliM=; b=X6hAabrkf7v8g3aGn6Q6oVY7CbRGc3h5xrNQbjI940fWlQd6Zwil90BkznBg7N sPsvWsc8XTSrta3EpyxmBmtsyfusw5T/oJKu2mDObQb7Hkd/IaDfXX1nQIJIFReI UXCdyfmmiN/Lm7MFG67HMBG715giiQmtCPPNQ4K2Ju6RQ= Received: from 4F-GAME.localdomain (unknown []) by gzga-smtp-mtada-g0-2 (Coremail) with SMTP id _____wD3_yh5pehq8uWTEg--.2912S2; Mon, 02 Nov 2026 23:00:10 +0800 (CST) From: Bob Hui Subject: [PATCH v11 0/2] arm64: dts: rockchip: Add ALIENTEK QuarkPi-CA2 Date: Mon, 02 Nov 2026 23:00:00 +0800 Message-Id: <20261102-quarkpi-ca2-v11-0-eb246076a82f@163.com> 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAHCl6GoC/33NzW4CIRDA8VcxnIuZgQWWnvoejQc+RqVNXQu6s TH77gVNU7mYcJnJ/P5cWaGcqLDX1ZVlmlNJ06EOiC8rFvbusCOeYl0wAUIjwMC/zy5/HhMPTnC BUThlg4IgWRXHTNt0ueXeN/e5nP0HhVNLtIt9Kqcp/9z+m027+yubrjyb9oC7cQg6qqhpq99Qy 3WYvlhLz+MTPFbpR4lWeIpgfC/tgxTYS9ukUQDaC+GD6iXCI5U9RajWRm9hQDsQyH+7LMsvFtd wAGoBAAA= X-Change-ID: 20261004-quarkpi-ca2-21d2a59c50c3 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Andrew Lunn , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley , Bob Hui X-Mailer: b4 0.15.2 X-CM-TRANSID:_____wD3_yh5pehq8uWTEg--.2912S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCF1UtF1xArW5Kry7tryxZrb_yoWrWw1fpF ZxuFs8Grs7tryI9ws29w1xZFyIvw4kJa1SqF1kJ345Za1Yvr18Zr1Skr4FvF9xCrnay34U Cr15WFykGF9rZF7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pRiYFJUUUUU= X-CM-SenderInfo: lejz05rd6rljoofrz/xtbC+hxdymropXyuHAAA3Y This series adds support for the ALIENTEK QuarkPi-CA2, an RK3588S based single board computer. The binding patch documents the board, the DTS patch describes the hardware. The DTS was rebuilt from scratch against the vendor 5.10 BSP device tree and then translated to current mainline bindings, so that every node and property has a vendor-side or schematic origin instead of being carried over from the earlier revisions. Changes in v11: - Trim the commit message down to the board description and the list of supported peripherals. - Drop the Assisted-by tag. - Note on the Reviewed-by line which nodes were reviewed. - Sort the properties in aliases alphabetically. - Sort the nodes without unit addresses alphabetically, everywhere. - Drop the deprecated regulator-suspend-microvolt properties. - Sort the phandle references alphabetically. - Keep a single root node and merge the extra root nodes and the &{/} block into it. - Link to v10: https://patch.msgid.link/20261023-quarkpi-ca2-v10-0-9db904194e03@163.com Changes in v10: - Add the Acked-by tag from Conor Dooley, which I missed. - Add the missing domain-supply for the GPU and NPU power domains. Without it the power domain driver falls back to a dummy regulator for both. - Enable the three NPU IOMMUs the enabled NPU cores reference. Without them opening /dev/accel/accel0 fails with -ENODEV. - Link to v9: https://patch.msgid.link/20261021-quarkpi-ca2-v9-0-b75006b22bc5@163.com Testing: boots from microSD with this series on a v7.3 kernel, and the on-board hardware (microSD, eMMC, HDMI, USB-C DP altmode, USB 3.0 and USB 2.0, PCIe Wi-Fi, Bluetooth, GbE, ES8388 playback, PWM fan) works; "make CHECK_DTBS=y" is clean. The NPU works on this revision (all three cores detected, IOMMUs attached, /dev/accel/accel0 opens, MNIST classifier 95.00% correct on 200 images), and so do the H.264, HEVC, VP8 and AV1 decode paths. Note: there is no fiq_debugger node, so the debug console is ttyS2 and console=ttyS2,1500000 has to be added to the bootargs manually. Capture from the headset microphone does not work with the in-tree es8328 driver; that is fixed by a separate ASoC patch series (sound/soc/codecs/es8328.c) and does not affect playback. Changes in v9: - SD card: drop enable-active-high again, the power switch of the card slot (vcc_3v3_sd_s0) is active low. The v8 conclusion that it was missing came from a test run with the wrong DTB loaded; with the property present the regulator core drives the enable pin high and the card's rail stays off. - Audio: the I2S0 MCLK pinmux moved from the I2S controller node to the codec node. Link to v8: https://lore.kernel.org/all/20261007-quarkpi-ca2-v8-0-b83192bed07b@163.com/ Changes in v8: - SD card: add the missing enable-active-high to the SD card power switch (vcc_3v3_sd_s0). Without it of_gpio_quirk_polarity() forces OF_GPIO_ACTIVE_LOW onto the GPIO descriptor, so enabling the regulator switched the rail off instead of on and the card lost its power. Reported by the sashiko review; verified on hardware, the board now boots from an SD card: https://lore.kernel.org/all/sashiko-outbox-162297@kernel.org/ - SPI0: describe the two chip selects as GPIOs (cs-gpios) instead of muxing the dedicated SPI0_CS0_M3 / SPI0_CS1_M3 pins, so that both chip select lines stay usable from the 40-pin header. Verified on hardware: both lines are claimed by the SPI core. - Link to v7: https://lore.kernel.org/all/20261007-quarkpi-ca2-v7-v7-0-a84c6d5d6ef6@163.com/ Please review. --- Bob Hui (2): dt-bindings: arm: rockchip: Add ALIENTEK QuarkPi-CA2 arm64: dts: rockchip: Add ALIENTEK QuarkPi-CA2 .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588s-quarkpi-ca2.dts | 1202 ++++++++++++++++++++ 3 files changed, 1208 insertions(+) --- base-commit: c03c1a14507dfaf8b856c2608f9ac216021fc222 change-id: 20261004-quarkpi-ca2-21d2a59c50c3 Best regards, -- Bob Hui