1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * soc-acpi-intel-glk-match.c - tables and support for GLK ACPI enumeration.
4  *
5  * Copyright (c) 2018, 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 glk_codecs = {
13 	.num_codecs = 1,
14 	.codecs = {"MX98357A"}
15 };
16 
17 struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
18 	{
19 		.id = "INT343A",
20 		.drv_name = "glk_alc298s_i2s",
21 		.fw_filename = "intel/dsp_fw_glk.bin",
22 		.sof_fw_filename = "sof-glk.ri",
23 		.sof_tplg_filename = "sof-glk-alc298.tplg",
24 	},
25 	{
26 		.id = "DLGS7219",
27 		.drv_name = "glk_da7219_mx98357a",
28 		.fw_filename = "intel/dsp_fw_glk.bin",
29 		.machine_quirk = snd_soc_acpi_codec_list,
30 		.quirk_data = &glk_codecs,
31 		.sof_fw_filename = "sof-glk.ri",
32 		.sof_tplg_filename = "sof-glk-da7219.tplg",
33 	},
34 	{
35 		.id = "10EC5682",
36 		.drv_name = "glk_rt5682_mx98357a",
37 		.fw_filename = "intel/dsp_fw_glk.bin",
38 		.machine_quirk = snd_soc_acpi_codec_list,
39 		.quirk_data = &glk_codecs,
40 		.sof_fw_filename = "sof-glk.ri",
41 		.sof_tplg_filename = "sof-glk-rt5682.tplg",
42 	},
43 	{
44 		.id = "10134242",
45 		.drv_name = "glk_cs4242_mx98357a",
46 		.fw_filename = "intel/dsp_fw_glk.bin",
47 		.machine_quirk = snd_soc_acpi_codec_list,
48 		.quirk_data = &glk_codecs,
49 		.sof_fw_filename = "sof-glk.ri",
50 		.sof_tplg_filename = "sof-glk-cs42l42.tplg",
51 	},
52 
53 	{},
54 };
55 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
56