1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018, Intel Corporation.
3 
4 /*
5  * soc-apci-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
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 hda_pdata = {
14 	.use_tplg_pcm = true,
15 };
16 
17 struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[] = {
18 	{
19 		/* .id is not used in this file */
20 		.drv_name = "skl_hda_dsp_generic",
21 
22 		/* .fw_filename is dynamically set in skylake driver */
23 
24 		/* .sof_fw_filename is dynamically set in sof/intel driver */
25 
26 		.sof_tplg_filename = "intel/sof-hda-generic.tplg",
27 
28 		/*
29 		 * .machine_quirk and .quirk_data are not used here but
30 		 * can be used if we need a more complicated machine driver
31 		 * combining HDA+other device (e.g. DMIC).
32 		 */
33 		.pdata = &hda_pdata,
34 	},
35 	{},
36 };
37 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
38 
39 MODULE_LICENSE("GPL v2");
40 MODULE_DESCRIPTION("Intel Common ACPI Match module");
41