[alsa-devel] [PATCH 4/4] pxa-ssp: switch from network mode to psp

Mark Brown broonie at sirena.org.uk
Thu Mar 5 12:21:33 CET 2009

On Thu, Mar 05, 2009 at 12:03:01AM +0100, Daniel Mack wrote:
> On Wed, Mar 04, 2009 at 09:56:01PM +0100, pHilipp Zabel wrote:

> > Shouldn't this be somehow set by set_dai_clkdiv instead?

> This is actually a very common case - MCLK is BCLK*4, so I put it here.
> We could still move it to some more configurable place if it turns out
> we need to configure it per board.

It's a common option but far from universal - apart from anything else
normally the MCLK requirement is a multiple of the sampling frequency
rather than the bitclock rate so the ratio with BCLK will often vary
with sample size.  I've seen devices able to operate as low as 64fs and
IIRC I've seen things up to 512fs, though 256fs is more common.

More information about the Alsa-devel mailing list