File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,45 @@ static const struct snd_soc_acpi_link_adr acp63_4_in_1_sdca[] = {
73
73
{}
74
74
};
75
75
76
+ static const struct snd_soc_acpi_endpoint rt722_endpoints [] = {
77
+ {
78
+ .num = 0 ,
79
+ .aggregated = 0 ,
80
+ .group_position = 0 ,
81
+ .group_id = 0 ,
82
+ },
83
+ {
84
+ .num = 1 ,
85
+ .aggregated = 0 ,
86
+ .group_position = 0 ,
87
+ .group_id = 0 ,
88
+ },
89
+ {
90
+ .num = 2 ,
91
+ .aggregated = 0 ,
92
+ .group_position = 0 ,
93
+ .group_id = 0 ,
94
+ },
95
+ };
96
+
97
+ static const struct snd_soc_acpi_adr_device rt722_0_single_adr [] = {
98
+ {
99
+ .adr = 0x000030025d072201ull ,
100
+ .num_endpoints = ARRAY_SIZE (rt722_endpoints ),
101
+ .endpoints = rt722_endpoints ,
102
+ .name_prefix = "rt722"
103
+ }
104
+ };
105
+
106
+ static const struct snd_soc_acpi_link_adr acp63_rt722_only [] = {
107
+ {
108
+ .mask = BIT (0 ),
109
+ .num_adr = ARRAY_SIZE (rt722_0_single_adr ),
110
+ .adr_d = rt722_0_single_adr ,
111
+ },
112
+ {}
113
+ };
114
+
76
115
struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines [] = {
77
116
{
78
117
.link_mask = BIT (0 ) | BIT (1 ),
@@ -85,6 +124,16 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[] = {
85
124
};
86
125
EXPORT_SYMBOL (snd_soc_acpi_amd_acp63_sof_sdw_machines );
87
126
127
+ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines [] = {
128
+ {
129
+ .link_mask = BIT (0 ),
130
+ .links = acp63_rt722_only ,
131
+ .drv_name = "amd_sdw" ,
132
+ },
133
+ {},
134
+ };
135
+ EXPORT_SYMBOL (snd_soc_acpi_amd_acp63_sdw_machines );
136
+
88
137
MODULE_DESCRIPTION ("AMD ACP6.3 tables and support for ACPI enumeration" );
89
138
MODULE_LICENSE ("GPL" );
90
139
MODULE_AUTHOR ("Vijendar.Mukunda@amd.com" );
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
23
23
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines [];
24
24
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines [];
25
25
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines [];
26
+ extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines [];
26
27
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines [];
27
28
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines [];
28
29
You can’t perform that action at this time.
0 commit comments