Skip to contentSkip to conversation

Correct i2s implementation for s3c2416

DISCUSSION Heiko Stübner 2 participants 3 messages Apr 4, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to make sound work on a s3c2416 based device and am quite confused about the underlying I2S stuff as it seems there are 3 different I2S implementations for samsung SoCs.

The i2s.c and .h seem to be made for the s3c64xx and up (according to the initial commit message).
This leaves the s3c-i2s-v2+s3c2412_i2s combination and s3c24xx-iis.

Documentation on this seems a bit sparse and I'm still taking first steps in kernel-development at all - so I would be really thankfull for a pointer in the right direction.

Thanks
Heiko

#1 lore raw
Quoted 2 lines · Heiko Stübner

The i2s.c and .h seem to be made for the s3c64xx and up (according to the initial commit message).

Yes, that shares the common core of S3C64XX and up.

Quoted 1 line

This leaves the s3c-i2s-v2+s3c2412_i2s combination and s3c24xx-iis.

IIRC, 2416 and 64xx have similar (exactly same?) I2S blocks. So, you need to simply follow what is being done for I2S on SMDK6410 as an example.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Am Montag 04 April 2011, 19:56:30 schrieb Jassi Brar:

Quoted 10 lines · Heiko Stübner
Quoted 2 lines

The i2s.c and .h seem to be made for the s3c64xx and up (according to the initial commit message).

Yes, that shares the common core of S3C64XX and up.

Quoted 1 line

This leaves the s3c-i2s-v2+s3c2412_i2s combination and s3c24xx-iis.

IIRC, 2416 and 64xx have similar (exactly same?) I2S blocks. So, you need to simply follow what is being done for I2S on SMDK6410 as an example.

thanks.

I think this suggestion saved me alot of hours and grey hair :-)

From my inexperienced viewpoint the 2416 seemed more similar to the 2412. Therefore I started meddling with this i2s driver. But with your pointer even the s3c6400-remenants in the vendor kernels [1] we posses make sense.

So again thanks
Heiko

[1] https://gitorious.org/oyo-hack/vendor-kernels
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel