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