[alsa-devel] [PATCH v2] ASoC: Intel: common: add Geminilake Realtek+Maxim machine driver entry

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Apr 10 20:08:40 CEST 2019



On 4/10/19 12:27 PM, Yong Zhi wrote:
> This patch adds glk_rt5682_max98357a_i2s machine driver entry into
> machine table. Both Skylake and SOF platform drivers can use this
> machine drivers.
> 
> Signed-off-by: Yong Zhi <yong.zhi at intel.com>
> Signed-off-by: Naveen Manohar <naveen.m at intel.com>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>


Ack. This is needed to probe the glk_rt5682_max98357a machine driver 
that's been merged around July 2018.

> ---
> Hi, Pierre,
> 
> This is an update to https://patchwork.kernel.org/patch/10472523/
> with SOF files prefix and asoc_plat_name removed, tested with SOF v1.1, thanks!!
> 
>   sound/soc/intel/common/soc-acpi-intel-glk-match.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/sound/soc/intel/common/soc-acpi-intel-glk-match.c b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
> index 3f2061475ae4..616eb09e78a0 100644
> --- a/sound/soc/intel/common/soc-acpi-intel-glk-match.c
> +++ b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
> @@ -31,6 +31,15 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
>   		.sof_fw_filename = "sof-glk.ri",
>   		.sof_tplg_filename = "sof-glk-da7219.tplg",
>   	},
> +	{
> +		.id = "10EC5682",
> +		.drv_name = "glk_rt5682_max98357a",
> +		.fw_filename = "intel/dsp_fw_glk.bin",
> +		.machine_quirk = snd_soc_acpi_codec_list,
> +		.quirk_data = &glk_codecs,
> +		.sof_fw_filename = "sof-glk.ri",
> +		.sof_tplg_filename = "sof-glk-rt5682.tplg",
> +	},
>   	{},
>   };
>   EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
> 


More information about the Alsa-devel mailing list