File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1112,7 +1112,9 @@ static const struct platform_device_id board_ids[] = {
11121112 SOF_SPEAKER_AMP_PRESENT |
11131113 SOF_RT1019_SPEAKER_AMP_PRESENT |
11141114 SOF_RT5682_SSP_AMP (1 ) |
1115- SOF_RT5682_NUM_HDMIDEV (4 )),
1115+ SOF_RT5682_NUM_HDMIDEV (4 ) |
1116+ SOF_BT_OFFLOAD_SSP (2 ) |
1117+ SOF_SSP_BT_OFFLOAD_PRESENT ),
11161118 },
11171119 {
11181120 .name = "rpl_mx98360_rt5682" ,
@@ -1144,6 +1146,15 @@ static const struct platform_device_id board_ids[] = {
11441146 SOF_RT5682_SSP_AMP (1 ) |
11451147 SOF_RT5682_NUM_HDMIDEV (4 )),
11461148 },
1149+ {
1150+ .name = "mtl_rt1019_rt5682" ,
1151+ .driver_data = (kernel_ulong_t )(SOF_RT5682_MCLK_EN |
1152+ SOF_RT5682_SSP_CODEC (0 ) |
1153+ SOF_SPEAKER_AMP_PRESENT |
1154+ SOF_RT1019_SPEAKER_AMP_PRESENT |
1155+ SOF_RT5682_SSP_AMP (1 ) |
1156+ SOF_RT5682_NUM_HDMIDEV (4 )),
1157+ },
11471158 {
11481159 .name = "jsl_rt5682" ,
11491160 .driver_data = (kernel_ulong_t )(SOF_RT5682_MCLK_EN |
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ static const struct snd_soc_acpi_codecs mtl_max98360a_amp = {
2020 .codecs = {"MX98360A" }
2121};
2222
23+ static const struct snd_soc_acpi_codecs mtl_rt1019p_amp = {
24+ .num_codecs = 1 ,
25+ .codecs = {"RTL1019" }
26+ };
27+
2328static const struct snd_soc_acpi_codecs mtl_rt5682_rt5682s_hp = {
2429 .num_codecs = 2 ,
2530 .codecs = {"10EC5682" , "RTL5682" },
@@ -40,6 +45,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_machines[] = {
4045 .quirk_data = & mtl_max98360a_amp ,
4146 .sof_tplg_filename = "sof-mtl-max98360a-rt5682.tplg" ,
4247 },
48+ {
49+ .comp_ids = & mtl_rt5682_rt5682s_hp ,
50+ .drv_name = "mtl_rt1019p_rt5682" ,
51+ .machine_quirk = snd_soc_acpi_codec_list ,
52+ .quirk_data = & mtl_rt1019p_amp ,
53+ .sof_tplg_filename = "sof-mtl-rt1019-rt5682.tplg" ,
54+ },
4355 {},
4456};
4557EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_mtl_machines );
You can’t perform that action at this time.
0 commit comments