mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tobias Schramm <t.schramm@manjaro.org>
To: Maxime Ripard <maxime@cerno.tech>,
	Tobias Schramm <t.schramm@manjaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Icenowy Zheng <icenowy@aosc.io>,
	Chen-Yu Tsai <wens@csie.org>,
	Jernej Skrabec <jernej.skrabec@siol.net>,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output
Date: Thu, 18 Feb 2021 09:51:54 +0100	[thread overview]
Message-ID: <7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org> (raw)
In-Reply-To: <20210218075835.o43tyarpimrcwbvk@gilmour>

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

  parent reply	other threads:[~2021-02-18  9:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12 13:57 Tobias Schramm
2021-02-18  7:58 ` Maxime Ripard
2021-02-18  8:04   ` Icenowy Zheng
2021-02-18  8:08     ` Chen-Yu Tsai
2021-02-18  9:18     ` Tobias Schramm
2021-02-18  9:21       ` Icenowy Zheng
2021-02-18  9:44         ` Maxime Ripard
2021-02-18  8:51   ` Tobias Schramm [this message]
2021-02-18  8:53     ` Tobias Schramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org \
    --to=t.schramm@manjaro.org \
    --cc=icenowy@aosc.io \
    --cc=jernej.skrabec@siol.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime@cerno.tech \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®