mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
ASoC: Intel: RPL/MTL machine updates for 6.6
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 4 commits with the match tables for RaptorLake and MeteorLake devices.
This commit is contained in:
commit
63e0410276
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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"}
|
||||
@ -346,9 +351,9 @@ static const struct snd_soc_acpi_codecs rpl_max98373_amp = {
|
||||
.codecs = {"MX98373"}
|
||||
};
|
||||
|
||||
static const struct snd_soc_acpi_codecs rpl_rt1019p_amp = {
|
||||
static const struct snd_soc_acpi_codecs rpl_lt6911_hdmi = {
|
||||
.num_codecs = 1,
|
||||
.codecs = {"RTL1019"}
|
||||
.codecs = {"INTC10B0"}
|
||||
};
|
||||
|
||||
static const struct snd_soc_acpi_codecs rpl_nau8318_amp = {
|
||||
@ -356,6 +361,11 @@ static const struct snd_soc_acpi_codecs rpl_nau8318_amp = {
|
||||
.codecs = {"NVTN2012"}
|
||||
};
|
||||
|
||||
static const struct snd_soc_acpi_codecs rpl_rt1019p_amp = {
|
||||
.num_codecs = 1,
|
||||
.codecs = {"RTL1019"}
|
||||
};
|
||||
|
||||
struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = {
|
||||
{
|
||||
.comp_ids = &rpl_rt5682_hp,
|
||||
@ -392,6 +402,26 @@ 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",
|
||||
.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,
|
||||
},
|
||||
{
|
||||
.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);
|
||||
|
Loading…
Reference in New Issue
Block a user