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