Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * soc-apci-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 | |
| 12 | static struct snd_soc_acpi_codecs glk_codecs = { |
| 13 | .num_codecs = 1, |
| 14 | .codecs = {"MX98357A"} |
| 15 | }; |
| 16 | |
| 17 | struct 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 = "intel/sof-glk.ri", |
| 23 | .sof_tplg_filename = "intel/sof-glk-alc298.tplg", |
| 24 | .asoc_plat_name = "0000:00:0e.0", |
| 25 | }, |
| 26 | { |
| 27 | .id = "DLGS7219", |
| 28 | .drv_name = "glk_da7219_max98357a", |
| 29 | .fw_filename = "intel/dsp_fw_glk.bin", |
| 30 | .machine_quirk = snd_soc_acpi_codec_list, |
| 31 | .quirk_data = &glk_codecs, |
| 32 | .sof_fw_filename = "intel/sof-glk.ri", |
| 33 | .sof_tplg_filename = "intel/sof-glk-da7219.tplg", |
| 34 | .asoc_plat_name = "0000:00:0e.0", |
| 35 | }, |
| 36 | {}, |
| 37 | }; |
| 38 | EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines); |
| 39 | |
| 40 | MODULE_LICENSE("GPL v2"); |
| 41 | MODULE_DESCRIPTION("Intel Common ACPI Match module"); |