* ALSA Driver for ARM-Linux 2.6 @ 2004-08-11 20:11 Klaus Fetscher 2004-08-16 10:40 ` Takashi Iwai 0 siblings, 1 reply; 3+ messages in thread From: Klaus Fetscher @ 2004-08-11 20:11 UTC (permalink / raw) To: alsa-devel Hi, we want to program an ALSA driver for a Codec which communicates over an I2S interface with an ARM9 processor. I have read several messages regarding ALSA-Drivers, Linux 2.6 and ARM and know I am a little bit confused. Is it possible to use ALSA with ARM or need we some patches for the ARM CPU ? I have read, that the sa11xx-uda1341 driver is not a good starting point for implementing a driver. Which is a better solution ? Thanks, Klaus ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ALSA Driver for ARM-Linux 2.6 2004-08-11 20:11 ALSA Driver for ARM-Linux 2.6 Klaus Fetscher @ 2004-08-16 10:40 ` Takashi Iwai [not found] ` <4120A964.8080402@fetron.de> 0 siblings, 1 reply; 3+ messages in thread From: Takashi Iwai @ 2004-08-16 10:40 UTC (permalink / raw) To: Klaus Fetscher; +Cc: alsa-devel At Wed, 11 Aug 2004 22:11:33 +0200, Klaus Fetscher wrote: > > Hi, > > we want to program an ALSA driver for a Codec which communicates over an > I2S interface with an ARM9 processor. > I have read several messages regarding ALSA-Drivers, Linux 2.6 and ARM > and know I am a little bit confused. > > Is it possible to use ALSA with ARM or need we some patches for the ARM > CPU ? > > I have read, that the sa11xx-uda1341 driver is not a good starting point > for implementing a driver. Which is a better solution ? In general, ALSA has a problem on architectures like ARM about cache and mmap. So far, the ALSA should work fine on ARM, too, if the driver doesn't use mmap. Russell King has some patches to fix this issue, which I will merge later on our tree. Takashi ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <4120A964.8080402@fetron.de>]
* Re: ALSA Driver for ARM-Linux 2.6 [not found] ` <4120A964.8080402@fetron.de> @ 2004-08-16 13:05 ` Takashi Iwai 0 siblings, 0 replies; 3+ messages in thread From: Takashi Iwai @ 2004-08-16 13:05 UTC (permalink / raw) To: Klaus Fetscher; +Cc: alsa-devel At Mon, 16 Aug 2004 14:32:36 +0200, Klaus Fetscher wrote: > > Hallo Takashi, > > thanks for your answer. > > >>we want to program an ALSA driver for a Codec which communicates over an > >>I2S interface with an ARM9 processor. > >>I have read several messages regarding ALSA-Drivers, Linux 2.6 and ARM > >>and know I am a little bit confused. > >> > >>Is it possible to use ALSA with ARM or need we some patches for the ARM > >>CPU ? > >> > >>I have read, that the sa11xx-uda1341 driver is not a good starting point > >>for implementing a driver. Which is a better solution ? > >> > >> > > > > > > > Does the driver under sound/arm/sa11xx-uda1341.c in the current 2.6.7 > kernel tree work with ALSA ? Well, I'm not sure about this. Someone told that it's broken. I even didn't take a deep look yet. But, as written above, it should work if the driver doesn't use mmap. > If yes, I will change this file for my requirements or do you have a > better idea ? Depends. If the board design is similar with sa11xx-uda1341, it's an easier start point. (I believe sa11xx-uda1341 driver can be more generalized, though.) > The CPU communicates with the Sound Chip over a I2S interface. Shall I > make a new subdirectory /sound/i2s or /sound/i2c/i2s for the I2S stuff > or do you recommand another directory ? Unless you need the "generic" i2s support over different architectures, you should put the stuff locally in your driver code. > > >In general, ALSA has a problem on architectures like ARM about cache > >and mmap. So far, the ALSA should work fine on ARM, too, if the > >driver doesn't use mmap. > > > >Russell King has some patches to fix this issue, which I will merge > >later on our tree. > > > > > > > If I don't use mmap in the driver (actually, sa11xx-uda1341.c don't use > this function) I don't need this patches, correct ? Yes (but again, I haven't tested ARM at all by myself). Takashi ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-16 13:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-11 20:11 ALSA Driver for ARM-Linux 2.6 Klaus Fetscher
2004-08-16 10:40 ` Takashi Iwai
[not found] ` <4120A964.8080402@fetron.de>
2004-08-16 13:05 ` Takashi Iwai
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.