[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org>
Date: Thu, 18 Feb 2021 09:51:54 +0100
From: Tobias Schramm <t.schramm@...jaro.org>
To: Maxime Ripard <maxime@...no.tech>,
Tobias Schramm <t.schramm@...jaro.org>
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Icenowy Zheng <icenowy@...c.io>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...l.net>,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio
pll output
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
Powered by blists - more mailing lists