From mboxrd@z Thu Jan 1 00:00:00 1970 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 EE29C5B1E8; Tue, 26 Dec 2023 00:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DmSKoEag" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9732DC433C7; Tue, 26 Dec 2023 00:24:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703550289; bh=AIlsXCwwqpTsj9Uig8XLmfard/AfzcW2z7U6xSLpS78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DmSKoEagWa+AXkGj6vRam6di+amOFjQeY0a5kbkvN1rtd1tQiS+60FT5KZz3n/8hm YEubwiIqw6WffRjGFqcKgtbcj7IN0f/kvxk/MG8MmtVIGKsso/M7Xu+EryhWpWLgnn wyDoxxy9/wQHzeLd5AHAOBLivsE/X9r/6l4DIVtFmxIjyMzBgg7ueOJjNUzf0duagD /X6hhpmb+T/Rb8S5c1VfsHLdDbMEJNuR4trttRGBn9j9PJ/Dh5hlpLf2RMggcdwGi/ PR1S1HoPJYlXffLaFq66++z/9dkfgW5ku4koI0zBjN/ZQqiH2vPSvNhGQ2D3f8K/9R FrIsipK7J93xQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, u.kleine-koenig@pengutronix.de, andriy.shevchenko@linux.intel.com, kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 09/11] ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346 Date: Mon, 25 Dec 2023 19:23:58 -0500 Message-ID: <20231226002420.6303-9-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231226002420.6303-1-sashal@kernel.org> References: <20231226002420.6303-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.145 Content-Transfer-Encoding: 8bit From: Hans de Goede [ Upstream commit 99c7bb44f5749373bc01b73af02b50b69bcbf43d ] Add a quirk for the Medion Lifetab S10346, this BYTCR tablet has no CHAN package in its ACPI tables and uses SSP0-AIF1 rather then SSP0-AIF2 which is the default for BYTCR devices. Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://msgid.link/r/20231217213221.49424-1-hdegoede@redhat.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 4df1be8170bb6..49dfbd29c5451 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -870,6 +870,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { + /* Medion Lifetab S10346 */ + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"), + DMI_MATCH(DMI_BOARD_NAME, "Aptio CRB"), + /* Above strings are much too generic, also match on BIOS date */ + DMI_MATCH(DMI_BIOS_DATE, "10/22/2015"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* Mele PCG03 Mini PC */ .matches = { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Mini PC"), -- 2.43.0