ASoC: Intel: RPL/MTL machine updates for 6.6
Subsystems (3)
cover ASoC: Intel: RPL/MTL machine updates for 6.6
4 commits with the match tables for RaptorLake and MeteorLake devices.
Balamurugan C (3):
ASoC: Intel: soc-acpi: Add entry for sof_es8336 in RPL match table.
ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in RPL
match table
ASoC: Intel: RPL: Add entry for HDMI-In capture support on non-I2S
codec boards.
Chao Song (1):
ASoC: Intel: soc-acpi: add support for Dell SKU0C87 devices
sound/soc/intel/boards/sof_es8336.c | 10 ++++ sound/soc/intel/boards/sof_ssp_amp.c | 9 ++++ .../intel/common/soc-acpi-intel-mtl-match.c | 52 +++++++++++++++++++ .../intel/common/soc-acpi-intel-rpl-match.c | 30 +++++++++++ 4 files changed, 101 insertions(+)
Signature · 1 line
2.39.2
PATCH 1/4 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in RPL match table.
From: Balamurugan C <[email protected]>
Adding support for ES83x6 codec in RPL match table.
--- sound/soc/intel/common/soc-acpi-intel-rpl-match.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
sound/soc/intel/common/soc-acpi-intel-rpl-match.c +13 -0
@@ -331,6 +331,11 @@ static const struct snd_soc_acpi_codecs rpl_rt5682_hp = { .codecs = {"10EC5682", "RTL5682"}, }; +static const struct snd_soc_acpi_codecs rpl_essx_83x6 = { + .num_codecs =3 , + .codecs = {"ESSX8316" ,"ESSX8326" ,"ESSX8336" }, +}; +static const struct snd_soc_acpi_codecs rpl_max98357a_amp = { .num_codecs =1 , .codecs = {"MX98357A"}
@@ -380,6 +385,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = { .quirk_data = &rpl_rt1019p_amp, .sof_tplg_filename = "sof-rpl-rt1019-rt5682.tplg", }, + { + .comp_ids = &rpl_essx_83x6, + .drv_name = "sof-essx8336", + .sof_tplg_filename = "sof-rpl-es83x6", /* the tplg suffix is added at run time */ + .tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER | + SND_SOC_ACPI_TPLG_INTEL_SSP_MSB | + SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER, + }, {}, };EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_rpl_machines);
Signature · 1 line
2.39.2
PATCH 2/4 ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in RPL match table
In reply to Pierre-Louis BossartFrom: Balamurugan C <[email protected]>
Adding HDMI-In capture via I2S feature support in RPL platfroms.
--- sound/soc/intel/boards/sof_es8336.c | 10 ++++++++++ sound/soc/intel/common/soc-acpi-intel-rpl-match.c | 12 ++++++++++++ 2 files changed, 22 insertions(+)
sound/soc/intel/boards/sof_es8336.c +10 -0
@@ -798,6 +798,16 @@ static const struct platform_device_id board_ids[] = {SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK | SOF_ES8336_JD_INVERTED), }, + { + .name = "rpl_es83x6_c1_h02", + .driver_data = (kernel_ulong_t)(SOF_ES8336_SSP_CODEC (1 ) | +SOF_NO_OF_HDMI_CAPTURE_SSP (2 ) | +SOF_HDMI_CAPTURE_1_SSP (0 ) | +SOF_HDMI_CAPTURE_2_SSP (2 ) | +SOF_SSP_HDMI_CAPTURE_PRESENT | +SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK | + SOF_ES8336_JD_INVERTED), + }, { } };MODULE_DEVICE_TABLE (platform, board_ids);
sound/soc/intel/common/soc-acpi-intel-rpl-match.c +12 -0
@@ -356,6 +356,11 @@ static const struct snd_soc_acpi_codecs rpl_rt1019p_amp = { .codecs = {"RTL1019"} }; +static const struct snd_soc_acpi_codecs rpl_lt6911_hdmi = { + .num_codecs =1 , + .codecs = {"INTC10B0" } +}; +struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = { { .comp_ids = &rpl_rt5682_hp,
@@ -385,6 +390,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = { .quirk_data = &rpl_rt1019p_amp, .sof_tplg_filename = "sof-rpl-rt1019-rt5682.tplg", }, + { + .comp_ids = &rpl_essx_83x6, + .drv_name = "rpl_es83x6_c1_h02", + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &rpl_lt6911_hdmi, + .sof_tplg_filename = "sof-rpl-es83x6-ssp1-hdmi-ssp02.tplg", + }, { .comp_ids = &rpl_essx_83x6, .drv_name = "sof-essx8336",
Signature · 1 line
2.39.2
PATCH 3/4 ASoC: Intel: soc-acpi: add support for Dell SKU0C87 devices
In reply to Pierre-Louis BossartFrom: Chao Song <[email protected]>
This patch adds the acpi match table for Dell SKU0C87 devices, the codec layout is:
SDW0: RT714 DMIC
SDW1: RT1318 Speaker
SDW2: RT1318 SpeakerNote that there is no jack codec on SKU0C87 devices.
--- .../intel/common/soc-acpi-intel-mtl-match.c | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+)
sound/soc/intel/common/soc-acpi-intel-mtl-match.c +52 -0
@@ -161,6 +161,33 @@ static const struct snd_soc_acpi_adr_device rt1316_3_group1_adr[] = { } }; +static const struct snd_soc_acpi_adr_device rt1318_1_group1_adr[] = { + { + .adr =0x000130025D131801ull , + .num_endpoints =1 , + .endpoints = &spk_l_endpoint, + .name_prefix ="rt1318-1" + } +}; + +static const struct snd_soc_acpi_adr_device rt1318_2_group1_adr[] = { + { + .adr =0x000232025D131801ull , + .num_endpoints =1 , + .endpoints = &spk_r_endpoint, + .name_prefix ="rt1318-2" + } +}; + +static const struct snd_soc_acpi_adr_device rt714_0_adr[] = { + { + .adr =0x000030025D071401ull , + .num_endpoints =1 , + .endpoints = &single_endpoint, + .name_prefix ="rt714" + } +}; +static const struct snd_soc_acpi_adr_device rt714_1_adr[] = { { .adr =0x000130025D071401ull ,
@@ -232,6 +259,25 @@ static const struct snd_soc_acpi_link_adr mtl_3_in_1_sdca[] = { {} }; +static const struct snd_soc_acpi_link_adr mtl_sdw_rt1318_l12_rt714_l0[] = { + { + .mask =BIT (1 ), + .num_adr =ARRAY_SIZE (rt1318_1_group1_adr), + .adr_d = rt1318_1_group1_adr, + }, + { + .mask =BIT (2 ), + .num_adr =ARRAY_SIZE (rt1318_2_group1_adr), + .adr_d = rt1318_2_group1_adr, + }, + { + .mask =BIT (0 ), + .num_adr =ARRAY_SIZE (rt714_0_adr), + .adr_d = rt714_0_adr, + }, + {} +}; +static const struct snd_soc_acpi_adr_device mx8363_2_adr[] = { { .adr =0x000230019F836300ull ,
@@ -298,6 +344,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_sdw_machines[] = { .drv_name = "sof_sdw", .sof_tplg_filename = "sof-mtl-rt712-l0-rt1712-l3.tplg", }, + { + .link_mask = GENMASK(2, 0), + .links = mtl_sdw_rt1318_l12_rt714_l0, + .drv_name = "sof_sdw", + .sof_tplg_filename ="sof-mtl-rt1318-l12-rt714-l0.tplg" + }, { .link_mask = GENMASK(3, 0), .links = mtl_3_in_1_sdca,
Signature · 1 line
2.39.2
PATCH 4/4 ASoC: Intel: RPL: Add entry for HDMI-In capture support on non-I2S codec boards.
In reply to Pierre-Louis BossartFrom: Balamurugan C <[email protected]>
Adding HDMI-In capture support for the RPL products doesn't have onboard I2S codec.but need to support HDMI-In capture via I2S and audio playback through HDMI/DP monitor.
--- sound/soc/intel/boards/sof_ssp_amp.c | 9 +++++++++ sound/soc/intel/common/soc-acpi-intel-rpl-match.c | 5 +++++ 2 files changed, 14 insertions(+)
sound/soc/intel/boards/sof_ssp_amp.c +9 -0
@@ -472,6 +472,15 @@ static const struct platform_device_id board_ids[] = {SOF_NO_OF_HDMI_PLAYBACK (3 ) | SOF_HDMI_PLAYBACK_PRESENT), }, + { + .name = "rpl_lt6911_hdmi_ssp", + .driver_data = (kernel_ulong_t)(SOF_NO_OF_HDMI_CAPTURE_SSP (2 ) | +SOF_HDMI_CAPTURE_1_SSP (0 ) | +SOF_HDMI_CAPTURE_2_SSP (2 ) | +SOF_SSP_HDMI_CAPTURE_PRESENT | +SOF_NO_OF_HDMI_PLAYBACK (3 ) | + SOF_HDMI_PLAYBACK_PRESENT), + }, { } };MODULE_DEVICE_TABLE (platform, board_ids);
sound/soc/intel/common/soc-acpi-intel-rpl-match.c +5 -0
@@ -405,6 +405,11 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = {SND_SOC_ACPI_TPLG_INTEL_SSP_MSB | SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER, }, + { + .id = "INTC10B0", + .drv_name = "rpl_lt6911_hdmi_ssp", + .sof_tplg_filename ="sof-rpl-nocodec-hdmi-ssp02.tplg" + }, {}, };EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_rpl_machines);
Signature · 1 line
2.39.2
Mark Brown
maintainerQuoted 10 lines · Pierre-Louis Bossart
4 commits with the match tables for RaptorLake and MeteorLake devices.
Balamurugan C (3):
ASoC: Intel: soc-acpi: Add entry forsof_es8336in RPL match table.
ASoC: Intel: soc-acpi: Add entry forHDMI_Incapture support in RPL
match table
ASoC: Intel: RPL: Add entry for HDMI-In capture support on non-I2S
codec boards.[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/4] ASoC: Intel: soc-acpi: Add entry for sof_es8336 in RPL match table.
commit: fc8b9d05a01f7cd98e0805aa773603b07515de06
[2/4] ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in RPL match table
commit: fbc82c016d96aa4a2d99587cae2b78d5c5a59ea7
[3/4] ASoC: Intel: soc-acpi: add support for Dell SKU0C87 devices
commit: fec75606f48f6c85eca8a9e868e41fb657abd1ca
[4/4] ASoC: Intel: RPL: Add entry for HDMI-In capture support on non-I2S codec boards.
commit: f7555da71ef6eb9d289173d94ec2cc9d15061f33All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark