How to port the new audio driver to imax8mm Android platform

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

How to port the new audio driver to imax8mm Android platform

980 次查看
CheLL
Contributor III

Hello  Every:

Currently, the codec and Platform porting on Linux has been ported according to wm8524. Codec is the new aw8838, how to add it to the hal layer of Android code, the driving method is Kconfig.

The path "/android_build/device/fsl/common/audio-json" does not exist。

Related to the hal layer seems to be the following file:

---------------------------------------


imax8_workspace/imax8_code/android_build/vendor/nxp-opensource/imx/alsa$ ls
Android.mk config_ak5558.h config_micfil.h config_sgtl5000.h config_wm8524.h config_xtor.h pcm_ext.c
audio_hardware.h config_cdnhdmi.h config_nullcard.h config_sii902x.h config_wm8958.h config_xtor_pico.h pcm_ext.h
config_ak4458.h config_cs42888.h config_rpmsg.h config_spdif.h config_wm8960.h control.c tinyalsa_hal.c
config_ak4497.h config_hdmi.h config_rt5645.h config_usbaudio.h config_wm8962.h control.h
---------------------------------------

evk_8mm.mk also has no information about wm8524, the path of evk_8mm.mk is as follows:

/android_build/device/fsl/imx8m/evk_8mm/evk_8mm.mk

0 项奖励
回复
2 回复数

973 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

 

Hi,

 

~/android_build/device/fsl/common/audio-json, the directory is in Andriod Q10 or Above BSP.

weidong_sun_0-1603174951305.png

 

 

Have a nice day!

B.R,

Weidong

 

0 项奖励
回复

967 次查看
CheLL
Contributor III

Hi~

 

Sorry, Android9 is currently being used and the platform is imx8mm, so what is the transplant method?

Hope your answers

 

Best Wishs

 

0 项奖励
回复