]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: Intel: avs: Add rt5514 machine board
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 Oct 2023 11:05:37 +0000 (13:05 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 27 Oct 2023 16:37:30 +0000 (17:37 +0100)
In order to support Eve chromebooks add rt5514 configuration to board
lookup table. rt5514 is used for capture in DMIC configuration on SSP 0
and TDM 1.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20231027110537.2103712-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/board_selection.c

index c10fff70549601f5976ba975cd187086fdcda297..8e91eece992db6b56565c47d0f69a1ff1b497116 100644 (file)
@@ -135,6 +135,15 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = {
                },
                .tplg_filename = "max98927-tplg.bin",
        },
+       {
+               .id = "10EC5514",
+               .drv_name = "avs_rt5514",
+               .mach_params = {
+                       .i2s_link_mask = AVS_SSP(0),
+               },
+               .pdata = (unsigned long[]){ 0x2, 0, 0, 0, 0, 0 }, /* SSP0 TDMs */
+               .tplg_filename = "rt5514-tplg.bin",
+       },
        {
                .id = "10EC5663",
                .drv_name = "avs_rt5663",