How to implement wm8958 single jack audio driver in Android 6.0.1

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

How to implement wm8958 single jack audio driver in Android 6.0.1

1,500 次查看
aravinthkumarja
Senior Contributor II

Hi All,
I'm using wm8958 audio chip. In hardware it have single jack(headset jack). So how can i implement this audio driver.
BSP details: Android 6.0.1
WM8958 is not a wm8958-dsp codec. It is wm8994-codec. So what change i need to do in HAL layer.

Regards,

Aravinth

0 项奖励
回复
2 回复数

1,304 次查看
joanxie
NXP TechSupport
NXP TechSupport

In this codec, we defines 3 parts:

1. Machine driver that glues the platform driver and codec driver according to ALSA SoC/Codec arch;

2. Platform driver that implement the i.MX6Q SSI driver where you can find out the SDMA logic, which plays as being DAI role in the ALSA SoC/CODEC arch;

3. CODEC driver that should be provided by 3rd part (i.e. cs4344 linux driver) implements the codec DAIs' driver which plays as being DAI role in the ALSA SoC/CODEC arch.

0 项奖励
回复

1,304 次查看
aravinthkumarja
Senior Contributor II

Hi Joan Xie,

Thanks for your response. As per your procedure only i done my driver. Now the Headphone volume is too low. And mic is not working.

https://community.nxp.com/message/839533?commentID=839533&et=watches.email.thread#comment-839533 

Thanks,

Aravinth

0 项奖励
回复