Which source code setup SAI?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Which source code setup SAI?

ソリューションへジャンプ
1,129件の閲覧回数
Takashi_Kashiwagi
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

ラベル(2)
1 解決策
966件の閲覧回数
weidong_sun
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

元の投稿で解決策を見る

2 返答(返信)
967件の閲覧回数
weidong_sun
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

966件の閲覧回数
Takashi_Kashiwagi
Senior Contributor I

HI Weidong.

Thank you for responding!!

I will read the three codes!

Best Regards,

T.Kashiwagi

0 件の賞賛
返信