Skip to content

Commit c0660fc

Browse files
brentlubroonie
authored andcommitted
ASoC: Intel: sof_rt5682: add jsl_rt5682 board config
This configuration supports JSL boards which implement ALC5682I-VD/VS on SSP0 port. Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Brent Lu <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8e378ea commit c0660fc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

sound/soc/intel/boards/sof_rt5682.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,12 @@ static const struct platform_device_id board_ids[] = {
11041104
SOF_RT5682_SSP_AMP(1) |
11051105
SOF_RT5682_NUM_HDMIDEV(4)),
11061106
},
1107+
{
1108+
.name = "jsl_rt5682",
1109+
.driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN |
1110+
SOF_RT5682_MCLK_24MHZ |
1111+
SOF_RT5682_SSP_CODEC(0)),
1112+
},
11071113
{ }
11081114
};
11091115
MODULE_DEVICE_TABLE(platform, board_ids);

sound/soc/intel/common/soc-acpi-intel-jsl-match.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_jsl_machines[] = {
7878
.quirk_data = &mx98360a_spk,
7979
.sof_tplg_filename = "sof-jsl-rt5682-mx98360a.tplg",
8080
},
81+
{
82+
.comp_ids = &rt5682_rt5682s_hp,
83+
.drv_name = "jsl_rt5682",
84+
.sof_tplg_filename = "sof-jsl-rt5682.tplg",
85+
},
8186
{
8287
.id = "10134242",
8388
.drv_name = "jsl_cs4242_mx98360a",

0 commit comments

Comments
 (0)