1 // SPDX-License-Identifier: GPL-2.0-only
3 * soc-acpi-intel-lnl-match.c - tables and support for LNL ACPI enumeration.
5 * Copyright (c) 2023, Intel Corporation. All rights reserved.
9 #include <sound/soc-acpi.h>
10 #include <sound/soc-acpi-intel-match.h>
11 #include "soc-acpi-intel-sdw-mockup-match.h"
13 struct snd_soc_acpi_mach snd_soc_acpi_intel_lnl_machines[] = {
16 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_lnl_machines);
18 static const struct snd_soc_acpi_endpoint single_endpoint = {
25 static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = {
27 .adr = 0x000030025D071101ull,
29 .endpoints = &single_endpoint,
30 .name_prefix = "rt711"
34 static const struct snd_soc_acpi_link_adr lnl_rvp[] = {
37 .num_adr = ARRAY_SIZE(rt711_sdca_0_adr),
38 .adr_d = rt711_sdca_0_adr,
43 /* this table is used when there is no I2S codec present */
44 struct snd_soc_acpi_mach snd_soc_acpi_intel_lnl_sdw_machines[] = {
45 /* mockup tests need to be first */
47 .link_mask = GENMASK(3, 0),
48 .links = sdw_mockup_headset_2amps_mic,
49 .drv_name = "sof_sdw",
50 .sof_tplg_filename = "sof-lnl-rt711-rt1308-rt715.tplg",
53 .link_mask = BIT(0) | BIT(1) | BIT(3),
54 .links = sdw_mockup_headset_1amp_mic,
55 .drv_name = "sof_sdw",
56 .sof_tplg_filename = "sof-lnl-rt711-rt1308-mono-rt715.tplg",
59 .link_mask = GENMASK(2, 0),
60 .links = sdw_mockup_mic_headset_1amp,
61 .drv_name = "sof_sdw",
62 .sof_tplg_filename = "sof-lnl-rt715-rt711-rt1308-mono.tplg",
67 .drv_name = "sof_sdw",
68 .sof_tplg_filename = "sof-lnl-rt711.tplg",
72 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_lnl_sdw_machines);