Re: [PATCH v3 5/7] arm64: dts: allwinner: orangepi-zero2: Keep VDD-SYS at or above 900 mV

From: Chen-Yu Tsai

Date: Sun Nov 15 2026 - 05:34:58 EST


On Thu, Nov 12, 2026 at 5:22 PM Arun Iyengar via B4 Relay
<devnull+aiyengar1990.gmail.com@xxxxxxxxxx> wrote:
>
> From: Arun Iyengar <aiyengar1990@xxxxxxxxx>
>
> On the Orange Pi Zero2 the AXP305 DCDCC "vdd-gpu-sys" rail feeds both
> the Mali-G31 and the SoC's VDD-SYS domain, which includes the video
> engine. Its regulator range starts at 810 mV, the lowest GPU operating
> point, so once GPU DVFS is enabled the rail drops to 810 mV whenever
> the GPU is idle. The video engine does not tolerate that: with the VE
> at 600 MHz, 4K H.265 decodes intermittently produce a few corrupted
> CTBs, without any kernel message. Only 6 of 13 runs were bit-exact at
> 810 mV, against 3 of 3 at 890 mV, 3 of 3 at 950 mV, and 3 of 3 at
> 810 mV with the VE clocked down to 432 MHz. The vendor BSP runs every
> GPU operating point at 950 mV, so it never lowers this rail.

Makes me wonder if we need to implement DVFS for the video engine...

> Raise the regulator minimum to 900 mV before GPU DVFS is enabled. The

Why 900 mV? Why not 890 mV?

> H616 GPU operating points use <target min max> triplets with a 990 mV
> maximum, so the regulator core clamps the low-frequency requests into
> [900, 990] mV and devfreq still scales the GPU clock.

For device tree commit messages we typically don't mention implementation
(OS) details. So instead you could simply say that this is still within
the allowed range of the lower GPU OPPs.


ChenYu

> Signed-off-by: Arun Iyengar <aiyengar1990@xxxxxxxxx>
> ---
> arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts
> index 1fdf2d3c1a87..719d6dadf7bf 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts
> @@ -114,7 +114,7 @@ reg_dcdca: dcdca {
>
> reg_dcdcc: dcdcc {
> regulator-always-on;
> - regulator-min-microvolt = <810000>;
> + regulator-min-microvolt = <900000>;
> regulator-max-microvolt = <990000>;
> regulator-name = "vdd-gpu-sys";
> };
>
> --
> 2.55.0
>
>
>