Hello!
I have a question about audio.
There are some codec machine drivers in sound/soc/fsl/ directory for SabreSD and other boards. But what if for some reasons I want to use codec which haven't machine driver for i.MX6?
In the sound/soc/codecs/ directory I can find a lot of codec drivers including the one that I need.
So, the question is: How can I write a machine driver for this codec? Where I can find an information about it?
"Linux Device Drivers 3" don't have specific "audio drivers" chapter. "Writing an ALSA Driver" at alsa-project.org is outdated by ten (!!!) years.
I saw many unsolved discussions about integrating particular codecs at this forum, so, I think that "codec-machine-driver-guide" will be very useful.
Thank You.
Hi Ivan,
Have you got any solution ?
Ivan,
It is very clear.
Freescale is responsible for CPU dai.
Codec Vendor is responsible for Codec dai.
And Customer is responsible for machine driver.
The machine drive is not much but related to the hardware design in a products.
The linux alsa machine driver is platform independent knowleadge. The same thing you are using the others CPUs.
The alsa machine driver is calling alsa API, which no direct contact with CPUs.
The "many unsolved discussions about integrating particular codecs at this forum", which is machine driver issue, should not be submitted in this forum.
We hope customers have enough knowleadge to know which should submit here to save the others' time who really have questions about i.MX.
Hi Ivan
as starting point one can use existing drivers and documents
included in Linux packages like: i.MX_ _BSP_Porting_Guide.pdf
i.MX_ _Linux_Reference_Manual.pdf, for porting problems also
may be useful meta-fsl-arm mail list
https://lists.yoctoproject.org/listinfo/meta-freescale
Best regards
igor