ASoC: Intel: avs: Load max98927 on target platform

In order to load proper board configuration it needs to be looked up in
ACPI. Add board configuration for MAXIM 98927 codec present on
Chromebooks.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20220930124538.354992-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Amadeusz Sławiński 2022-09-30 14:45:38 +02:00 committed by Mark Brown
parent 1c993300ab
commit 999ce9967a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -121,6 +121,14 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = {
.machine_quirk = dmi_match_quirk,
.tplg_filename = "rt298-tplg.bin",
},
{
.id = "MX98927",
.drv_name = "avs_max98927",
.mach_params = {
.i2s_link_mask = AVS_SSP(0),
},
.tplg_filename = "max98927-tplg.bin",
},
{
.id = "MX98373",
.drv_name = "avs_max98373",