arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / sound / soc / intel / common / soc-acpi-intel-arl-match.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * soc-apci-intel-arl-match.c - tables and support for ARL ACPI enumeration.
4  *
5  * Copyright (c) 2023 Intel Corporation.
6  */
7
8 #include <sound/soc-acpi.h>
9 #include <sound/soc-acpi-intel-match.h>
10
11 static const struct snd_soc_acpi_endpoint single_endpoint = {
12         .num = 0,
13         .aggregated = 0,
14         .group_position = 0,
15         .group_id = 0,
16 };
17
18 static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
19         {
20                 .adr = 0x000020025D071100ull,
21                 .num_endpoints = 1,
22                 .endpoints = &single_endpoint,
23                 .name_prefix = "rt711"
24         }
25 };
26
27 static const struct snd_soc_acpi_link_adr arl_rvp[] = {
28         {
29                 .mask = BIT(0),
30                 .num_adr = ARRAY_SIZE(rt711_0_adr),
31                 .adr_d = rt711_0_adr,
32         },
33         {}
34 };
35
36 struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_machines[] = {
37         {},
38 };
39 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_arl_machines);
40
41 /* this table is used when there is no I2S codec present */
42 struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw_machines[] = {
43         {
44                 .link_mask = 0x1, /* link0 required */
45                 .links = arl_rvp,
46                 .drv_name = "sof_sdw",
47                 .sof_tplg_filename = "sof-arl-rt711.tplg",
48         },
49         {},
50 };
51 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_arl_sdw_machines);