could we add wm8904 in imx-card.c or fsl-asoc-card.c for i.mx8mq android 13 ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

could we add wm8904 in imx-card.c or fsl-asoc-card.c for i.mx8mq android 13 ?

跳至解决方案
1,269 次查看
peterwu2
Contributor II

SOC: i.mx8mq
Andorid: 13
audio codec: wm8904

After trace andoird 13 codebase, it set CONFIG_SND_SOC_IMX_CARD=m in imx8mq_gki.fragment.
it will build imx-card.c for AK5558, AK4458, AK4497, AK5552.

 

If we want to use wm8904,  we have to do ...  

1. add wm8904 in imx-card.c 

2. set CONFIG_SND_SOC_FSL_ASOC_CARD , and add wm8904 in fsl-asoc-card.c.

which one is best ?

 

 

0 项奖励
回复
1 解答
1,250 次查看
joanxie
NXP TechSupport
NXP TechSupport

I suggest that you can try the second option

在原帖中查看解决方案

1 回复
1,251 次查看
joanxie
NXP TechSupport
NXP TechSupport

I suggest that you can try the second option