1 // SPDX-License-Identifier: GPL-2.0-only
3 * soc-apci-intel-jsl-match.c - tables and support for JSL ACPI enumeration.
5 * Copyright (c) 2019-2020, Intel Corporation.
9 #include <sound/soc-acpi.h>
10 #include <sound/soc-acpi-intel-match.h>
12 static struct snd_soc_acpi_codecs jsl_7219_98373_codecs
= {
17 static struct snd_soc_acpi_codecs rt1015_spk
= {
19 .codecs
= {"10EC1015"}
22 static struct snd_soc_acpi_codecs mx98360a_spk
= {
24 .codecs
= {"MX98360A"}
28 * When adding new entry to the snd_soc_acpi_intel_jsl_machines array,
29 * use .quirk_data member to distinguish different machine driver,
30 * and keep ACPI .id field unchanged for the common codec.
32 struct snd_soc_acpi_mach snd_soc_acpi_intel_jsl_machines
[] = {
35 .drv_name
= "sof_da7219_max98373",
36 .sof_fw_filename
= "sof-jsl.ri",
37 .sof_tplg_filename
= "sof-jsl-da7219.tplg",
38 .machine_quirk
= snd_soc_acpi_codec_list
,
39 .quirk_data
= &jsl_7219_98373_codecs
,
43 .drv_name
= "sof_da7219_max98360a",
44 .sof_fw_filename
= "sof-jsl.ri",
45 .sof_tplg_filename
= "sof-jsl-da7219-mx98360a.tplg",
49 .drv_name
= "jsl_rt5682_rt1015",
50 .sof_fw_filename
= "sof-jsl.ri",
51 .machine_quirk
= snd_soc_acpi_codec_list
,
52 .quirk_data
= &rt1015_spk
,
53 .sof_tplg_filename
= "sof-jsl-rt5682-rt1015.tplg",
57 .drv_name
= "jsl_rt5682_max98360a",
58 .sof_fw_filename
= "sof-jsl.ri",
59 .machine_quirk
= snd_soc_acpi_codec_list
,
60 .quirk_data
= &mx98360a_spk
,
61 .sof_tplg_filename
= "sof-jsl-rt5682-mx98360a.tplg",
65 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_jsl_machines
);
67 MODULE_LICENSE("GPL v2");
68 MODULE_DESCRIPTION("Intel Common ACPI Match module");