| Message ID | 20261110-h616-zero2-dt-v1-0-05506d760f21@gmail.com (mailing list archive) |
|---|---|
| Headers |
Return-Path: <linux-sunxi+bounces-27461-sunxi=pue.re@lists.linux.dev> X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id 357871C72CB for <noreply@patchwork.local>; Tue, 10 Nov 2026 06:38:18 +0100 (CET) Authentication-Results: mxe881; dkim=pass header.d=kernel.org; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-27461-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-27461-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 4F3F5C899C for <noreply@patchwork.local>; Tue, 10 Nov 2026 05:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794289018; b=AcbI749PSxFFVivUVCqhbDh9od/h7fyff/dKQq+THInqz5Qmx/IHpLsBKa9sgD4BHxzC PFoSaySmm5RlhAAh9uUVMCwFAzKFNxOT8hEeLRK7iyAgxzpJdPKUT07rtvKZ+kgXoHiXP jTWHaep8WG8PDJdlu2F/tJ0r/hF9BNXYNbK8C1eFoAFxNPZ3M9drgGkk/O9/pmUgsMtAo rHexXFpJXiARuBSerQGZzcTemcpGE/PFXT+l36P/1QmHq3elvnzrjxudWxmmDPdHkuvP/ KrBwR2l9/LpFo6Ra10jsLOeyZlK3MEull8DNYGssv0ejX5N2RuUTskjo7M5LkFwIwpg== ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794289018; 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=29DACKgqdQGqTbbHLiteISW3oGkID104sqmdAbtVPZg=; b=2M9h+Ju4y6rKZ4v7SwzBqjweG4m9XTaojDTSMunD84d8nUCCmg/g6127BmLt7tL9Mj5d /OvpfU7egYOLvTsNyjm53Nahg0j+iaGf23ElKjy2hKRZMhwarxVWbw3l16lpTIf5D2YyT NZR/7POUnIBsG3toSaxMSFa63FpauRFZ5I7xynDxGroNj6GSj+wvPS+4UdFeR4In0YBLv HHv50X/X0UaA6u37KzGdBhYoMoH02MCgjy6p5wnFJTLupmuUK5rz8ooZtFsDv8p/+Z44f fPiZqFqQq2y4qpdAZZEyoeO8W3Y7Sh5tVGVW3qjLDfasZTXTqVB7EabGPoTzPEBkIAQ== 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="Hg/a3x/M"; arc=pass header.oldest-pass=0 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 AAF81606A333; Tue, 10 Nov 2026 05:36:58 +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=Hg/a3x/M 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=1794289018; b=IuivxRo4cPvLNQ2Ut0au/JlToYEqYl1SXttCA4waigoqTSpGTUdkiD/vbt3vGHFmDEuT XgL7DEbSt6pNTa7ZjKi/LQaenbX/YN9+SC8llJZ1iKI7MKXO81SUtk+EjmKrNuW2Vqh69 Z+RFB4L+iLQMSs21bnKJUpDYlokozbQjxXWsxUCQW1ShgrzC2wyeKWoWEJTAwDVyfYH3R o9pSTHUkcs6dwLYxQR6XrQUJwiftl5DxaC94Mj2zwWdjTIkAPqvwp7Aq8bQQ4fHl8l9xX LnI6eBSHXbO+0NXkeLiM3QJ9VXDM2Xj60/Ri0Gj/JvVj1C+RIHkkZlkb3L50iCbHA1A== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794289018; 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=29DACKgqdQGqTbbHLiteISW3oGkID104sqmdAbtVPZg=; b=FCa37LU+AmYIyHAPubzVd2dDDneLwBIWVJUjp1Do0dqSGsbUrllOAwMtyG72qqtRlmfN mxaXDjHtda1KUJ6b791vSJqECB+yPFbe6APanM8kQ6BIYyUI5dkVtXNwZJc239evyFJj7 SdEFUsKRfM/yGmGYZe6ixA1J6OXyb5qcTf5d+IjRdWZArgrpwbC1dNYxiZDKfU4ADWmPj nCvAUseCdUGOxPEvJRjKfRZXorJCtTdBNnVf05u80OuG+rB/u20u6jTfS+gFdaUAdanog Bj7EByGUwLJod2anlA3kVz5lRCTcJLKYxKKORR+QveJfcOY/2YP4Ix8VQIZhoQtTC2Q== 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="Hg/a3x/M"; 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 480AF606A321; Tue, 10 Nov 2026 05:36:58 +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=1794289018; b=quTq8YQzNXcniJUmmRQ2qHm5O5sdN7rp2OXedOLTq1MP7TdakmEkBbi+dusjYkBk/zdy EkY5KLDiQImnjMNBsUvGtPA/3a5GbO3/5Al5x2sggT3dw7mjyTa2Og09e6cvpAuQJ6qv8 WTLdTFgD0dq8C2lTMVQIsR+DriJX5OC+3lusU0yufJ1YZ/i/kQsUOE1xkI1KYXqezoPwq WcpbnXae5Y+Rp7G3Jw2ZAgHdAo79cr/ikNJUL1rvCNsIBYK7n6GDpr3dDEbL9828647ml YjWGcZz1+lhN/v25unYFIzvYoqXKq17cb+F/EUh71/vqdQxjuVH1Xtdmj6hAeLrXEyw== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1794289018; 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=29DACKgqdQGqTbbHLiteISW3oGkID104sqmdAbtVPZg=; b=jv/aBe4C86cJFKgFW3kUSQqWa8e2FHDzMuxuJ4B9mZzWZYSLOYrSgLRGwMscYTWzDpYf 1hq8+3m41uIblVbk47m/sOyz77lpwmG/UTZZMUk0v5tj4zdTtMnLKztFupZ4FGuJdV7OT YP4OU6P7Y+vOtfUEstTrjBfTpoFEsnQ6MF82g8G79AzZ54gPEKASIBMUSnj3WzZFueRGk wWG1dmCUe428L0gQh7gz0ncDt3JH2N7eDvUjLM0fFbBWKs5JH40CI6O5aVaOXfxKn3HrI Yeam5WRaHaUTTBht1kCBC6KDkRgAdMfMgRghYxeZZHmTsu8wDg12PvKbnm/oKS22irg== 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 0CC9B1F0089F; Tue, 10 Nov 2026 05:36:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794289018; bh=29DACKgqdQGqTbbHLiteISW3oGkID104sqmdAbtVPZg=; h=From:Subject:Date:To:Cc:Reply-To; b=Hg/a3x/MbAcOT34XF/zYplXEIcInOOuYnu2yw/8GzZ8zMVw9QINDCmh8I5WybDI7I ZzK4hsSAhMwAos2RorMsvHy+EkQH5zxlhv0snjb1dQEhTGC3EMVN1moJ5Tl6SFjhfg IjfygELNM62v/qYVMGCJMunRXC0UiZQ/zvnEk4FdLMT29qDo45Bz8yUgA8+DTiYqF8 YbOfu6o+Pi0vKIWLBjIl+IH3D34iLQdW+Raj8MVvSTXewO2lXG6XBT8Kupq8JvgZ6Z VtQuNUcGp/Wxku7zc8Br8aqLH4KcRDbDE1FUSDVeQR3Dp1R/nHfSVFToSPUgcidRBb OEiZhy8+MFsFA== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 7C4CB4889F; Tue, 10 Nov 2026 05:36:56 +0000 (UTC) From: Arun Iyengar via B4 Relay <devnull+aiyengar1990.gmail.com@kernel.org> Subject: [PATCH 0/8] arm64: dts: allwinner: h616: Orange Pi Zero2 fixes, GPU DVFS and GPU cooling Date: Tue, 10 Nov 2026 05:36:54 +0000 Message-Id: <20261110-h616-zero2-dt-v1-0-05506d760f21@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/yXMQQ5AMBBA0avIrE3SaaQLVxGLGoOxQFpEiLsrl m/x/wVRgkqEMrsgyK5R5ymB8gx48FMvqG0yWGMdERkcHDk8JcwW2xU9NwWzsPemg9QsQTo9vl9 V/45bMwqv7wTu+wFFE0y1cQAAAA== 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=1794289015; l=3358; i=aiyengar1990@gmail.com; s=20261110; h=from:subject:message-id; bh=u9LHr4/rzVM9FYZD+x2eGBKLMGq7N3wvsXaVbUEYayk=; b=pZbSwu/DgRU9u5qYgcYAYrAobT+MeCHW+t7fPQ2K2o4sB4/ZK20rgX4vruqWDB/HvjMAtbPs8 YwtM5gHxaQtDpkqdyip56x/UCQKYd9OTWoR1EFR9UrCMgept5j2mcBm 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 [3.32 / 15.00]; RBL_SENDERSCORE(2.00)[172.105.105.114:from]; SUSPICIOUS_RECIPS(1.50)[]; MAILLIST(-0.18)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_TWELVE(0.00)[13]; FREEMAIL_REPLYTO(0.00)[gmail.com]; TAGGED_RCPT(0.00)[dt]; FROM_HAS_DN(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:helo,tor.lore.kernel.org:rdns]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FORGED_SENDER_MAILLIST(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,gmail.com]; HAS_REPLYTO(0.00)[aiyengar1990@gmail.com]; R_DKIM_ALLOW(0.00)[kernel.org:s=k20260515]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=3]; DKIM_TRACE(0.00)[kernel.org:+]; DMARC_POLICY_ALLOW(0.00)[kernel.org,quarantine]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114:c]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.77.114.92:received,100.103.45.18:received,100.80.115.77:received]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[devnull@kernel.org,linux-sunxi@lists.linux.dev]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org,testtoast.com,arm.com]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[bounces-27461-noreply=patchwork.local,aiyengar1990.gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG]; RCVD_TLS_LAST(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.105.105.114:from] X-Rspamd-Queue-Id: 357871C72CB 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. 10, 2026, 5:36 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, patch 8 adds i2c aliases so the
header buses keep the controller's number.
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.
- i2c aliases: TWI3 enabled by an overlay shows up as i2c-3.
- 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.
---
Arun Iyengar (8):
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
arm64: dts: allwinner: orangepi-zero2: Add i2c aliases
.../boot/dts/allwinner/sun50i-h616-gpu-opp.dtsi | 62 ++++++++++++++++++++++
.../dts/allwinner/sun50i-h616-orangepi-zero2.dts | 22 ++++++--
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 17 +++++-
3 files changed, 96 insertions(+), 5 deletions(-)
---
base-commit: a7f6e476aaedba0d8ec575acaeb3257f900a592f
change-id: 20261110-h616-zero2-dt-acb4ccecaa0f
Best regards,
--
Arun Iyengar <aiyengar1990@gmail.com>