[PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output

Tobias Schramm t.schramm at manjaro.org
Thu Feb 18 03:51:54 EST 2021


Hi Maxime,
> 
> It's not really clear to me how that would help.
> 
> The closest frequency we can provide for 24.576MHz would be 24580645 Hz,
> with N = 127, M = 31 and P = 4, so it would work with what we have
> already?
> 

As far as I'm aware the multiplier N ranges from 0 to 128 (offset of 1 
from 0 to 127). Thus 24MHz * 128 / 25 / 5 = 24.576MHz. Since this 
requires the postdiv to be set to 5 it is not supported yet.

Cheers,
Tobias



More information about the linux-arm-kernel mailing list