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>
This commit is contained in:
Pierre-Louis Bossart 2020-08-21 14:55:50 -05:00 committed by Mark Brown
parent 6f7cf9125e
commit b161a12192
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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[] = {