|
8 | 8 |
|
9 | 9 | #include <sound/soc-acpi.h>
|
10 | 10 | #include <sound/soc-acpi-intel-match.h>
|
| 11 | +#include "soc-acpi-intel-sdw-mockup-match.h" |
11 | 12 |
|
12 | 13 | static const struct snd_soc_acpi_codecs tgl_codecs = {
|
13 | 14 | .num_codecs = 1,
|
@@ -351,6 +352,28 @@ EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_tgl_machines);
|
351 | 352 |
|
352 | 353 | /* this table is used when there is no I2S codec present */
|
353 | 354 | struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_sdw_machines[] = {
|
| 355 | + /* mockup tests need to be first */ |
| 356 | + { |
| 357 | + .link_mask = GENMASK(3, 0), |
| 358 | + .links = sdw_mockup_headset_2amps_mic, |
| 359 | + .drv_name = "sof_sdw", |
| 360 | + .sof_fw_filename = "sof-tgl.ri", |
| 361 | + .sof_tplg_filename = "sof-tgl-rt711-rt1308-rt715.tplg", |
| 362 | + }, |
| 363 | + { |
| 364 | + .link_mask = BIT(0) | BIT(1) | BIT(3), |
| 365 | + .links = sdw_mockup_headset_1amp_mic, |
| 366 | + .drv_name = "sof_sdw", |
| 367 | + .sof_fw_filename = "sof-tgl.ri", |
| 368 | + .sof_tplg_filename = "sof-tgl-rt711-rt1308-mono-rt715.tplg", |
| 369 | + }, |
| 370 | + { |
| 371 | + .link_mask = BIT(0) | BIT(1) | BIT(2), |
| 372 | + .links = sdw_mockup_mic_headset_1amp, |
| 373 | + .drv_name = "sof_sdw", |
| 374 | + .sof_fw_filename = "sof-tgl.ri", |
| 375 | + .sof_tplg_filename = "sof-tgl-rt715-rt711-rt1308-mono.tplg", |
| 376 | + }, |
354 | 377 | {
|
355 | 378 | .link_mask = 0x7,
|
356 | 379 | .links = tgl_sdw_rt711_link1_rt1308_link2_rt715_link0,
|
|
0 commit comments