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 const 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 = "RTL5682",
45 		.drv_name = "glk_rt5682_max98357a",
46 		.machine_quirk = snd_soc_acpi_codec_list,
47 		.quirk_data = &glk_codecs,
48 		.sof_fw_filename = "sof-glk.ri",
49 		.sof_tplg_filename = "sof-glk-rt5682.tplg",
50 	},
51 	{
52 		.id = "10134242",
53 		.drv_name = "glk_cs4242_mx98357a",
54 		.fw_filename = "intel/dsp_fw_glk.bin",
55 		.machine_quirk = snd_soc_acpi_codec_list,
56 		.quirk_data = &glk_codecs,
57 		.sof_fw_filename = "sof-glk.ri",
58 		.sof_tplg_filename = "sof-glk-cs42l42.tplg",
59 	},
60 	{
61 		.id = "ESSX8336",
62 		.drv_name = "sof-essx8336",
63 		.sof_fw_filename = "sof-glk.ri",
64 		.sof_tplg_filename = "sof-glk-es8336.tplg",
65 	},
66 	{},
67 };
68 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
69