AnsweredAssumed Answered

Adding a Sound CODEC To IMX6

Question asked by Dave Swihart on Sep 27, 2014
Latest reply on Sep 28, 2014 by Dave Swihart
Branched to a new discussion

Hi,

 

I wanted to know about adding a audio CODEC to the imx6. I wanted to add the es8388 audio CODEC. So, what I did was add the "es8388.c" and "es8388.h" to the kernel_imx/sound/soc/codecs folder. I then went to "Kconfig" and added the lines:

 

select SND_SOC_ES8388 if I2C

 

and

 

config SND_SOC_ES8388

  tristate

 

in appropriate places. Then I went to the "Makefile" and added the lines:

 

snd-soc-es8388-objs := es8388.o

 

and

 

obj-$(CONFIG_SND_SOC_ES8388)+= snd-soc-es8388.o

 

in appropriate places. So my question is is this right and would the CODEC be compiled into the kernel? Hopefully someone can help. Thanks.

Outcomes