Re: [PATCH] OMAP general SOC driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux