[alsa-devel] [PATCH] OMAP general SOC driver.

Mark Brown broonie at sirena.org.uk
Thu Nov 27 13:36:47 CET 2008


On Thu, Nov 27, 2008 at 12:42:12PM +0200, Grazvydas Ignotas wrote:

> Pandora board uses different master/slave configuration for McBSP bus,
> compared to most other boards. It also has another audio path (in
> addition to TWL4030) - another McBSP link connected to external DAC.
> The DAC needs 256*Fs clock from TWL4030 to function, and is used for
> main audio output. TWL4030 is to be used for 2 MIC + line inputs only,
> and has no outputs connected.

This definitely needs to be a separate machine driver.

> I have main audio path working (McBSP2 to DAC), but not inputs (McBSP4
> to TWL4030). How can this be implemented using current framework?
> Should I register 2 platform devices? Sorry for possible derail or
> stupid questions.

This should all be one ASoC device, especially given that the fact that
all the paths use the TWL4030 somehow.  Have a look at how, eg, the
neo1973 driver handles the bluetooth.  For now there's not
*particularly* sane support for multiple codecs.  Does the DAC have any
software control?  If not it should be fairly straightforward to handle.


More information about the Alsa-devel mailing list