[alsa-devel] [PATCH] ASoC - Add support for upto 16 channels on OMAP MCBSP

Liam Girdwood lrg at slimlogic.co.uk
Thu Nov 5 21:08:30 CET 2009


On Thu, 2009-11-05 at 21:28 +0200, Jarkko Nikula wrote:

> 
> Actually BCLK doesn't have to be fixed as it is derived by dividing the
> CLKSRG with CLKGDV. This can allow to optimize the BCLK and frame size
> to be smaller when CLKSRG >> BCLK.
> 
> Would be nice if both the divider and frame size are calculated
> dynamically based on CLKSRG frequency and sample rate.
> 

This does sound like a useful feature and should probably exist in
soc-core for other platforms too.

> > I'm now slightly curious about how pandora handles different rates since
> > it uses the McBSP in master mode too. I guess they can only handle a
> > single sample rate ?
> > 
> IRCC correctly the external master clock used in Pandora was derived
> from the codec and that clock was following the sample rate.
> 

Makes sense now :)

Liam




More information about the Alsa-devel mailing list