Skip to contentSkip to conversation

Alsa soc UDA1380 - no duplex

DISCUSSION jarek 2 participants 4 messages Apr 3, 2012 – Apr 5, 2012

lore
Share & tools
lore

jarek

author
#0 lore raw

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

#1 lore raw

2012/4/3 jarek <[email protected]>:

Quoted 8 lines

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.

Quoted 1 line

       The other question is why there are two drivers to the same device.

AFAIK there's only one driver for uda1380 codec.

Regards
Vasily
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

author
#2 lore raw

Dnia 2012-04-03, wto o godzinie 18:09 +0300, Vasily Khoruzhick pisze:

Quoted 1 line

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

Quoted 1 line

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

Quoted 4 lines
Quoted 2 lines

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.

author
#3 lore raw
In reply to Vasily Khoruzhick

Dnia 2012-04-03, wto o godzinie 18:09 +0300, Vasily Khoruzhick pisze:

Quoted 1 line

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

Quoted 1 line

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

Quoted 4 lines
Quoted 2 lines

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