Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7235pxb; Wed, 24 Feb 2021 16:29:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQ2e22cBa7B1qPGmkx6g730FtdslT3oRX/ohdy1qotiydSM8ETt2aAzAUDkALYaYQLOevy X-Received: by 2002:a17:906:8147:: with SMTP id z7mr206892ejw.436.1614212976347; Wed, 24 Feb 2021 16:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614212976; cv=none; d=google.com; s=arc-20160816; b=Ifo71wHD2zJWrdetE+Zj6/1itccttFqZe9Sk/g6FApycF7ov8Iizrv7GKb31R+Msub M3KgcR+DTibrGwUcERosVWn3a4XuecFphIexP3ho+gHwup3RvSd+3zKH0ZfEoUI6KWUY 4PwX1r6kYG0ZZEyGbFXJ5B6eOJ1Em6cBnQufP/Z2ZoTodcgnK0kLtq8uciaYOgHUDKng ZqsPkBOEcyy1Xn6Ral5LG+IOaRK7sQdpS36d+PobAUVYwK3QOGw5j+upkVAOprKtN5r5 yN2Z9gjcmDf/V8A41UGuJ1BXFIbamRS8cxDSEAYlOFK9ZjAAsGCUxadYRMT7C2LRxdH1 zc0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+rCinquo4qb8yweQm9fALFu/nqqUrUJkUHYfCg+mMA4=; b=uzcVhu/Y3p/bVFMskNZo/t646DeZuCN4wRYfgOvl77yoE+JWn0UW0aMkQ+AVNwthl1 /yYekwQbdO4/PUIJxlwHHLJ2ZY0GcCejXatSg9GFdLRpMefzyb9hIt9ec5Zws4mdoZYP 3K9eWihuZERW8TcdMElg2ZD2sGxaL7K7DnK4HzB2NiIxlAPq4IcWtzd1h7sZk75jEJVZ GQFD/4NK65AN5W4EIWEge0P/uzrz2g7Faxq+sPZq6Nh2Tz/1SlPbPFBRguCIXc78FHU8 ph//5+RZo3Mhvm18Gj3LsGKjx4zxgGG47mpc1XarvxH2qPn1c41Sidjvr1P0C2wqvyr/ V46Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WspFSiJf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h28si2295789edj.309.2021.02.24.16.28.34; Wed, 24 Feb 2021 16:29:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WspFSiJf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238250AbhBXN7c (ORCPT + 99 others); Wed, 24 Feb 2021 08:59:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:58442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235809AbhBXNHT (ORCPT ); Wed, 24 Feb 2021 08:07:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E5F8664F91; Wed, 24 Feb 2021 12:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171270; bh=yY/LWCCB9oz5zPwA1cKgSr7pfn9MxzUcXxoEfnaq0IQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WspFSiJf+ensdXGrFvvxHlNslyt/JERSVk+j72gb4Rs0usMkxPf0V7V5cb2YdSfal VmD8K+nN2J6hSzlVyHIpc1+NEoXURovKj98ehIQze8amqXkKwWdazVVjwwWB4zs1qB Jw9TfGnCW8MxBdCLFBThMjFj+9N4AVFqpikgLyxW99dzoBgVimHuwApn3d7j8ZhEFj EUDqF8WRnBS6raT7CuQ9tatinUdI2kv73ny85nfE7usE1bNYTBn81u2VF/rkbXxAkc k98W9Qouxj552mmh0sLokquXpA6pMQ4Ls2mbyRHseLj2d6Mc7ExpzRI+RHkLF46Ek8 20moXpKqBoWrA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.4 38/40] ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet Date: Wed, 24 Feb 2021 07:53:38 -0500 Message-Id: <20210224125340.483162-38-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125340.483162-1-sashal@kernel.org> References: <20210224125340.483162-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit e1317cc9ca4ac20262895fddb065ffda4fc29cfb ] The Voyo Winpad A15 tablet uses a Bay Trail (non CR) SoC, so it is using SSP2 (AIF1) and it mostly works with the defaults. But instead of using DMIC1 it is using an analog mic on IN1, add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210216213555.36555-3-hdegoede@redhat.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index cdbc00c773386..00e8d589a7246 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -786,6 +786,20 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF2 | BYT_RT5640_MCLK_EN), }, + { /* Voyo Winpad A15 */ + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"), + DMI_MATCH(DMI_BOARD_NAME, "Aptio CRB"), + /* Above strings are too generic, also match on BIOS date */ + DMI_MATCH(DMI_BIOS_DATE, "11/20/2014"), + }, + .driver_data = (void *)(BYT_RT5640_IN1_MAP | + BYT_RT5640_JD_SRC_JD2_IN4N | + BYT_RT5640_OVCD_TH_2000UA | + BYT_RT5640_OVCD_SF_0P75 | + BYT_RT5640_DIFF_MIC | + BYT_RT5640_MCLK_EN), + }, { /* Catch-all for generic Insyde tablets, must be last */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Insyde"), -- 2.27.0