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: add RT712 support for LNL

This patch adds RT712 support for LNL.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240208165545.93811-23-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chao Song and committed by
Mark Brown
0bbb0136 36fe7a49

+53
+53
sound/soc/intel/common/soc-acpi-intel-lnl-match.c
··· 36 36 .group_id = 1, 37 37 }; 38 38 39 + static const struct snd_soc_acpi_endpoint rt712_endpoints[] = { 40 + { 41 + .num = 0, 42 + .aggregated = 0, 43 + .group_position = 0, 44 + .group_id = 0, 45 + }, 46 + { 47 + .num = 1, 48 + .aggregated = 0, 49 + .group_position = 0, 50 + .group_id = 0, 51 + }, 52 + }; 53 + 39 54 static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = { 40 55 { 41 56 .adr = 0x000030025D071101ull, 42 57 .num_endpoints = 1, 43 58 .endpoints = &single_endpoint, 44 59 .name_prefix = "rt711" 60 + } 61 + }; 62 + 63 + static const struct snd_soc_acpi_adr_device rt712_2_single_adr[] = { 64 + { 65 + .adr = 0x000230025D071201ull, 66 + .num_endpoints = ARRAY_SIZE(rt712_endpoints), 67 + .endpoints = rt712_endpoints, 68 + .name_prefix = "rt712" 69 + } 70 + }; 71 + 72 + static const struct snd_soc_acpi_adr_device rt1712_3_single_adr[] = { 73 + { 74 + .adr = 0x000330025D171201ull, 75 + .num_endpoints = 1, 76 + .endpoints = &single_endpoint, 77 + .name_prefix = "rt712-dmic" 45 78 } 46 79 }; 47 80 ··· 110 77 .mask = BIT(0), 111 78 .num_adr = ARRAY_SIZE(rt711_sdca_0_adr), 112 79 .adr_d = rt711_sdca_0_adr, 80 + }, 81 + {} 82 + }; 83 + 84 + static const struct snd_soc_acpi_link_adr lnl_712_only[] = { 85 + { 86 + .mask = BIT(2), 87 + .num_adr = ARRAY_SIZE(rt712_2_single_adr), 88 + .adr_d = rt712_2_single_adr, 89 + }, 90 + { 91 + .mask = BIT(3), 92 + .num_adr = ARRAY_SIZE(rt1712_3_single_adr), 93 + .adr_d = rt1712_3_single_adr, 113 94 }, 114 95 {} 115 96 }; ··· 184 137 .links = lnl_rvp, 185 138 .drv_name = "sof_sdw", 186 139 .sof_tplg_filename = "sof-lnl-rt711.tplg", 140 + }, 141 + { 142 + .link_mask = BIT(2) | BIT(3), 143 + .links = lnl_712_only, 144 + .drv_name = "sof_sdw", 145 + .sof_tplg_filename = "sof-lnl-rt712-l2-rt1712-l3.tplg", 187 146 }, 188 147 {}, 189 148 };