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
Hi,
~/android_build/device/fsl/common/audio-json, the directory is in Andriod Q10 or Above BSP.
Have a nice day!
B.R,
Weidong