Which source code setup SAI?

cancel
Showing results for 
Search instead for 
Did you mean: 

Which source code setup SAI?

Jump to solution
263 Views
Senior Contributor I

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

Labels (2)
1 Solution
100 Views
NXP TechSupport
NXP TechSupport

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 

---L4.14.78_1.0.0_LINUX_DOCS

then decompress it, documents below will be obtained:

pastedImage_3.png

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)

pastedImage_6.png

(2) codec driver(wm8524.c)

pastedImage_7.png

(3) machine driver(imx-wm8524.c)

pastedImage_5.png

Hope above information is helpful for you!

Have a nice day!

BR,

Weidong

View solution in original post

2 Replies
101 Views
NXP TechSupport
NXP TechSupport

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 

---L4.14.78_1.0.0_LINUX_DOCS

then decompress it, documents below will be obtained:

pastedImage_3.png

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)

pastedImage_6.png

(2) codec driver(wm8524.c)

pastedImage_7.png

(3) machine driver(imx-wm8524.c)

pastedImage_5.png

Hope above information is helpful for you!

Have a nice day!

BR,

Weidong

View solution in original post

100 Views
Senior Contributor I

HI Weidong.

Thank you for responding!!

I will read the three codes!

Best Regards,

T.Kashiwagi

0 Kudos