[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAB4CAwcAbZYa7NS-Kxd60gN_Z1qv2C-SxMsTvgqWSfmcD=s3Kw@mail.gmail.com>
Date: Tue, 22 Dec 2020 23:07:17 +0800
From: Chris Chiu <chiu@...lessos.org>
To: cezary.rojewski@...el.com,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
yang.jie@...ux.intel.com
Cc: alsa-devel@...a-project.org,
Linux Kernel <linux-kernel@...r.kernel.org>,
linux@...lessos.org
Subject: Re: [PATCH] ASoC: Intel: bytcr_rt5640: Add quirks for DeeQ X5-Z8300
On Wed, Dec 16, 2020 at 12:18 PM Chris Chiu <chiu@...lessos.org> wrote:
>
> DeeQ X5-Z8300 is a laptop empowered by Intel Atom Cherry Trail. Add
> quirks to select the correct input map, jack-detect options to enable
> jack sensing and internal/headset microphones.
>
> Signed-off-by: Chris Chiu <chiu@...lessos.org>
> ---
> sound/soc/intel/boards/bytcr_rt5651.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c
> index 688b5e0a49e3..9df09e26b05a 100644
> --- a/sound/soc/intel/boards/bytcr_rt5651.c
> +++ b/sound/soc/intel/boards/bytcr_rt5651.c
> @@ -507,6 +507,14 @@ static const struct dmi_system_id byt_rt5651_quirk_table[] = {
> BYT_RT5651_SSP0_AIF1 |
> BYT_RT5651_MONO_SPEAKER),
> },
> + {
> + .callback = byt_rt5651_quirk_cb,
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "DeeQ"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "X5-Z8300"),
> + },
> + .driver_data = (void *)(BYT_RT5651_IN1_IN2_MAP | BYT_RT5651_JD1_1),
> + },
> {}
> };
>
> --
> 2.20.1
>
Gentle ping. Cheers.
Chris
Powered by blists - more mailing lists