Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-21 Thread Maxime Ripard
On Fri, Apr 21, 2017 at 05:16:27PM +0200, Code Kipper wrote: > On 21 April 2017 at 16:51, Maxime Ripard > wrote: > > On Fri, Apr 21, 2017 at 05:35:40PM +0300, Hazar Karabay wrote: > >> 2017-04-21 10:35 GMT+03:00 Maxime Ripard > >> : > >> > Wait, what are you calling MCLK? > >> > >> Master clock,

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-21 Thread Code Kipper
On 21 April 2017 at 16:51, Maxime Ripard wrote: > On Fri, Apr 21, 2017 at 05:35:40PM +0300, Hazar Karabay wrote: >> 2017-04-21 10:35 GMT+03:00 Maxime Ripard : >> > Wait, what are you calling MCLK? >> >> Master clock, is it wrong? > > Indeed there doesn't seem to be an option for that. It wouldn't

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-21 Thread Maxime Ripard
On Fri, Apr 21, 2017 at 05:35:40PM +0300, Hazar Karabay wrote: > 2017-04-21 10:35 GMT+03:00 Maxime Ripard : > > Wait, what are you calling MCLK? > > Master clock, is it wrong? Indeed there doesn't seem to be an option for that. It wouldn't be very hard to add to simple-card though. > Besides this

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-21 Thread Hazar Karabay
Hi, 2017-04-21 10:35 GMT+03:00 Maxime Ripard : > Wait, what are you calling MCLK? > > Master clock, is it wrong? Besides this MCLK issue, I can't get 24 bit output from I2S. My driver, DAC and GR8 supports it but when I try to play something using aplay with S24_LE bit depth, it says "Format s2

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-21 Thread Maxime Ripard
Hi, Could you please keep me in Cc when you answer. On Thu, Apr 20, 2017 at 10:51:07AM -0700, ha...@hazarkarabay.com.tr wrote: > Hi, > > 20 Nisan 2017 Perşembe 11:12:16 UTC+3 tarihinde Maxime Ripard yazdı: > > > > > > That one doesn't have the property to invert MCLK though? > > > > > Yes, beca

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-20 Thread hazar
Hi, 20 Nisan 2017 Perşembe 11:12:16 UTC+3 tarihinde Maxime Ripard yazdı: > > > That one doesn't have the property to invert MCLK though? > > Yes, because there is no property exists to MCLK inversion. There is for BCLK (simple-audio-card,bitclock-inversion;) and LRCK ( simple-audio-card,frame-in

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-20 Thread Maxime Ripard
On Mon, Apr 17, 2017 at 12:24:48PM -0700, ha...@hazarkarabay.com.tr wrote: > Hi, thanks for answering. > > 17 Nisan 2017 Pazartesi 11:09:56 UTC+3 tarihinde Maxime Ripard yazdı: > > > > > I'm trying to get I2S output on Allwinner R8 (actually an NTC GR8). > > > > Soo, not an R8 ? :) > > I though

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-17 Thread hazar
Hi, thanks for answering. 17 Nisan 2017 Pazartesi 11:09:56 UTC+3 tarihinde Maxime Ripard yazdı: > > > I'm trying to get I2S output on Allwinner R8 (actually an NTC GR8). > > Soo, not an R8 ? :) > I thought it was more appropriate to say R8 since GR8 is based on it. Sorry about the confusion th

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-17 Thread Maxime Ripard
Hi, On Sun, Apr 16, 2017 at 07:12:55AM -0700, ha...@hazarkarabay.com.tr wrote: > I'm trying to get I2S output on Allwinner R8 (actually an NTC GR8). Soo, not an R8 ? :) > I managed to get a signal but the MCLK (master clock) is needs to be > inverted, others seems correct (I'm checking output si

[linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-16 Thread hazar
Hi, I'm trying to get I2S output on Allwinner R8 (actually an NTC GR8). I managed to get a signal but the MCLK (master clock) is needs to be inverted, others seems correct (I'm checking output signals with an oscilloscope). I use a simple-audio-card based driver and tried adding "simple-audio