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