Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs
Date: Fri, 2 Nov 2012 14:05:06 +0000	[thread overview]
Message-ID: <20121102140506.GV4413@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1351861316-19739-1-git-send-email-dp@opensource.wolfsonmicro.com>


[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]

On Fri, Nov 02, 2012 at 01:01:56PM +0000, Dimitris Papastamos wrote:
> The current WM0010 firmware images expect a 48kHz * 512fs
> clkin.

That's not actually the case, it's more flexible than that also...

> -#define SYS_AUDIO_RATE 44100
> -#define SYS_MCLK_RATE  (SYS_AUDIO_RATE * 256)
> +#define SYS_AUDIO_RATE 48000
> +#define SYS_MCLK_RATE  (SYS_AUDIO_RATE * 512)

...if you're doing this you need to update the clock rates supplied to
the CODECs otherwise they won't be able to generate the required audio
rate.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2012-11-02 14:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02 13:01 [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs Dimitris Papastamos
2012-11-02 14:05 ` Mark Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-02 10:44 Dimitris Papastamos

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=20121102140506.GV4413@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=dp@opensource.wolfsonmicro.com \
    --cc=patches@opensource.wolfsonmicro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox