On Thu, Feb 01, 2007 at 02:38:45PM +0000, Liam Girdwood wrote: > On Thu, 2007-02-01 at 15:22 +0100, Manuel Lauss wrote: > > Hi Liam, > > > > On Thu, Feb 01, 2007 at 02:07:20PM +0000, Liam Girdwood wrote: > > > On Thu, 2007-02-01 at 14:32 +0100, Manuel Lauss wrote: > > > > Hello, > > > > > > > > Is it possible for the ALSA AC97 layer to support > > > > a AC97 touchscreen (such as the Wolfson 97xx series > > > > or the ucb1400) in a generic way? I.e. can I access > > > > certain registers in the codec from a "platform" driver > > > > which uses the ac97 bus instead of the platform bus? > > > > (Is there something like a "struct ac97_driver" which > > > > works like the "struct platform_driver"? ) > > > > > > I can only comment on the wm97xx drivers here as I'm the author. > > > > > > The wm97xx touch driver is pretty much arch independent and uses the > > > ac97 bus device for access to the codec. Alsa audio works as normal. > > > > > > Fwiw, wm9705, wm9712 and wm9713 drivers are here :- > > > > > > http://opensource.wolfsonmicro.com/~lg/wm97xx/ > > > > > > I assume your trying to read back an AUX adc or similar for some board > > > specific purpose. In this case I've added an wm97xx bus device that can > > > grant access to codec IO and other misc common functions (and can be > > > used from your platform driver). However, it's not truly generic as it > > > does require the wm97xx core. > > > > Does this also work with your SoC layer (which is very nice, btw)? > > It does. :) great! > > (My targets are Au1200 and some SuperH SoCs) > > > > We unfortunately don't have support for either SoC yet. A platform > driver (DMA and AC97) would need to be implemented before audio/touch > would work. That's okay, I'll write them if need be. I already have a working (but ugly) AC97 driver for SH7760 (not for the SoC code yet). Thanks again! -- ml. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel