Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 // Copyright (c) 2018, Intel Corporation.
0003 
0004 /*
0005  * soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
0006  *
0007  */
0008 
0009 #include <sound/soc-acpi.h>
0010 #include <sound/soc-acpi-intel-match.h>
0011 #include "../skylake/skl.h"
0012 
0013 static struct skl_machine_pdata hda_pdata = {
0014     .use_tplg_pcm = true,
0015 };
0016 
0017 struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[] = {
0018     {
0019         /* .id is not used in this file */
0020         .drv_name = "skl_hda_dsp_generic",
0021 
0022         /* .fw_filename is dynamically set in skylake driver */
0023 
0024         .sof_tplg_filename = "sof-hda-generic.tplg",
0025 
0026         /*
0027          * .machine_quirk and .quirk_data are not used here but
0028          * can be used if we need a more complicated machine driver
0029          * combining HDA+other device (e.g. DMIC).
0030          */
0031         .pdata = &hda_pdata,
0032     },
0033     {},
0034 };
0035 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
0036 
0037 MODULE_LICENSE("GPL v2");
0038 MODULE_DESCRIPTION("Intel Common ACPI Match module");