I2S driver for implants
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Matt Flax
Hi there,
Hi Matt,
I'd suggest you include alsa-devel ML next time (added it to CC)
Quoted 4 lines
I saw your driver
sound/soc/samsungI am wanting to look into an I2S driver for the Exynos 5250 for eye implants.
Driver for I2S in Exynos 5 is already included in mainline kernel.
Quoted 7 lines
The implants use a serial bus and I am wanting to specify an I2S connection to them.
In order to do that I would need to write an I2S driver to talk to them. Their bit rates are either 300 kbps or 600 kbps.
They only need I2S and not I2C ... there are not controls, simply serial data in and out.
Are you sure that your implants can talk over I2S?
Quoted 4 lines
I am wondering if I can do something simple ... I notice that your driver doesn't require too much code ...
Do you think it is possible for me to take a similar approach in writing my implant driver ?
Don't know, you didn't share much details on your hardware.
Quoted 1 line
Can you give me advice - how to start ?
Start with reading specs and try to understand how your implants work, then look at existing code and try to adapt it for your usage. Then clean it up and prepare for submitting into mainline.
Quoted 2 lines
thanks
Matt
Regards,
Vasily
Quoted 12 lines · Vasily Khoruzhick
Quoted 1 line · Matt Flax
Hi there,
Hi Matt,
I'd suggest you include alsa-devel ML next time (added it to CC)
Quoted 4 lines
I saw your driver
sound/soc/samsungI am wanting to look into an I2S driver for the Exynos 5250 for eye implants.
Driver for I2S in Exynos 5 is already included in mainline kernel.
Quoted 8 lines
Quoted 7 lines
The implants use a serial bus and I am wanting to specify an I2S connection to them.
In order to do that I would need to write an I2S driver to talk to them. Their bit rates are either 300 kbps or 600 kbps.
They only need I2S and not I2C ... there are not controls, simply serial data in and out.Are you sure that your implants can talk over I2S?
Yes, we do/will have custom hardware to reconstruct the required signals from the I2S lines.
Quoted 5 lines
Quoted 4 lines
I am wondering if I can do something simple ... I notice that your driver doesn't require too much code ...
Do you think it is possible for me to take a similar approach in writing my implant driver ?Don't know, you didn't share much details on your hardware.
The hardware requires one I2S output line and one I2S input line + the clock line.
You say "Driver for I2S in Exynos 5 is already included in mainline kernel." ... do you mean that all I need is a device tree file to enable it ? If so, then can you please link me to an example device tree ... my assumption is that this I2S device will show up in alsa once the device tree is setup ?
Quoted 9 lines
Quoted 1 line
Can you give me advice - how to start ?
Start with reading specs and try to understand how your implants work, then look at existing code and try to adapt it for your usage. Then clean it up and prepare for submitting into mainline.
Quoted 2 lines
thanks
MattRegards,
Vasily
Quoted 37 lines · On 23 July 2014 19:43:38 Matt Flax wrote:
Quoted 18 lines · Vasily Khoruzhick
Quoted 1 line · Matt Flax
Hi there,
Hi Matt,
I'd suggest you include alsa-devel ML next time (added it to CC)
Quoted 4 lines
I saw your driver
sound/soc/samsungI am wanting to look into an I2S driver for the Exynos 5250 for eye implants.
Driver for I2S in Exynos 5 is already included in mainline kernel.
Quoted 4 lines
The implants use a serial bus and I am wanting to specify an I2S connection
to them.Quoted 6 lines
Quoted 4 lines
In order to do that I would need to write an I2S driver to talk to them. Their bit rates are either 300 kbps or 600 kbps.
They only need I2S and not I2C ... there are not controls, simply serial data in and out.Are you sure that your implants can talk over I2S?
Yes, we do/will have custom hardware to reconstruct the required signals from the I2S lines.
Quoted 7 lines
Quoted 5 lines
I am wondering if I can do something simple ... I notice that your driver doesn't require too much code ...
Do you think it is possible for me to take a similar approach in writing my
implant driver ?Don't know, you didn't share much details on your hardware.
Quoted 8 lines
The hardware requires one I2S output line and one I2S input line + the clock line.
You say "Driver for I2S in Exynos 5 is already included in mainline kernel." ... do you mean that all I need is a device tree file to enable it ? If so, then can you please link me to an example device tree ... my assumption is that this I2S device will show up in alsa once the device tree is setup ?
You'd probably need some codec stub, I'm not sure if it's possible to instantiate soundcard with only i2s and without a codec.
Regards
Vasily
Quoted 11 lines
Quoted 11 lines
Quoted 1 line
Can you give me advice - how to start ?
Start with reading specs and try to understand how your implants work, then look at existing code and try to adapt it for your usage. Then clean it up and prepare for submitting into mainline.
Quoted 2 lines
thanks
MattRegards,
Vasily
Quoted 35 lines · Vasily Khoruzhick
Quoted 34 lines · On 23 July 2014 19:43:38 Matt Flax wrote:
Quoted 16 lines · Vasily Khoruzhick
Quoted 1 line · Matt Flax
Hi there,
Hi Matt,
I'd suggest you include alsa-devel ML next time (added it to CC)
Quoted 4 lines
I saw your driver
sound/soc/samsungI am wanting to look into an I2S driver for the Exynos 5250 for eye implants.
Driver for I2S in Exynos 5 is already included in mainline kernel.
Quoted 4 lines
The implants use a serial bus and I am wanting to specify an I2S connection
to them.Quoted 5 lines
Quoted 4 lines
In order to do that I would need to write an I2S driver to talk to them. Their bit rates are either 300 kbps or 600 kbps.
They only need I2S and not I2C ... there are not controls, simply serial data in and out.Are you sure that your implants can talk over I2S?
Yes, we do/will have custom hardware to reconstruct the required signals from the I2S lines.
Quoted 6 lines
Quoted 5 lines
I am wondering if I can do something simple ... I notice that your driver doesn't require too much code ...
Do you think it is possible for me to take a similar approach in writing my
implant driver ?Don't know, you didn't share much details on your hardware.
The hardware requires one I2S output line and one I2S input line + the clock line.
Quoted 7 lines
Quoted 5 lines
You say "Driver for I2S in Exynos 5 is already included in mainline kernel." ... do you mean that all I need is a device tree file to enable it ? If so, then can you please link me to an example device tree ... my assumption is that this I2S device will show up in alsa once the device tree is setup ?
You'd probably need some codec stub, I'm not sure if it's possible to instantiate soundcard with only i2s and without a codec.
Thats fine, I can implement the codec stub. I guess I was originally contacting you (and others) to get some pointers on how to do that. Is there perhaps a codec stub for some very simple hardware (only I2S) which I could use as a reference ? Also would require an example dts file ... all for the Exynos.
thanks
Matt
Quoted 16 lines
Regards
VasilyQuoted 9 lines
Quoted 9 lines
Quoted 1 line
Can you give me advice - how to start ?
Start with reading specs and try to understand how your implants work, then look at existing code and try to adapt it for your usage. Then clean it up and prepare for submitting into mainline.
Quoted 2 lines
thanks
MattRegards,
Vasily_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 7 lines · On 23 July 2014 21:08:11 Matt Flax wrote:
Quoted 2 lines
You'd probably need some codec stub, I'm not sure if it's possible to instantiate soundcard with only i2s and without a codec.
Thats fine, I can implement the codec stub. I guess I was originally contacting you (and others) to get some pointers on how to do that. Is there perhaps a codec stub for some very simple hardware (only I2S) which I could use as a reference ?
You already have cpu dai (i2s), now you need codec dai (which is dummy). Maybe I'm wrong, and you don't need a codec stub, I'm not an ASoC expert.
Quoted 2 lines
Also would require an example dts
file ... all for the Exynos.
Look for one in arch/arm/boot/dts?
Quoted 2 lines
thanks
Matt
Regards
Vasily