Message ID | 20240228192807.15130-1-alban.boye@protonmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3563453dyb; Wed, 28 Feb 2024 11:29:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW23KQ2+O1wHZwsNO5BqaeIRSnsyGgq5g5RBvtul5+dCt3du7PkDy6icgZQTzliITwpaYYNj84iJkT2LUnjtTBdxvZTDg== X-Google-Smtp-Source: AGHT+IEuKbggTEMcYRNNo89ilgruk/f9kOmcEHIyh+0iyMunN6mb+LekhwczylTmSNzyYcd7zEBc X-Received: by 2002:a0c:dd02:0:b0:68f:2d61:e72c with SMTP id u2-20020a0cdd02000000b0068f2d61e72cmr28614qvk.28.1709148543653; Wed, 28 Feb 2024 11:29:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709148543; cv=pass; d=google.com; s=arc-20160816; b=MqSWUrv43y2v4uVX1X7qKlkE4CAihb8e2fPmYED+jgUoS3xb5IvfTdtF2YaRATPDzr KsP/qY17RFECCSA99bDJeLl1DLSTa9Iy5fcH6DKb2R5bcAlfTxGcl4eCPcMkS/zBbcjb Eqe3gNA0lJHn24qh45Bz0i58hlTYLhz50+6F5g4qCcirhtzCXUl/Q6nneFDjw96LQoiy uMsANH9rOk6xCrvDnVD0WoHe+AseeopnC3Ogg7+OkBhkDy6oWFyI3L3f8pQn4HYn7jph b7sWoI5ipJwk0G7ktpSZ0qmC1e9n1bwJ5yWKpBz0r9FOR51OdyUPK6RkOqzMd69GJJOL f0Gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:message-id:subject:cc :from:to:date:dkim-signature; bh=y3/AiIPJpnisyh+JMqGGimriuBFEELkPDH66n6lcrt4=; fh=h4qfQhOe+jpKlZNVjDz7TuUk1KemkQxbpeGso0J0aI0=; b=WgeN0x7wTZumOUJpbT/hhrW22WoaZfo4IAOJYTWQD1vEwv2s2bGM+IU1LYQH0ctBPp gNznvq3Ba3JFxsdVCh+zBgQyJQByrT81DMel3k13DipYahqFzmehgD/Lp+Lb0Pw4U2Pp A6qL21eapRgYMJST3ukjyLwwSMQp+orQI/czj31XRmWDD4W3LTy7/OmOQDpYSPfEp33s B5y6fsz7XbfEu9+lJx7vrxRSVNc+tfAi3+MkunQ2SWal8lIB5uM1K/RDeaxHRXTM9DcB WIUMPj5xfZsXqon5KXuBoKJJrMnqtv3HHq4d/1lJnbgk1IQ2lanHQLAFYyUX2k+Y0CbZ +SOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=cv2lVUiH; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t4-20020ad45bc4000000b006901808bd13si177085qvt.528.2024.02.28.11.29.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:29:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=cv2lVUiH; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85597-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 591C91C23A56 for <ouuuleilei@gmail.com>; Wed, 28 Feb 2024 19:29:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E69AC7443A; Wed, 28 Feb 2024 19:28:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="cv2lVUiH" Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B322274410; Wed, 28 Feb 2024 19:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709148531; cv=none; b=G5/2QjBHOCVFmBZpIYLy2sEXiknvgWNIKfrSjESjVGGPW2B1Rm4QR0o2stkHqlkyoHZRKpxr3tBAqzCERnfuEoU4oN7E6zzT5lEmND7oIYHPJbuDH96auca1SKBBYhor2NcZvqYeXZ+E4Pb6JemOX5nsZNgftUJukUahEeNb5iA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709148531; c=relaxed/simple; bh=y3/AiIPJpnisyh+JMqGGimriuBFEELkPDH66n6lcrt4=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=pmWYxQ4+PcXTd49lmlNe5rD5O8F33obQ48oRTDFSEOEc4hiBIYg9SlFh6YmGJjfFE2ANK/Oee9dyACUuW8mg5BA5B5F6hq10xiWXqHM4QE2vZjpzUhzZlmNKUwsRz1BIcwOjuuo4/YZrkyfwfIcDIaJJPglwZv8GRVoridR1PTQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=cv2lVUiH; arc=none smtp.client-ip=185.70.43.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1709148527; x=1709407727; bh=y3/AiIPJpnisyh+JMqGGimriuBFEELkPDH66n6lcrt4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=cv2lVUiHA5KQlEXkHCHqNZshzfp90Wf5plfT4RhFVcUBE143fXFBv8cMKZpy8v/qp eIZ+LmhOJbsV1Ri55hTq3af2JfrG96RLUIHwQPdKaI1J2tl1+/HwJFaXjB9t7vpMOO EhY8ELU3rgZImU9nwSKwKHlv/hVydDhfjidXkfM++577TCxe+U/8Pg1QNgFCj6yTef jOXUfPw5DvrSQRgCJWNBTln/lfYnH9FcJT1OJUfY/7ScKyB389pKQeBAQqRZUIuynT 7oU7qwAKLrnl+GnGsVYofUVRthQxNpuSnK4EWl907sv4e2Tpq5J+bcQIIbCHNuxqHj jvDe5mCwkxEEg== Date: Wed, 28 Feb 2024 19:28:41 +0000 To: cezary.rojewski@intel.com, pierre-louis.bossart@linux.intel.com, broonie@kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org From: =?utf-8?q?Alban_Boy=C3=A9?= <alban.boye@protonmail.com> Cc: =?utf-8?q?Alban_Boy=C3=A9?= <alban.boye@protonmail.com> Subject: [PATCH v3] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet Message-ID: <20240228192807.15130-1-alban.boye@protonmail.com> Feedback-ID: 10280386:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792172143174141149 X-GMAIL-MSGID: 1792172143174141149 |
Series |
[v3] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
|
|
Commit Message
Alban Boyé
Feb. 28, 2024, 7:28 p.m. UTC
The bios version can differ depending if it is a dual-boot variant of the tablet.
Therefore another DMI match is required.
Signed-off-by: Alban Boyé <alban.boye@protonmail.com>
---
sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
Comments
On 2/28/24 2:28 PM, Alban Boyé wrote: > The bios version can differ depending if it is a dual-boot variant of the tablet. > Therefore another DMI match is required. > > Signed-off-by: Alban Boyé <alban.boye@protonmail.com> > --- > sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c > index 03be5e26ec4a..05f38d1f7d82 100644 > --- a/sound/soc/intel/boards/bytcr_rt5640.c > +++ b/sound/soc/intel/boards/bytcr_rt5640.c > @@ -685,6 +685,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { > BYT_RT5640_SSP0_AIF1 | > BYT_RT5640_MCLK_EN), > }, > + { /* Chuwi Vi8 dual-boot (CWI506) */ > + .matches = { > + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "i86"), > + /* The above are too generic, also match BIOS info */ > + DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"), > + }, > + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | > + BYT_RT5640_MONO_SPEAKER | > + BYT_RT5640_SSP0_AIF1 | > + BYT_RT5640_MCLK_EN), > + }, > { > /* Chuwi Vi10 (CWI505) */ > .matches = { Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
On 2024-02-28 8:28 PM, Alban Boyé wrote: > The bios version can differ depending if it is a dual-boot variant of the tablet. > Therefore another DMI match is required. > > Signed-off-by: Alban Boyé <alban.boye@protonmail.com> > --- > sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c > index 03be5e26ec4a..05f38d1f7d82 100644 > --- a/sound/soc/intel/boards/bytcr_rt5640.c > +++ b/sound/soc/intel/boards/bytcr_rt5640.c > @@ -685,6 +685,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { > BYT_RT5640_SSP0_AIF1 | > BYT_RT5640_MCLK_EN), > }, > + { /* Chuwi Vi8 dual-boot (CWI506) */ > + .matches = { > + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "i86"), > + /* The above are too generic, also match BIOS info */ > + DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"), > + }, > + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | > + BYT_RT5640_MONO_SPEAKER | > + BYT_RT5640_SSP0_AIF1 | > + BYT_RT5640_MCLK_EN), > + }, > { > /* Chuwi Vi10 (CWI505) */ > .matches = { Thank you for addressing the review comments. Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
On Wed, 28 Feb 2024 19:28:41 +0000, Alban Boyé wrote: > The bios version can differ depending if it is a dual-boot variant of the tablet. > Therefore another DMI match is required. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet commit: f8b0127aca8c60826e7354e504a12d4a46b1c3bb All 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
diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 03be5e26ec4a..05f38d1f7d82 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -685,6 +685,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { /* Chuwi Vi8 dual-boot (CWI506) */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "i86"), + /* The above are too generic, also match BIOS info */ + DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* Chuwi Vi10 (CWI505) */ .matches = {