summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_sdw.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-08-21 14:55:50 -0500
committerMark Brown <broonie@kernel.org>2020-08-24 13:41:26 +0100
commitb161a12192f4b88cede8a563a6ebd2336d905d18 (patch)
tree4a1847859c303545184c0fcca391bf00baa04e54 /sound/soc/intel/boards/sof_sdw.c
parent6f7cf9125ed43daaf4c5dd34ebcd96c978fcd2b2 (diff)
ASoC: Intel: sof-soundwire: add support for rt5682 on link2
The UpExtreme board provides support for SoundWire link2 in 2 of the 3 advanced modes. Let's use it w/ rt5682. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200821195603.215535-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_sdw.c')
-rw-r--r--sound/soc/intel/boards/sof_sdw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c
index 4bc1ed757009..100c0a83a6ad 100644
--- a/sound/soc/intel/boards/sof_sdw.c
+++ b/sound/soc/intel/boards/sof_sdw.c
@@ -173,6 +173,11 @@ static struct snd_soc_codec_conf codec_conf[] = {
.dlc = COMP_CODEC_CONF("sdw:0:25d:5682:0"),
.name_prefix = "rt5682",
},
+ /* rt5682 on link2 */
+ {
+ .dlc = COMP_CODEC_CONF("sdw:2:25d:5682:0"),
+ .name_prefix = "rt5682",
+ },
};
static struct snd_soc_dai_link_component dmic_component[] = {