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 rt1015p_spk = {
27 static struct snd_soc_acpi_codecs mx98360a_spk = {
29 .codecs = {"MX98360A"}
33 * When adding new entry to the snd_soc_acpi_intel_jsl_machines array,
34 * use .quirk_data member to distinguish different machine driver,
35 * and keep ACPI .id field unchanged for the common codec.
37 struct snd_soc_acpi_mach snd_soc_acpi_intel_jsl_machines[] = {
40 .drv_name = "sof_da7219_mx98373",
41 .sof_fw_filename = "sof-jsl.ri",
42 .sof_tplg_filename = "sof-jsl-da7219.tplg",
43 .machine_quirk = snd_soc_acpi_codec_list,
44 .quirk_data = &jsl_7219_98373_codecs,
48 .drv_name = "sof_da7219_mx98360a",
49 .sof_fw_filename = "sof-jsl.ri",
50 .sof_tplg_filename = "sof-jsl-da7219-mx98360a.tplg",
54 .drv_name = "jsl_rt5682_rt1015",
55 .sof_fw_filename = "sof-jsl.ri",
56 .machine_quirk = snd_soc_acpi_codec_list,
57 .quirk_data = &rt1015_spk,
58 .sof_tplg_filename = "sof-jsl-rt5682-rt1015.tplg",
62 .drv_name = "jsl_rt5682_rt1015p",
63 .sof_fw_filename = "sof-jsl.ri",
64 .machine_quirk = snd_soc_acpi_codec_list,
65 .quirk_data = &rt1015p_spk,
66 .sof_tplg_filename = "sof-jsl-rt5682-rt1015.tplg",
70 .drv_name = "jsl_rt5682_mx98360a",
71 .sof_fw_filename = "sof-jsl.ri",
72 .machine_quirk = snd_soc_acpi_codec_list,
73 .quirk_data = &mx98360a_spk,
74 .sof_tplg_filename = "sof-jsl-rt5682-mx98360a.tplg",
78 .drv_name = "jsl_cs4242_mx98360a",
79 .sof_fw_filename = "sof-jsl.ri",
80 .machine_quirk = snd_soc_acpi_codec_list,
81 .quirk_data = &mx98360a_spk,
82 .sof_tplg_filename = "sof-jsl-cs42l42-mx98360a.tplg",
86 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_jsl_machines);