From: Daniel Mack <daniel@caiaq.org>
To: Jarkko Nikula <jhnikula@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] asoc tlv320aic33: skip usage of PLL in some cases
Date: Fri, 18 Apr 2008 16:03:07 +0200 [thread overview]
Message-ID: <20080418140307.GA26197@buzzloop.caiaq.de> (raw)
In-Reply-To: <bd7b27490804180647n7c44da87l7a7d25080360f4f4@mail.gmail.com>
On Fri, Apr 18, 2008 at 04:47:16PM +0300, Jarkko Nikula wrote:
> > Ok, I agree. I changed that to find an appropriate value for Q
> > programmatically. Have a look at the attached patch, please. I hope i
> > finally got it now ;)
>
>
> That sounds a good idea. Then more cases will be covered.
>
> What I noticed that instead of params_rate, I think we should compare here
> the FSref of 44.1 and 48 kHz (how about dual-rate mode?) when defining can
> the PLL be bypassed
>
> if (params_rate(params) == aic3x->sysclk / (128 * pll_q))
Hmm? Why do you think so? I'm afraid I don't get your point here.
> Probably you forgot to move bypass case in this version after writing the
> AIC3X_SAMPLE_RATE_SEL_REG?
No, actually not.
> Spec is also saying that when NDAC is 1.5, 2.5, ... 5.5, then odd values of
> Q are not allowed.
NDAC and NADC are both hard-coded to 0 (divider of 1) at the moment.
Support for more flexible settings could be done in another step.
Also, the PLL setup could be done by calculation of values rather
that by a lookup table.
I'd like to see this patch applied now as base for further refinements.
Do you agree?
Daniel
next prev parent reply other threads:[~2008-04-18 14:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 19:12 [PATCH] asoc tlv320aic33: skip usage of PLL in some cases Daniel Mack
2008-04-17 19:25 ` Daniel Mack
2008-04-18 7:59 ` Jarkko Nikula
2008-04-18 8:13 ` Daniel Mack
2008-04-18 8:58 ` Jarkko Nikula
2008-04-18 9:38 ` Daniel Mack
2008-04-18 10:08 ` Mark Brown
2008-04-18 10:35 ` Daniel Mack
2008-04-18 10:47 ` Jarkko Nikula
2008-04-18 11:41 ` Daniel Mack
2008-04-18 13:47 ` Jarkko Nikula
2008-04-18 14:03 ` Daniel Mack [this message]
2008-04-18 19:37 ` Jarkko Nikula
2008-04-19 0:50 ` Daniel Mack
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=20080418140307.GA26197@buzzloop.caiaq.de \
--to=daniel@caiaq.org \
--cc=alsa-devel@alsa-project.org \
--cc=jhnikula@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.