xref: /linux/sound/soc/intel/common/soc-acpi-intel-hda-match.c (revision e51b69808b7ec06fc61f5a332f338d94b64b0537)
18dce1d02SPierre-Louis Bossart // SPDX-License-Identifier: GPL-2.0
28dce1d02SPierre-Louis Bossart // Copyright (c) 2018, Intel Corporation.
38dce1d02SPierre-Louis Bossart 
48dce1d02SPierre-Louis Bossart /*
5*e51b6980SChristophe JAILLET  * soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
68dce1d02SPierre-Louis Bossart  *
78dce1d02SPierre-Louis Bossart  */
88dce1d02SPierre-Louis Bossart 
98dce1d02SPierre-Louis Bossart #include <sound/soc-acpi.h>
108dce1d02SPierre-Louis Bossart #include <sound/soc-acpi-intel-match.h>
118dce1d02SPierre-Louis Bossart #include "../skylake/skl.h"
128dce1d02SPierre-Louis Bossart 
138dce1d02SPierre-Louis Bossart static struct skl_machine_pdata hda_pdata = {
148dce1d02SPierre-Louis Bossart 	.use_tplg_pcm = true,
158dce1d02SPierre-Louis Bossart };
168dce1d02SPierre-Louis Bossart 
178dce1d02SPierre-Louis Bossart struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[] = {
188dce1d02SPierre-Louis Bossart 	{
198dce1d02SPierre-Louis Bossart 		/* .id is not used in this file */
208dce1d02SPierre-Louis Bossart 		.drv_name = "skl_hda_dsp_generic",
218dce1d02SPierre-Louis Bossart 
228dce1d02SPierre-Louis Bossart 		/* .fw_filename is dynamically set in skylake driver */
238dce1d02SPierre-Louis Bossart 
248dce1d02SPierre-Louis Bossart 		/* .sof_fw_filename is dynamically set in sof/intel driver */
258dce1d02SPierre-Louis Bossart 
26e576b097SPierre-Louis Bossart 		.sof_tplg_filename = "sof-hda-generic.tplg",
278dce1d02SPierre-Louis Bossart 
288dce1d02SPierre-Louis Bossart 		/*
298dce1d02SPierre-Louis Bossart 		 * .machine_quirk and .quirk_data are not used here but
308dce1d02SPierre-Louis Bossart 		 * can be used if we need a more complicated machine driver
318dce1d02SPierre-Louis Bossart 		 * combining HDA+other device (e.g. DMIC).
328dce1d02SPierre-Louis Bossart 		 */
338dce1d02SPierre-Louis Bossart 		.pdata = &hda_pdata,
348dce1d02SPierre-Louis Bossart 	},
358dce1d02SPierre-Louis Bossart 	{},
368dce1d02SPierre-Louis Bossart };
378dce1d02SPierre-Louis Bossart EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
388dce1d02SPierre-Louis Bossart 
398dce1d02SPierre-Louis Bossart MODULE_LICENSE("GPL v2");
408dce1d02SPierre-Louis Bossart MODULE_DESCRIPTION("Intel Common ACPI Match module");
41