xref: /linux/sound/soc/intel/common/soc-acpi-intel-glk-match.c (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 // SPDX-License-Identifier: GPL-2.0
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_max98357a",
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_max98357a",
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 };
45 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
46 
47 MODULE_LICENSE("GPL v2");
48 MODULE_DESCRIPTION("Intel Common ACPI Match module");
49