| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
/* |
| 3 |
* soc-acpi-intel-nvl-match.c - tables and support for NVL ACPI enumeration. |
| 4 |
* |
| 5 |
* Copyright (c) 2025, Intel Corporation. |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
#include <sound/soc-acpi.h> |
| 10 |
#include <sound/soc-acpi-intel-match.h> |
| 11 |
#include "soc-acpi-intel-sdw-mockup-match.h" |
| 12 |
|
| 13 |
struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_machines[] = { |
| 14 |
{}, |
| 15 |
}; |
| 16 |
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_nvl_machines); |
| 17 |
|
| 18 |
/* this table is used when there is no I2S codec present */ |
| 19 |
struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_sdw_machines[] = { |
| 20 |
/* mockup tests need to be first */ |
| 21 |
{ |
| 22 |
.link_mask = GENMASK(3, 0), |
| 23 |
.links = sdw_mockup_headset_2amps_mic, |
| 24 |
.drv_name = "sof_sdw", |
| 25 |
.sof_tplg_filename = "sof-nvl-rt711-rt1308-rt715.tplg", |
| 26 |
}, |
| 27 |
{ |
| 28 |
.link_mask = BIT(0) | BIT(1) | BIT(3), |
| 29 |
.links = sdw_mockup_headset_1amp_mic, |
| 30 |
.drv_name = "sof_sdw", |
| 31 |
.sof_tplg_filename = "sof-nvl-rt711-rt1308-mono-rt715.tplg", |
| 32 |
}, |
| 33 |
{ |
| 34 |
.link_mask = GENMASK(2, 0), |
| 35 |
.links = sdw_mockup_mic_headset_1amp, |
| 36 |
.drv_name = "sof_sdw", |
| 37 |
.sof_tplg_filename = "sof-nvl-rt715-rt711-rt1308-mono.tplg", |
| 38 |
}, |
| 39 |
{}, |
| 40 |
}; |
| 41 |
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_nvl_sdw_machines); |