[alsa-devel] Alsa soc UDA1380 - no duplex
Hello!
I've received information from lpclinux.com that uda1380 on lpc313x doesn't support duplex. I've got some information that uda1380 on s3c24xx works with duplex, so I think, that it should work also on lpc313x. I'm ready to write some code, but I have no experience with ALSA, so I'll be happy if someone will give me some hints where to start. The other question is why there are two drivers to the same device.
best regards Jarek
2012/4/3 jarek jarek@poczta.srv.pl:
Hello!
I've received information from lpclinux.com that uda1380 on lpc313x doesn't support duplex. I've got some information that uda1380 on s3c24xx works with duplex, so I think, that it should work also on lpc313x. I'm ready to write some code, but I have no experience with ALSA, so I'll be happy if someone will give me some hints where to start.
Probably it's lpc313x limitation (CPU DAI does not support duplex?) Anyway, looks like its code is not upstreamed.
The other question is why there are two drivers to the same device.
AFAIK there's only one driver for uda1380 codec.
Regards Vasily
Dnia 2012-04-03, wto o godzinie 18:09 +0300, Vasily Khoruzhick pisze:
Probably it's lpc313x limitation (CPU DAI does not support duplex?)
Do you know how to check if this is hardware limitation ? I have reviewed documentation and from my point of view it should work. http://ics.nxp.com/products/lpc3000/datasheet/lpc3130.lpc3131.pdf
Anyway, looks like its code is not upstreamed.
Yes, I didn't notice before, that all code comes from this patch (for kernel 3.2):
http://www.lpclinux.com/pub/Forums/ForumLPC313x0055/lpc.tar.gz
The other question is why there are two drivers to the same device.
AFAIK there's only one driver for uda1380 codec.
I've found separete folders for samsung and lpc in sound/soc/ and I suspected that there are two separate drivers. As I understand now, there is only separate intermediary layer. The files in those folders are quite different, so I don't know how to compare them, to find the difference. In mean time. I have received the following respone from lpclinux: ===== As I understand,it is the SW limitation limitation because of which we can not use playback & capture feature simultaneously. The audio driver code is based on ALSA framework available in sound/soc/lpc313x. Please give it a try & let us know about the results ===== I'll be glad, if can take a look at this code. or just give me some direction.
Dnia 2012-04-03, wto o godzinie 18:09 +0300, Vasily Khoruzhick pisze:
Probably it's lpc313x limitation (CPU DAI does not support duplex?)
Do you know how to check if this is hardware limitation ? I have reviewed documentation and from my point of view it should work. http://ics.nxp.com/products/lpc3000/datasheet/lpc3130.lpc3131.pdf
Anyway, looks like its code is not upstreamed.
Yes, I didn't notice before, that all code comes from this patch (for kernel 3.2):
http://www.lpclinux.com/pub/Forums/ForumLPC313x0055/lpc.tar.gz
The other question is why there are two drivers to the same device.
AFAIK there's only one driver for uda1380 codec.
I've found separete folders for samsung and lpc in sound/soc/ and I suspected that there are two separate drivers. As I understand now, there is only separate intermediary layer. The files in those folders are quite different, so I don't know how to compare them, to find the difference. In mean time. I have received the following respone from lpclinux: ===== As I understand,it is the SW limitation limitation because of which we can not use playback & capture feature simultaneously. The audio driver code is based on ALSA framework available in sound/soc/lpc313x. Please give it a try & let us know about the results ===== I'll be glad, if can take a look at this code. or just give me some direction
participants (2)
-
jarek
-
Vasily Khoruzhick