Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-22 Thread Dennis Kerrisk
Thanks this guide will help me. Dennis -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https:

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-21 Thread Code Kipper
On 21 April 2014 20:30, Dennis Kerrisk wrote: > How do I set up the gpio correctly? > You will need to ensure that the pins that you're using are only declared once in the fex on a enabled driver). The muxing required for the spdif is as described in the fex file, the driver should do the rest.

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-21 Thread Dennis Kerrisk
How do I set up the gpio correctly? Dennis -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit http

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-21 Thread Dennis Kerrisk
Thanks. I will look at this today. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://grou

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-19 Thread Code Kipper
On 18 April 2014 20:53, Dennis Kerrisk wrote: > > Here is my .fex file. > I've also noticed that i2s is declared twice in the fex. CK > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving email

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:53, Dennis Kerrisk wrote: > > Here is my .fex file. > Hi Dennis, well for starters all the examples of A20 fexs in sunxi-boards only have the spdif_dout gpio selected. Do you need all three connections?, what external device are you connecting to. The code as is doesn't suppor

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
Here is my .fex file. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:31, Dennis Kerrisk wrote: > Yes I have modified my .fex file. I will look into the gpio. > > The I2s works on my A10 board but not my A20 board, so I am tracking down > why. > If you could also put your fex somewhere then I can compare the settings to the code. There are two I

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
Yes I have modified my .fex file. I will look into the gpio. The I2s works on my A10 board but not my A20 board, so I am tracking down why. Dennis -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiv

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:14, Dennis Kerrisk wrote: > What do you mean see the spdif illuminate?, I am currently just checking > the pins with a scope. I see no activity on the pins, so I probably need to > set up the gpio. > If it's an optical connection you have then you should see the RED light if

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
What do you mean see the spdif illuminate?, I am currently just checking the pins with a scope. I see no activity on the pins, so I probably need to set up the gpio. Yes, I can try out your patches. I am also still working on getting the I2s to work correctly on the A20. Dennis -- You recei

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
Hi Dennis, I guess if aplay sees it then you've also added the change to the fex file for your board(I see that the all the olimex boards have spdif disabled in sunxi-boards). Do you see the spdif illuminate?, if not then the gpio needs setting up correctly. I've got some patches for the tidy up of

[linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
I have an Olimex A20 board. My kernel has SPDIF compiled in. aplay sees the SPDIF and plays to it. But there is no data on the pins I have defined for it. What am I missing? What else do I need to setup to make this work? Dennis -- You received this message because you are subscribed to the