GNU Linux-libre 4.19.286-gnu1
[releases.git] / sound / soc / intel / common / soc-acpi-intel-bxt-match.c
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * soc-apci-intel-bxt-match.c - tables and support for BXT 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 bxt_codecs = {
13         .num_codecs = 1,
14         .codecs = {"MX98357A"}
15 };
16
17 struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = {
18         {
19                 .id = "INT343A",
20                 .drv_name = "bxt_alc298s_i2s",
21                 .fw_filename = "/*(DEBLOBBED)*/",
22         },
23         {
24                 .id = "DLGS7219",
25                 .drv_name = "bxt_da7219_max98357a",
26                 .fw_filename = "/*(DEBLOBBED)*/",
27                 .machine_quirk = snd_soc_acpi_codec_list,
28                 .quirk_data = &bxt_codecs,
29                 .sof_fw_filename = "intel/sof-apl.ri",
30                 .sof_tplg_filename = "intel/sof-apl-da7219.tplg",
31                 .asoc_plat_name = "0000:00:0e.0",
32         },
33         {
34                 .id = "104C5122",
35                 .drv_name = "bxt-pcm512x",
36                 .sof_fw_filename = "intel/sof-apl.ri",
37                 .sof_tplg_filename = "intel/sof-apl-pcm512x.tplg",
38                 .asoc_plat_name = "0000:00:0e.0",
39         },
40         {
41                 .id = "1AEC8804",
42                 .drv_name = "bxt-wm8804",
43                 .sof_fw_filename = "intel/sof-apl.ri",
44                 .sof_tplg_filename = "intel/sof-apl-wm8804.tplg",
45                 .asoc_plat_name = "0000:00:0e.0",
46         },
47         {
48                 .id = "INT34C3",
49                 .drv_name = "bxt_tdf8532",
50                 .sof_fw_filename = "intel/sof-apl.ri",
51                 .sof_tplg_filename = "intel/sof-apl-tdf8532.tplg",
52                 .asoc_plat_name = "0000:00:0e.0",
53         },
54         {},
55 };
56 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_bxt_machines);
57
58 MODULE_LICENSE("GPL v2");
59 MODULE_DESCRIPTION("Intel Common ACPI Match module");