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

From: Tobias Schramm
Date: Thu Feb 18 2021 - 05:06:08 EST


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
That should have of course been "from 1 to 128".
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