1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018, Intel Corporation.
3 
4 /*
5  * soc-acpi-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_tplg_filename = "sof-hda-generic.tplg",
25 
26 		/*
27 		 * .machine_quirk and .quirk_data are not used here but
28 		 * can be used if we need a more complicated machine driver
29 		 * combining HDA+other device (e.g. DMIC).
30 		 */
31 		.pdata = &hda_pdata,
32 	},
33 	{},
34 };
35 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
36 
37 MODULE_LICENSE("GPL v2");
38 MODULE_DESCRIPTION("Intel Common ACPI Match module");
39