diff options
author | Brent Lu <brent.lu@intel.com> | 2021-09-14 18:18:47 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-15 13:09:07 +0100 |
commit | e224ef76fa8aa2410731f0df13c93dffa443a970 (patch) | |
tree | 85971c39e50018f6636e56b86a329fd4573015d4 /sound/soc/intel/boards | |
parent | 04afb621f9236dcfd7eb322d8554d7af8ce92dde (diff) | |
download | linux-stable-e224ef76fa8aa2410731f0df13c93dffa443a970.tar.gz linux-stable-e224ef76fa8aa2410731f0df13c93dffa443a970.tar.bz2 linux-stable-e224ef76fa8aa2410731f0df13c93dffa443a970.zip |
ASoC: intel: sof_rt5682: support jsl_rt5682s_mx98360a board
This patch adds driver data for two MAX98360A speaker amplifiers on SSP1
and one ALC5682I-VS headphone codec on SSP0 for JSL platform.
Topology is leveraged from jsl_rt5682_mx98360a since the capability of
two ALC5682 variants is the same.
Signed-off-by: Brent Lu <brent.lu@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210914101847.778688-5-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r-- | sound/soc/intel/boards/sof_rt5682.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c index 31722a44f7af..3f6f19d9b19e 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -1066,6 +1066,16 @@ static const struct platform_device_id board_ids[] = { SOF_RT1015P_SPEAKER_AMP_PRESENT | SOF_RT5682_SSP_AMP(1)), }, + { + .name = "jsl_rt5682s_mx98360a", + .driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN | + SOF_RT5682_MCLK_24MHZ | + SOF_RT5682_SSP_CODEC(0) | + SOF_RT5682S_HEADPHONE_CODEC_PRESENT | + SOF_SPEAKER_AMP_PRESENT | + SOF_MAX98360A_SPEAKER_AMP_PRESENT | + SOF_RT5682_SSP_AMP(1)), + }, { } }; MODULE_DEVICE_TABLE(platform, board_ids); |