Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2553037lqp; Mon, 25 Mar 2024 02:19:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvNUfqSvvVSXw/uZ1VnUu9xBzz8n1RcmYqf5ufSbiMgDOULxQQok461Cl3FdIXhmU6vkpHwpQsXX1sO+ipXEwTx3keYB9ZUqHqRhI/UQ== X-Google-Smtp-Source: AGHT+IFZLdwierb6h7p/6QpndFCbfwZnfzjZ9XGei0vM9fUIhkaK8LaWXy32n2mSJln85ddXnykS X-Received: by 2002:a05:6102:953:b0:478:224b:5d1c with SMTP id a19-20020a056102095300b00478224b5d1cmr184436vsi.2.1711358383175; Mon, 25 Mar 2024 02:19:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711358383; cv=pass; d=google.com; s=arc-20160816; b=Ef3Xdms7mXD9csMvL5AZLK/yZOgrkzzdWxTZANlxdaQsMYG33HZbld89YAaLeLs46O f3bJ2i7RvHJQxhJhEdm9Xjmr08QMZnK7i0Emvwb6LWD1j3TGJD332x5gAB5GzpmhHrmv r1EMoEhkglgieMaxKwwB7mh2gOU5V2hkCE+WPDHhIQ5MlyGdf7YdagTXkziEt/bdAGxQ 7RkzpoDHhv7BWJjcOWGhComPP+NIEq8n56oOT4gUjhqLc9wYjxad/JUetnfhqvItzX39 b7iAJEBg8XJp/+JgNGhZ5QvOfvQk0km1RUXw+SDKWxcRGmviSejHrWzK763/3zBYD9GS Av7Q== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6tQkF6nU7qYq4aCXg+mAagO66XJ+gUaf1LiJmZqpQ8w=; fh=d3CXjouCY925kA2alb0v/zJWbzIO3H6tY6YEkSuG8UQ=; b=m3tVJEjoAAK95Un38EWvQHaSHdS0+/XxqFO2k1N1/stnnKV53+XECHuWe+MyeFyAHt 6j3iCWx4XYb1s2Sz6s0EIyP2VIOGoGG0fs9GmF+Pp4AJwTj97i5+wRz3+VN4NsliaFrz 74kpkegiVOJwElrVyo6O2Gyj5K9AAHuK/NLIx3eUWrplDhS/AtpV4r73EnP69DZUiODp qHmCM5CCUfC0XIXS00OlgyhXd2ZC42UjmF3APVzt1IIGZiISpP2yVtLOH7libzk8rvBX TyiljQLwYAKlIHFqJhokx7x2dEQ6MM4F0Lvw9qYqr2nAXUJNECgrUPWcHUjUeRtlMJz/ wc3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mNl/NnCD"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115776-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b6-20020a05620a118600b007884370840esi5005299qkk.256.2024.03.25.02.19.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mNl/NnCD"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115776-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 955091C30E47 for ; Mon, 25 Mar 2024 09:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A783226576; Mon, 25 Mar 2024 03:00:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mNl/NnCD" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B88B114533D; Sun, 24 Mar 2024 23:13:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711321981; cv=none; b=SrFDoMbnHNdCNm4/yXb5tvr8Q/pszRR2ZEyZNue1LmGnZFQVIGvw7y9DTIAsWNNnzmkHJxnSPygnzMZRRxpQj53TCTmUsVrCq3IBwCzqQYA5Osvkt92Dcwtad1V/qXe6Bs3H6HM+49r8I1HHfWM8HtrUgZ5Ock5c9u0KKxE7scE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711321981; c=relaxed/simple; bh=h13E3I/67aiIVBnOSCOdgSWe9t1VwoTldhgwrMtJGUA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KzI8szPx6BbDmjG6c1NhFfS0glnLzWoYiiEHp/jmmkqoFsrVzMYkniJSzpjzck6gLPXjfBbCwhWyycGPzu6DSaKwPPJf36vQL8iOprR5PBxf7Rnef55Wo+UZUBr4CYVbLq+d+pdxis+8twSY2tdyODicN4MjYOgSaBoN4AuvQ/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mNl/NnCD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C84E7C433F1; Sun, 24 Mar 2024 23:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711321980; bh=h13E3I/67aiIVBnOSCOdgSWe9t1VwoTldhgwrMtJGUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mNl/NnCDnbHPL/J8ujT5/D/yqZ4ggD5/7pBmF87kEhIquN9tFaio4Va5qLCQZVoWT ebOKsyTOaeBkMfa8AXMGBvhp2SSahpnEuFy8psEMEied8ItAB4dD986FPhzitAPk8v GJQmEqsRDtc02jmCkWvFkmgPCvG1P3ltcNfF8lpyh0JO2s6bYTZbhUGgW8lz66ak21 Hn2CG+EdLBuq6X0pp6ESDSd6pfp8M80TqzWyNKGWCEdR2ft1hz5OYEhmTmmrRnF3Uh /1DjQ1VhiGirSs/3N58NPi5P11PB/cbTsKwT/dbOYbgBJnop+ktzy6iOHRF7yP5xNm 3nRMiR22JwQeQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Alban=20Boy=C3=A9?= , Cezary Rojewski , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 6.1 053/451] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet Date: Sun, 24 Mar 2024 19:05:29 -0400 Message-ID: <20240324231207.1351418-54-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Alban Boyé [ Upstream commit f8b0127aca8c60826e7354e504a12d4a46b1c3bb ] 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é Reviewed-by: Cezary Rojewski Acked-by: Pierre-Louis Bossart Link: https://msgid.link/r/20240228192807.15130-1-alban.boye@protonmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 797d0a48d6066..094445036c20f 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 = { -- 2.43.0