asoc: add support run-time detection of Gen3/Gen4

On GVM, we need enable machine driver now for Gen3
and Gen4 in a image, which means we need detect dtb
file at run-time to register the soundcard of Gen3
and Gen4.

Change-Id: I9d8a5bb1f4c88616b90aea60d1bb5654b241d3d0
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
This commit is contained in:
Deru Wang 2021-07-16 16:37:21 +08:00
commit e8c9cbd8e5
3 changed files with 4464 additions and 11795 deletions

2
asoc/Kbuild Executable file → Normal file
View file

@ -184,7 +184,7 @@ endif
# for sa8295 sound card driver
ifdef CONFIG_SND_SOC_SA8295
MACHINE_OBJS += sa8295.o
MACHINE_OBJS += sa8155.o
endif
ifdef CONFIG_SND_SOC_CPE

3358
asoc/sa8155.c Executable file → Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff