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[] = {
7373 {}
7474};
7575
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+
76115struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines [] = {
77116 {
78117 .link_mask = BIT (0 ) | BIT (1 ),
@@ -85,6 +124,16 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[] = {
85124};
86125EXPORT_SYMBOL (snd_soc_acpi_amd_acp63_sof_sdw_machines );
87126
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+
88137MODULE_DESCRIPTION ("AMD ACP6.3 tables and support for ACPI enumeration" );
89138MODULE_LICENSE ("GPL" );
90139MODULE_AUTHOR (
"[email protected] " );
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[];
2323extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines [];
2424extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines [];
2525extern 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 [];
2627extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines [];
2728extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines [];
2829
You can’t perform that action at this time.
0 commit comments