public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Alsa modularisations and support for tsc2101 0/7
@ 2006-02-20 17:33 Daniel Petrini
  2006-02-20 19:45 ` Dirk Behme
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Daniel Petrini @ 2006-02-20 17:33 UTC (permalink / raw)
  To: OMAP-Linux

HI,

This series of patches adds modularisation in alsa files for omap so that
makes possible to use the same alsa omap core files for different boards.
Regarding the original omap alsa support, the codec specific functions
were removed from file omap-aic23.c (which now is called omap-alsa.c)
and inserted in a specific file for this codec. Similar action was made
for tsc2101 codec, based in former oss drivers.
With this series of patches omap now have support for osk and H2 boards.
Besides codec files, the mixer file has its support added for H2.
This work was developed by me and Mika Laitio.

Summary:

-New architecture: extraction of codec dependent code from main alsa file
-Support for board H2
-Creation of codec alsa file for codec aic23 (from existing alsa work)
-Creation of codec alsa file for codec tsc2101 from oss
-Migration of specific codec configuration to platform_data
-Improvement of function probe in omap-alsa driver
-Creation of the mixer for tsc2101

Some issues where we would like to hear also others opinions
1) Codecs (omap-alsa-tsc2101.c and omap-alsa-aic23.c) from the alsa
drivers are now put to arch/arm/mach-omap1 directory to allow board
specific configuration.
Advantages
-  codecs are now configurable in the board-code (board-h2, board-osk)
which specifies the codecs specific function pointers.
-  board can now configure even multible different alsa-codecs if there
exist need for that. (one for mcbsp1, another for mcbsp2)
Disadvantages
-codecs part of the alsa drivers are now always linked to the Image even
if the driver itself is selected to be build as a module.
When codec is changed, you need to replace the Image and that forces you
to reboot instead of simply using "rmmod" and "modprobe" commands.

2) If it is acceptable to put the codecs under arch directory, would
plat-omap be better location than arch-omap1, for mcbsp supported
codecs? (Are there any omap2 boards with aic23 or tsc2101 codecs?)

Comments and tests are welcome.


Cheers,
Daniel
--
INdT - Manaus - Brazil

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-02-21 13:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 17:33 [PATCH] Alsa modularisations and support for tsc2101 0/7 Daniel Petrini
2006-02-20 19:45 ` Dirk Behme
2006-02-20 20:33 ` Komal Shah
2006-02-20 20:35   ` Daniel Petrini
2006-02-20 20:58     ` Komal Shah
     [not found]       ` <9268368b0602201316q4533a165p75a4bd0ab489681d@mail.gmail.com>
2006-02-20 21:20         ` Daniel Petrini
2006-02-20 21:25         ` Komal Shah
2006-02-20 22:35       ` lamikr
2006-02-21 13:22 ` Menon, Nishanth
2006-02-21 13:49   ` Daniel Petrini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox