| Message ID | 20261112-h616-zero2-dt-v3-0-1cd2664230c8@gmail.com (mailing list archive) |
|---|---|
| Headers |
Return-Path: <linux-sunxi+bounces-27557-sunxi=pue.re@lists.linux.dev> X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mxe881.netcup.net (Postfix) with ESMTPS id C70E41C77F8 for <noreply@patchwork.local>; Thu, 12 Nov 2026 10:40:20 +0100 (CET) Authentication-Results: mxe881; dkim=pass header.d=kernel.org; spf=pass (sender IP is 172.232.135.74) smtp.mailfrom=linux-sunxi+bounces-27557-noreply=patchwork.local@lists.linux.dev smtp.helo=sto.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.232.135.74 as permitted sender) client-ip=172.232.135.74; envelope-from=linux-sunxi+bounces-27557-noreply=patchwork.local@lists.linux.dev; helo=sto.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id E4534685682 for <noreply@patchwork.local>; Thu, 12 Nov 2026 09:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1794475354; b=J7mW/SeRL99dl45/IJLaJsTK2O5w7/46cDoNc3ayxoxwlP1VElD936xjLgOhIr6e/rTh ILIpcoIB0DLDIoumSjl2NrUAEpoQL1MBe84xoSsqqovP7aiaiDWnJSN9MvYYjmIdfjTCd sXK8EeuLMfTShyLcS4IFVvVS7xZL+X0f4WJaExkF0oNUyr0GIEzQErWZXLuzoIP+v47ov EyRJqR7Y8nZGG+rnPLK46pCEMHxBaDbIq5ZLQiRBWJlS6zap+74yQfhyBGtSrBWC1ulRZ EoPW91YXwXeJ9kQe3DcQWfBPQt61KqMvdgzkgYNJyj81BQA8UvJ7SAE04FRlsa3L+8A== ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794475354; h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Subject: Date:Message-Id:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=vTEqyGdlUHRIipXptM1MNlq7i4gwantpb0GiOaLloAk=; b=UG4aLGC64lU5gWRZjNEy5LyKJQbV3HBrh7QQgi4pzJNE2T0vSTPTFn31cmsc/Wu1y0mP s8WIMt0mQnQTjo5P4glSeN/qQG+2TjgqR16Sw4alB+veNcRjzFGqv+IN+QqwLanYfl3Nc m0kMrGV6xW3QbdtKzHu2rSmxIMf0a6LI0Y6+9miVrtWYFhnGJIy9kEUBK6sN+rBwczwl7 7150sM88UlK0rpqMzEhJUatlricsda57Q7LADI4uON0+WFJVZqauH2VKKk+gK1dGLnsBp uDjrg/tM7nsgalVJ/1BFLR7eNDVHo4z0OBn3FSVaUaAbh+/pUFmWblq6PmxUv9clpdA== ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TW1azedo; arc=fail smtp.remote-ip=127.0.0.1 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 045C7606A88B; Thu, 12 Nov 2026 09:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TW1azedo X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794475353; b=HDLn2gugerah9S/mtQmVvYwwC1CLfx/Pnmu3RftAAjymbyKDKWkDxJIyCgq3iyuEAem3 BDFO+g6ypRquqDU0nqPk3HnIaj19ZBsZIH38sVjMIUC8wqe5ryb4xZ7tUG8Xbtj0nDSqn 1I9qluIRRBT6m84www/ibaCBIwNNT8+c3SI0SAQbQn+C+UW7ATi4QL10x/riAU3Tuk3sA /9dpRR55tA8e/WTxmPIMfdw/useajwGBe7GXTwLl4TL30ncuqxTLhiVkWcioD/uZa8SBX 19pioBdXMNGzVLaDXZ/qSw6vKZ1Es2EFn4s+he0+P/Ov1ZAj7Q4+Gm1h00+zGWQL9ew== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794475353; h=Received: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-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; bh=vTEqyGdlUHRIipXptM1MNlq7i4gwantpb0GiOaLloAk=; b=kQviozWqbm4gRd3gyhgDNe6yF3dp9uNnMbyx65Vz2idnNYFEdMLF3Zgll/SinYJGxQwL ARc/fB0qnuiqjLB8wPOU2ENr3Bm93nrrxitVZnMLzfsNm9OkdB29CIglA9I5uDNckgm5h piHm3+ouSisuzRE0f1DL1RMq1WiczH0hYIfXk/FVOsuWGSzBHUSjw6vVnP52te3fwXp2H oGRkZv541uH0FG0nehr8Bi9G/soHGjQXjy8jx2ScenA0tl8DuQd9i4zIlw5WZJwGGzNBq qGaSoa0bfTw6vcuXMaoHJIHs8+if2/XTJkdTyydtLUsfkhvJD4Nlt/O0MOLU8rLzdzA== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TW1azedo; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5AB4606A883; Thu, 12 Nov 2026 09:22:33 +0000 (UTC) Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1794475353; b=KySWfM8SkbEfacPfVio4wQG/ho2ONkBMfRvRsE9zGeqUKmpftsPYu3ikYQS3evqHIUQP AzPkDmgFY0pHIKMcU24/77bhFOGXVxyHa9P4QX8NCDjH+YHtLCApJ/aBKoiDYvOcazRSk Hod7UOPPln9g/pJhUPIvWNTlkGoHaXRLaLaiDRumNZLkP30dEdICyyAKQ/fadnc7/Y8kC 56qOpVDvDlGqlJ5JT3UZ4bpC6axqKCGWH/Fv1XVYltJvbp1jOlPFKz+1cttJXXw4Y3/SU byyrusSQwlyuPu1xorVXfiYr8CgGEynVAIg5AtQVWvul20hLB1Wx254UzyJJReBMcpA== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1794475353; h=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-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=vTEqyGdlUHRIipXptM1MNlq7i4gwantpb0GiOaLloAk=; b=XRVprOwHTtxPgGAeG6ic2WzeGcsWYGoc387kyhpkGWmsjyQz+MbPJE4Gzo0c3B8H3jws C9KptvHpAyh7wwkYPcAHb8siVwumtEmQVuYJrTOQpe7PN6FZki/AJarQVYWsTWdZFt4Cd ng91IdjUV9kOM2WI59NyOL00XcbWkvA1Qikk/PYnpYl91QkloQFcSCqQQlPxo3hjQObwq i42Gvz50hlhe8ALmieJuhLMaD/5loJo0+Eehothf+8A82R+ePP/jvvVNMfw3WjNMR0anK 626zD8sCYXXE8iIznDBEnBkU1bM9UuxoXjYOqVbNS6CGwCMDJHkuFrfpic0YzDON7tQ== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (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.kernel.org (Postfix) with ESMTPS id 08EBC1F00A06; Thu, 12 Nov 2026 09:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794475353; bh=vTEqyGdlUHRIipXptM1MNlq7i4gwantpb0GiOaLloAk=; h=From:Subject:Date:To:Cc:Reply-To; b=TW1azedoUY8N786LygfKe2hBNX/Ri57AH3CoaYhLu2Y/ZkgVvEntFm9cBXag/T9ML gQsWmyseVPEKdHDFvg/+OQzuTLjZ/LK/Fic8hW6XgfJzjSOIaqxo+54I5KIQLlSB34 yDseOEbLMWH4+a4hs+GlwEau308J2bviMyoxxK21aW1QAHLHIICfGpQYXDhO9mvxJ9 sm5wZ7JPUhoJi122vawb0Mveh1bRPKWIVMlMuk41DEGyVwIj3sDdN4q2WA87bSleJB QF6uqiKJc2oJpq5vVO4thhh8nA2t/SfvxTDV8uWG1ybfBOBpP1keiFQ4cu/0GWa7ZL VJf6P9yX4qn/Q== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 5C9064942C; Thu, 12 Nov 2026 09:22:31 +0000 (UTC) From: Arun Iyengar via B4 Relay <devnull+aiyengar1990.gmail.com@kernel.org> Subject: [PATCH v3 0/7] arm64: dts: allwinner: h616: Orange Pi Zero2 fixes, GPU DVFS and GPU cooling Date: Thu, 12 Nov 2026 09:22:30 +0000 Message-Id: <20261112-h616-zero2-dt-v3-0-1cd2664230c8@gmail.com> X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: <linux-sunxi.lists.linux.dev> List-Post: <mailto:linux-sunxi@lists.linux.dev> List-Help: <mailto:linux-sunxi+help@lists.linux.dev> List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev> List-Owner: <mailto:linux-sunxi+owner@lists.linux.dev> Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/3WNQQ7CIBQFr2JYi/lQS6sr72Fc0A+0GFsMVKI2v btQN42Jy0nezJtI0N7qQI6biXgdbbBuSFBsNwQ7ObSaWpWYcOCCMQa0E0zQt/aOUzVSic0eUaO UYEhy7l4b+1x658uXw6O5ahxzJC86G0bnX8thZHn3rx0ZBQplCUJVAgxnp7aX9rZD15Pcjnxts 1+bJ7uuVQ0FGDxU5dqe5/kDz1R0LPoAAAA= X-Change-ID: 20261110-h616-zero2-dt-acb4ccecaa0f To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@kernel.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Ryan Walklin <ryan@testtoast.com>, Andre Przywara <andre.przywara@arm.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Arun Iyengar <aiyengar1990@gmail.com> X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794475350; l=3901; i=aiyengar1990@gmail.com; s=20261110; h=from:subject:message-id; bh=EcorY9ABEr/4gHmXcW2+R94Df3LCsmxuz8LcRaA2fBg=; b=xb71hD2kQtHAi/ZM7nHrlFQfY0xwGdRpQ17jI7RajpNp0bKc0J9Fpfcamxajh6xLEJbC0SuQ4 SCyPsDAGF/FDue34l9F+NBGMZCx29JW+YY2c2hiFauhsxf4DnIxXku4 X-Developer-Key: i=aiyengar1990@gmail.com; a=ed25519; pk=zXpRgUTrhaFe6jLyPqbBy3ccfkj04w0g2690Wv3mg+0= X-Endpoint-Received: by B4 Relay for aiyengar1990@gmail.com/20261110 with auth_id=1480 X-Original-From: Arun Iyengar <aiyengar1990@gmail.com> Reply-To: aiyengar1990@gmail.com X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.19 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.232.135.74:from]; SUSPICIOUS_RECIPS(1.50)[]; ARC_REJECT(1.00)[cv is fail on i=3]; MAILLIST(-0.18)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TAGGED_RCPT(0.00)[dt]; FREEMAIL_REPLYTO(0.00)[gmail.com]; HAS_REPLYTO(0.00)[aiyengar1990@gmail.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[msgid.link:url,sto.lore.kernel.org:helo,sto.lore.kernel.org:rdns]; RCPT_COUNT_TWELVE(0.00)[13]; FORGED_SENDER_MAILLIST(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[devnull@kernel.org,linux-sunxi@lists.linux.dev]; DKIM_TRACE(0.00)[kernel.org:+]; DMARC_POLICY_ALLOW(0.00)[kernel.org,quarantine]; R_SPF_ALLOW(0.00)[+ip4:172.232.135.74:c]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.80.115.77:received,100.77.114.92:received,100.103.45.18:received]; TO_DN_SOME(0.00)[]; R_DKIM_ALLOW(0.00)[kernel.org:s=k20260515]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org,testtoast.com,arm.com]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[bounces-27557-noreply=patchwork.local,aiyengar1990.gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.232.128.0/19, country:SG]; RCVD_TLS_LAST(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.232.135.74:from] X-Rspamd-Queue-Id: C70E41C77F8 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: INBOX |
| Series |
arm64: dts: allwinner: h616: Orange Pi Zero2 fixes, GPU DVFS and GPU cooling
|
|
Message
Arun Iyengar via B4 Relay
Nov. 12, 2026, 9:22 a.m. UTC
This series collects the device tree changes we carry for the Orange
Pi Zero2 (H616):
- Patch 1 makes the H616 codec node cover the DAC RAMP register that
the driver uses (it currently works only because ioremap() rounds up).
- Patch 2 fixes intermittent dead-RX boots of the Zero2's Ethernet by
letting the RTL8211F add the RX delay ("rgmii-rxid"), as the Zero3
already does.
- Patches 3 and 4 add an H616 GPU OPP table and make the Mali-G31 a
cooling device of the GPU thermal zone, with a passive trip point.
- Patches 5 and 6 enable GPU DVFS on the Zero2. Patch 5 first raises the
floor of the GPU supply to 900 mV, because on this board the rail is
shared with VDD-SYS and the video engine corrupts decoded frames at
810 mV.
- Patch 7 describes the SPI NOR supply.
Testing, on an Orange Pi Zero2 with a v7.3-based kernel carrying the
same DT content:
- RGMII: 10 of 10 cold boots with a working receive path (the problem
showed up as intermittent dead-RX boots before); iperf3 853/873 Mbit/s
and 86 minutes of traffic without loss.
- VDD-SYS: with the VE at 600 MHz, only 6 of 13 4K H.265 decodes were
bit-exact with the rail at 810 mV; 3 of 3 at 890 mV and 3 of 3 at
950 mV. With the 900 mV floor, a 70-minute decode soak (H.265 and VP9)
had 42 of 42 runs correct.
- GPU DVFS: panfrost devfreq scales 306-600 MHz and the vdd-gpu-sys
voltage follows the OPPs within [900, 990] mV.
- GPU cooling: the gpu-thermal zone binds the panfrost devfreq cooling
device. The 85 C trip itself was not reached on this board (it peaked
at about 70 C).
- SPI NOR: the "supply vcc not found, using dummy regulator" message is
gone; the flash reads back correctly.
- Codec: analog line-out playback works.
The series is based on sunxi/dt-for-7.5. "make CHECK_DTBS=y W=1" gives
no new warnings for the H616/H618 boards. The Zero3 shares the GPU
supply design, but I have no Zero3 to test, so it is left out.
These patches were developed with Claude (Anthropic) as a
coding assistant: it investigated the problem, wrote the code and
the commit messages. I reviewed them, and they were tested on an
Orange Pi Zero2 (H616) as described above.
---
Changes in v3:
- Dropped "orangepi-zero2: Add i2c aliases": the extension connector
is not covered by the board DT, an overlay that enables a header bus
can add its alias (Jernej Skrabec).
- Link to v2: https://patch.msgid.link/20261111-h616-zero2-dt-v2-0-88d8030fc975@gmail.com
Changes in v2:
- h616: Add GPU OPP table: use <target target max> voltage triplets
like the H6 GPU OPP table, so that boards whose GPU supply cannot
reach an OPP's target voltage lose that OPP instead of running it
undervolted (found by the Sashiko AI review). No change on the
Orange Pi Zero2 (AXP305 DCDCC at 900 to 990 mV keeps all ten OPPs).
- Link to v1: https://patch.msgid.link/20261110-h616-zero2-dt-v1-0-05506d760f21@gmail.com
---
Arun Iyengar (7):
arm64: dts: allwinner: h616: Cover the codec RAMP register
arm64: dts: allwinner: orangepi-zero2: Let the PHY add the RX delay
arm64: dts: allwinner: h616: Add GPU OPP table
arm64: dts: allwinner: h616: Throttle the GPU from the GPU thermal zone
arm64: dts: allwinner: orangepi-zero2: Keep VDD-SYS at or above 900 mV
arm64: dts: allwinner: orangepi-zero2: Enable GPU DVFS
arm64: dts: allwinner: orangepi-zero2: Describe the SPI NOR supply
.../boot/dts/allwinner/sun50i-h616-gpu-opp.dtsi | 62 ++++++++++++++++++++++
.../dts/allwinner/sun50i-h616-orangepi-zero2.dts | 13 +++--
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 17 +++++-
3 files changed, 87 insertions(+), 5 deletions(-)
---
base-commit: a7f6e476aaedba0d8ec575acaeb3257f900a592f
change-id: 20261110-h616-zero2-dt-acb4ccecaa0f
Best regards,
--
Arun Iyengar <aiyengar1990@gmail.com>
Comments
On Thu, 12 Nov 2026 09:22:30 +0000, Arun Iyengar wrote: > This series collects the device tree changes we carry for the Orange > Pi Zero2 (H616): > > - Patch 1 makes the H616 codec node cover the DAC RAMP register that > the driver uses (it currently works only because ioremap() rounds up). > - Patch 2 fixes intermittent dead-RX boots of the Zero2's Ethernet by > letting the RTL8211F add the RX delay ("rgmii-rxid"), as the Zero3 > already does. > - Patches 3 and 4 add an H616 GPU OPP table and make the Mali-G31 a > cooling device of the GPU thermal zone, with a passive trip point. > - Patches 5 and 6 enable GPU DVFS on the Zero2. Patch 5 first raises the > floor of the GPU supply to 900 mV, because on this board the rail is > shared with VDD-SYS and the video engine corrupts decoded frames at > 810 mV. > - Patch 7 describes the SPI NOR supply. > > [...] Applied to sunxi/dt-for-7.5 in sunxi, thanks! [1/7] arm64: dts: allwinner: h616: Cover the codec RAMP register https://git.kernel.org/sunxi/linux/c/7d86907c33fb [2/7] arm64: dts: allwinner: orangepi-zero2: Let the PHY add the RX delay https://git.kernel.org/sunxi/linux/c/05006ae70803 [3/7] arm64: dts: allwinner: h616: Add GPU OPP table https://git.kernel.org/sunxi/linux/c/e39ccc7f7493 [4/7] arm64: dts: allwinner: h616: Throttle the GPU from the GPU thermal zone https://git.kernel.org/sunxi/linux/c/ce0fd2bf5732 [7/7] arm64: dts: allwinner: orangepi-zero2: Describe the SPI NOR supply https://git.kernel.org/sunxi/linux/c/e51eaff703b1 Best regards,