Adding a Sound CODEC To IMX6

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

Adding a Sound CODEC To IMX6

跳至解决方案
2,660 次查看
freewaymad
Contributor IV

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.

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
1,323 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Dave

please look at Chapter 8 Porting Audio Codecs to a Custom Board

i.MX_6Dual6Quad_BSP_Porting_Guide.pdf

L3.0.35_4.1.0_LINUX_DOCS

audio_test.c i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,324 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Dave

please look at Chapter 8 Porting Audio Codecs to a Custom Board

i.MX_6Dual6Quad_BSP_Porting_Guide.pdf

L3.0.35_4.1.0_LINUX_DOCS

audio_test.c i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

0 项奖励
回复
1,323 次查看
freewaymad
Contributor IV

Thank you for your reply. This is what I was looking for.

0 项奖励
回复