1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * soc-acpi-intel-glk-match.c - tables and support for GLK ACPI enumeration.
4 *
5 * Copyright (c) 2018, Intel Corporation.
6 *
7 */
8
9#include <sound/soc-acpi.h>
10#include <sound/soc-acpi-intel-match.h>
11
12static struct snd_soc_acpi_codecs glk_codecs = {
13	.num_codecs = 1,
14	.codecs = {"MX98357A"}
15};
16
17struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
18	{
19		.id = "INT343A",
20		.drv_name = "glk_alc298s_i2s",
21		.fw_filename = "intel/dsp_fw_glk.bin",
22		.sof_fw_filename = "sof-glk.ri",
23		.sof_tplg_filename = "sof-glk-alc298.tplg",
24	},
25	{
26		.id = "DLGS7219",
27		.drv_name = "glk_da7219_max98357a",
28		.fw_filename = "intel/dsp_fw_glk.bin",
29		.machine_quirk = snd_soc_acpi_codec_list,
30		.quirk_data = &glk_codecs,
31		.sof_fw_filename = "sof-glk.ri",
32		.sof_tplg_filename = "sof-glk-da7219.tplg",
33	},
34	{
35		.id = "10EC5682",
36		.drv_name = "glk_rt5682_max98357a",
37		.fw_filename = "intel/dsp_fw_glk.bin",
38		.machine_quirk = snd_soc_acpi_codec_list,
39		.quirk_data = &glk_codecs,
40		.sof_fw_filename = "sof-glk.ri",
41		.sof_tplg_filename = "sof-glk-rt5682.tplg",
42	},
43	{},
44};
45EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
46
47MODULE_LICENSE("GPL v2");
48MODULE_DESCRIPTION("Intel Common ACPI Match module");
49