1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * soc-acpi-intel-cml-match.c - tables and support for CML ACPI enumeration. 4 * 5 * Copyright (c) 2019, Intel Corporation. 6 * 7 */ 8 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-acpi-intel-match.h> 11 12 static struct snd_soc_acpi_codecs cml_codecs = { 13 .num_codecs = 1, 14 .codecs = {"10EC5682"} 15 }; 16 17 static struct snd_soc_acpi_codecs cml_spk_codecs = { 18 .num_codecs = 1, 19 .codecs = {"MX98357A"} 20 }; 21 22 struct snd_soc_acpi_mach snd_soc_acpi_intel_cml_machines[] = { 23 { 24 .id = "DLGS7219", 25 .drv_name = "cml_da7219_max98357a", 26 .quirk_data = &cml_spk_codecs, 27 .sof_fw_filename = "sof-cml.ri", 28 .sof_tplg_filename = "sof-cml-da7219-max98357a.tplg", 29 }, 30 { 31 .id = "MX98357A", 32 .drv_name = "sof_rt5682", 33 .quirk_data = &cml_codecs, 34 .sof_fw_filename = "sof-cml.ri", 35 .sof_tplg_filename = "sof-cml-rt5682-max98357a.tplg", 36 }, 37 { 38 .id = "10EC1011", 39 .drv_name = "cml_rt1011_rt5682", 40 .quirk_data = &cml_codecs, 41 .sof_fw_filename = "sof-cml.ri", 42 .sof_tplg_filename = "sof-cml-rt1011-rt5682.tplg", 43 }, 44 { 45 .id = "10EC5682", 46 .drv_name = "sof_rt5682", 47 .sof_fw_filename = "sof-cml.ri", 48 .sof_tplg_filename = "sof-cml-rt5682.tplg", 49 }, 50 51 {}, 52 }; 53 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_cml_machines); 54 55 MODULE_LICENSE("GPL v2"); 56 MODULE_DESCRIPTION("Intel Common ACPI Match module"); 57