Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: Intel: soc-acpi-intel-nvl-match: add rt722 l3 support

Add rt722 on SDW link 3 support

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251104121650.21872-5-peter.ujfalusi@linux.intel.com

authored by

Bard Liao and committed by
Takashi Iwai
41566e3d 2bd7bf3c

+49
+49
sound/soc/intel/common/soc-acpi-intel-nvl-match.c
··· 15 15 }; 16 16 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_nvl_machines); 17 17 18 + /* 19 + * Multi-function codecs with three endpoints created for 20 + * headset, amp and dmic functions. 21 + */ 22 + static const struct snd_soc_acpi_endpoint rt_mf_endpoints[] = { 23 + { 24 + .num = 0, 25 + .aggregated = 0, 26 + .group_position = 0, 27 + .group_id = 0, 28 + }, 29 + { 30 + .num = 1, 31 + .aggregated = 0, 32 + .group_position = 0, 33 + .group_id = 0, 34 + }, 35 + { 36 + .num = 2, 37 + .aggregated = 0, 38 + .group_position = 0, 39 + .group_id = 0, 40 + }, 41 + }; 42 + 43 + static const struct snd_soc_acpi_adr_device rt722_3_single_adr[] = { 44 + { 45 + .adr = 0x000330025d072201ull, 46 + .num_endpoints = ARRAY_SIZE(rt_mf_endpoints), 47 + .endpoints = rt_mf_endpoints, 48 + .name_prefix = "rt722" 49 + } 50 + }; 51 + 52 + static const struct snd_soc_acpi_link_adr nvl_rt722_l3[] = { 53 + { 54 + .mask = BIT(3), 55 + .num_adr = ARRAY_SIZE(rt722_3_single_adr), 56 + .adr_d = rt722_3_single_adr, 57 + }, 58 + {} 59 + }; 60 + 18 61 /* this table is used when there is no I2S codec present */ 19 62 struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_sdw_machines[] = { 20 63 /* mockup tests need to be first */ ··· 78 35 .links = sdw_mockup_mic_headset_1amp, 79 36 .drv_name = "sof_sdw", 80 37 .sof_tplg_filename = "sof-nvl-rt715-rt711-rt1308-mono.tplg", 38 + }, 39 + { 40 + .link_mask = BIT(3), 41 + .links = nvl_rt722_l3, 42 + .drv_name = "sof_sdw", 43 + .sof_tplg_filename = "sof-nvl-rt722.tplg", 81 44 }, 82 45 {}, 83 46 };