From: Amadeusz Sławiński Date: Fri, 30 Sep 2022 12:45:38 +0000 (+0200) Subject: ASoC: Intel: avs: Load max98927 on target platform X-Git-Tag: v6.2-rc1~9^2^2~180^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=999ce9967a2f5a64c4bd04ae1edf0a979cf68833;p=tomoyo%2Ftomoyo-test1.git 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 Signed-off-by: Amadeusz Sławiński Link: https://lore.kernel.org/r/20220930124538.354992-3-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c index 87f9c18be238..1a85349f9563 100644 --- a/sound/soc/intel/avs/board_selection.c +++ b/sound/soc/intel/avs/board_selection.c @@ -122,6 +122,14 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = { .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", .mach_params = {