Re: [PATCH] fix i2s emulation on pxa2xx-ssp

2008-06-04 Thread Daniel Ribeiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pHilipp Zabel escreveu: PSP allows you to set almost any configuration on the port, using TISSP is not necessary. TISSP behaviour may be emulated by PSP, see below. This is interesting. If this is possible, is there any advantage of

Re: [PATCH] fix i2s emulation on pxa2xx-ssp (was: Converting asoc snippet to new 2.6.25 conventions)

2008-06-03 Thread Antonio Ospite
On Fri, 30 May 2008 02:37:54 -0300 Daniel Ribeiro [EMAIL PROTECTED] wrote: Daniel Ribeiro wrote: I am not really sure of how the pcap - pxa-ssp communication is made, maybe it is 16 bit stereo audio sent with 32bit i2s emulation (8.4.11 of pxa manual) with PXA as slave, maybe it is

Re: [PATCH] fix i2s emulation on pxa2xx-ssp

2008-06-03 Thread Daniel Ribeiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio Ospite escreveu: I talked with Philipp Zabel about your changes, and obviously he said that this change is way better than my hackish solution but it is not _right_ yet. Philipp code is wrong, not mine. ;) pH5 ao2: that isn't

Re: [PATCH] fix i2s emulation on pxa2xx-ssp (was: Converting asoc snippet to new 2.6.25 conventions)

2008-05-31 Thread Antonio Ospite
On Fri, 30 May 2008 02:37:54 -0300 Daniel Ribeiro [EMAIL PROTECTED] wrote: I did some more research on this and now i am convinced that it is I2S MSB with PXA slave. The following (untested, its time to sleep ;) ) patches fixes I2S emulation on pxa2xx-ssp.c and removes the

Re: [PATCH] fix i2s emulation on pxa2xx-ssp

2008-05-31 Thread Daniel Ribeiro
Antonio Ospite wrote: I attach the patch ported to the new code. SND_SOC_DAIFMT_MSB is for I2S emulation in MSB mode, shouldn't the format be called SND_SOC_DAIFMT_I2S_MSB? Yes, but there is no DAIFMT_I2S_MSB on soc.h. It will work with I2S_DAIFMT_I2S too, but the audio channels will be

Re: [PATCH] fix i2s emulation on pxa2xx-ssp

2008-05-31 Thread Daniel Ribeiro
Daniel Ribeiro wrote: Antonio Ospite wrote: I attach the patch ported to the new code. SND_SOC_DAIFMT_MSB is for I2S emulation in MSB mode, shouldn't the format be called SND_SOC_DAIFMT_I2S_MSB? Yes, but there is no DAIFMT_I2S_MSB on soc.h. It will work with I2S_DAIFMT_I2S too, but the

[PATCH] fix i2s emulation on pxa2xx-ssp (was: Converting asoc snippet to new 2.6.25 conventions)

2008-05-29 Thread Daniel Ribeiro
Daniel Ribeiro wrote: I am not really sure of how the pcap - pxa-ssp communication is made, maybe it is 16 bit stereo audio sent with 32bit i2s emulation (8.4.11 of pxa manual) with PXA as slave, maybe it is not... All i know is that it does not work unless we use 32 bit ssp frames for 16