[alsa-devel] [PATCH 2/4] ASoC: Intel: bytcr-rt5651: enable MinnowBoard Turbot quirks

Zhang, Keqiao keqiao.zhang at intel.com
Mon Jan 8 09:25:03 CET 2018



> -----Original Message-----
> From: alsa-devel-bounces at alsa-project.org [mailto:alsa-devel-bounces at alsa-
> project.org] On Behalf Of Pierre-Louis Bossart
> Sent: Saturday, January 6, 2018 3:20 AM
> To: alsa-devel at alsa-project.org
> Cc: tiwai at suse.de; Keyon Jie <yang.jie at linux.intel.com>; Pierre-Louis Bossart
> <pierre-louis.bossart at linux.intel.com>; liam.r.girdwood at linux.intel.com; Koul,
> Vinod <vinod.koul at intel.com>; broonie at kernel.org; Carlo Caione
> <carlo at caione.org>; bardliao at realtek.com
> Subject: [alsa-devel] [PATCH 2/4] ASoC: Intel: bytcr-rt5651: enable
> MinnowBoard Turbot quirks
> 
> Define DMI quirk for rt5651 eval board connected to MinnowBoard Turbot. The
> only difference with a MinnowBoard MAX is that the MCLK pin is enabled on the
> LSE connector
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
Tested-by: Keqiao.Zhang <Keqiao.zhang at intel.com>
> ---
>  sound/soc/intel/boards/bytcr_rt5651.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/sound/soc/intel/boards/bytcr_rt5651.c
> b/sound/soc/intel/boards/bytcr_rt5651.c
> index de3758b2aac1..7d95008f1795 100644
> --- a/sound/soc/intel/boards/bytcr_rt5651.c
> +++ b/sound/soc/intel/boards/bytcr_rt5651.c
> @@ -266,6 +266,15 @@ static const struct dmi_system_id
> byt_rt5651_quirk_table[] = {
>  		},
>  		.driver_data = (void *)(BYT_RT5651_IN3_MAP),
>  	},
> +	{
> +		.callback = byt_rt5651_quirk_cb,
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "ADI"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Minnowboard
> Turbot"),
> +		},
> +		.driver_data = (void *)(BYT_RT5651_MCLK_EN |
> +					BYT_RT5651_IN3_MAP),
> +	},
>  	{
>  		.callback = byt_rt5651_quirk_cb,
>  		.matches = {
> --
> 2.14.1
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list