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