Re: [PATCH] clk: sunxi-ng: nkm: avoid 32-bit overflow in rate calculations

From: Romain TISSERAND

Date: Sat Nov 14 2026 - 20:21:12 EST


Hi,

Gentle ping on this fix, sent two weeks ago. It still applies as is on
sunxi/clk-for-7.5 and on 7.4-rc3.

On 32-bit sunxi the N-K-M rate math wraps above 4.29 GHz, so the clock
framework reports half the real pll-mipi rate on the A33 (594 MHz
programmed, 287 MHz reported), which broke the PocketGo S30 panel. Any
comment, or could it go in for 7.5?

Thanks,
Romain