xref: /linux/sound/soc/intel/common/soc-acpi-intel-skl-match.c (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1e149ca29SPierre-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 
12*9a5d96adSPierre-Louis Bossart static const struct snd_soc_acpi_codecs skl_codecs = {
13cbaa7f0bSPierre-Louis Bossart 	.num_codecs = 1,
14cbaa7f0bSPierre-Louis Bossart 	.codecs = {"10508825"}
15cbaa7f0bSPierre-Louis Bossart };
16cbaa7f0bSPierre-Louis Bossart 
17cbaa7f0bSPierre-Louis Bossart struct snd_soc_acpi_mach snd_soc_acpi_intel_skl_machines[] = {
18cbaa7f0bSPierre-Louis Bossart 	{
19cbaa7f0bSPierre-Louis Bossart 		.id = "INT343A",
20cbaa7f0bSPierre-Louis Bossart 		.drv_name = "skl_alc286s_i2s",
21cbaa7f0bSPierre-Louis Bossart 		.fw_filename = "intel/dsp_fw_release.bin",
22cbaa7f0bSPierre-Louis Bossart 	},
23cbaa7f0bSPierre-Louis Bossart 	{
24cbaa7f0bSPierre-Louis Bossart 		.id = "INT343B",
25cbaa7f0bSPierre-Louis Bossart 		.drv_name = "skl_n88l25_s4567",
26cbaa7f0bSPierre-Louis Bossart 		.fw_filename = "intel/dsp_fw_release.bin",
27cbaa7f0bSPierre-Louis Bossart 		.machine_quirk = snd_soc_acpi_codec_list,
28cbaa7f0bSPierre-Louis Bossart 		.quirk_data = &skl_codecs,
29cbaa7f0bSPierre-Louis Bossart 	},
30cbaa7f0bSPierre-Louis Bossart 	{
31cbaa7f0bSPierre-Louis Bossart 		.id = "MX98357A",
32cbaa7f0bSPierre-Louis Bossart 		.drv_name = "skl_n88l25_m98357a",
33cbaa7f0bSPierre-Louis Bossart 		.fw_filename = "intel/dsp_fw_release.bin",
34cbaa7f0bSPierre-Louis Bossart 		.machine_quirk = snd_soc_acpi_codec_list,
35cbaa7f0bSPierre-Louis Bossart 		.quirk_data = &skl_codecs,
36cbaa7f0bSPierre-Louis Bossart 	},
37cbaa7f0bSPierre-Louis Bossart 	{},
38cbaa7f0bSPierre-Louis Bossart };
39cbaa7f0bSPierre-Louis Bossart EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_skl_machines);
40