Hi Community.
We are developing with IMX8mm.
In our custom board, We will use TDM audio codec(we replace WM8524 to custom FPGA).
so, I should replace audio driver. But I cannot find the source codes.
(I'm looking in the "4.14.78-r0 / git /" folder, but there are many source codes.)
What code do I need to modify to create and modify an audio driver for linux?
Best Regards,
T.Kashiwagi
Solved! Go to Solution.
Hello Takashi,
According to your application, I think it will be better to follow these steps:
1. Download L4.14.78 documents.
Embedded Linux for i.MX Applications Processors | NXP
then decompress it, documents below will be obtained:
2. Downloading and compiling Linux BSP source code
In i.MX_Yocto_Project_User's_Guide.pdf, detailed steps are described, you can download and compiling i.MX8MM linux BSP according to those steps. ( Linux BSP on my computer is 4.14.98)
(1) Platform driver(fsl-sai.c)
(2) codec driver(wm8524.c)
(3) machine driver(imx-wm8524.c)
Hope above information is helpful for you!
Have a nice day!
BR,
Weidong
Hello Takashi,
According to your application, I think it will be better to follow these steps:
1. Download L4.14.78 documents.
Embedded Linux for i.MX Applications Processors | NXP
then decompress it, documents below will be obtained:
2. Downloading and compiling Linux BSP source code
In i.MX_Yocto_Project_User's_Guide.pdf, detailed steps are described, you can download and compiling i.MX8MM linux BSP according to those steps. ( Linux BSP on my computer is 4.14.98)
(1) Platform driver(fsl-sai.c)
(2) codec driver(wm8524.c)
(3) machine driver(imx-wm8524.c)
Hope above information is helpful for you!
Have a nice day!
BR,
Weidong
HI Weidong.
Thank you for responding!!
I will read the three codes!
Best Regards,
T.Kashiwagi