xref: /linux/sound/soc/intel/common/soc-acpi-intel-skl-match.c (revision 4b3c1f1b15f576445c221cbc77a88540433a2ba7)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * soc-acpi-intel-skl-match.c - tables and support for SKL 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 #include "../skylake/skl.h"
12 
13 static struct skl_machine_pdata skl_dmic_data;
14 
15 static struct snd_soc_acpi_codecs skl_codecs = {
16 	.num_codecs = 1,
17 	.codecs = {"10508825"}
18 };
19 
20 struct snd_soc_acpi_mach snd_soc_acpi_intel_skl_machines[] = {
21 	{
22 		.id = "INT343A",
23 		.drv_name = "skl_alc286s_i2s",
24 		.fw_filename = "intel/dsp_fw_release.bin",
25 	},
26 	{
27 		.id = "INT343B",
28 		.drv_name = "skl_n88l25_s4567",
29 		.fw_filename = "intel/dsp_fw_release.bin",
30 		.machine_quirk = snd_soc_acpi_codec_list,
31 		.quirk_data = &skl_codecs,
32 		.pdata = &skl_dmic_data,
33 	},
34 	{
35 		.id = "MX98357A",
36 		.drv_name = "skl_n88l25_m98357a",
37 		.fw_filename = "intel/dsp_fw_release.bin",
38 		.machine_quirk = snd_soc_acpi_codec_list,
39 		.quirk_data = &skl_codecs,
40 		.pdata = &skl_dmic_data,
41 	},
42 	{},
43 };
44 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_skl_machines);
45 
46 MODULE_LICENSE("GPL v2");
47 MODULE_DESCRIPTION("Intel Common ACPI Match module");
48