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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,147 Views
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 Kudos
Reply
1 Solution
1,128 Views
joanxie
NXP TechSupport
NXP TechSupport

I suggest that you can try the second option

View solution in original post

1 Reply
1,129 Views
joanxie
NXP TechSupport
NXP TechSupport

I suggest that you can try the second option