WIP FPC-III support
[linux/fpc-iii.git] / sound / soc / intel / common / soc-acpi-intel-adl-match.c
blob06b233d63b73aafa8e5bb509c0593a3ecae406eb
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * soc-apci-intel-adl-match.c - tables and support for ADL ACPI enumeration.
5 * Copyright (c) 2020, Intel Corporation.
6 */
8 #include <sound/soc-acpi.h>
9 #include <sound/soc-acpi-intel-match.h>
11 static const struct snd_soc_acpi_endpoint single_endpoint = {
12 .num = 0,
13 .aggregated = 0,
14 .group_position = 0,
15 .group_id = 0,
18 static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
20 .adr = 0x000020025D071100,
21 .num_endpoints = 1,
22 .endpoints = &single_endpoint,
23 .name_prefix = "rt711"
27 static const struct snd_soc_acpi_link_adr adl_rvp[] = {
29 .mask = BIT(0),
30 .num_adr = ARRAY_SIZE(rt711_0_adr),
31 .adr_d = rt711_0_adr,
36 struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_machines[] = {
37 {},
39 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_adl_machines);
41 /* this table is used when there is no I2S codec present */
42 struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
44 .link_mask = 0x1, /* link0 required */
45 .links = adl_rvp,
46 .drv_name = "sof_sdw",
47 .sof_fw_filename = "sof-adl.ri",
48 .sof_tplg_filename = "sof-adl-rt711.tplg",
50 {},
52 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_adl_sdw_machines);