How to port the new audio driver to imax8mm Android platform

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

How to port the new audio driver to imax8mm Android platform

977 Views
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 Kudos
Reply
2 Replies

970 Views
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 Kudos
Reply

964 Views
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 Kudos
Reply