Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp439972pxb; Wed, 24 Feb 2021 06:20:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxX1UBP2SJbEQA5qp3B64W0GY5uWfAiwfrh6radyfBtY1T0+Q3FAdmN7UB0qOP9OLZE8h2H X-Received: by 2002:aa7:c314:: with SMTP id l20mr21588578edq.148.1614176454249; Wed, 24 Feb 2021 06:20:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614176454; cv=none; d=google.com; s=arc-20160816; b=NOOiHA7MAv8bueEzW4B7Yn622jAxQhfrRvT3XFUknMrzMUjmYM/VT74pelERaOfTeO T+FlZyAyjSsIr2nbxFZvo0FO4fU24aCHmeAjMlSu6e2izmNB7IHt00FLPpAY56V2mZo/ 45+2hNZXk1MG4YjmuJYSvJYps6CYmwdhLEr7KFKHv1ALl0+DTak0xNmm9ij9O+XFyyFT DxQg3/YarpLr7EbFqzVtA2UwA5XjqHtlfYsgO/0Lemma1knh6VkspFoDwYQssGF55s0A DCyrN31oPtQizEnuMJJUep2w62292J0dyyACNH9/ZP4yaLNJvYULheVmwxmdu0vfwmEk PeHA== 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=eq++Mr7GR73e5GVOk8I1UD/XsmIG1e2/yADm2ON5uKU=; b=SFaEkIaLaZX0TYBg/vPdR+Nyg8catsUGgLUqop0sd5wHW3H/H+BLW2Sg4B26lpcHSe RmlRJ8KA+sgr3ZDv9N2q+w8eBvjo8ecIv3sLBtcMBCc10Mb+dxBOaDp5T5r8qBH89LKC GlN5heVt/1JXqxS/8+tFvsa5h83tvwZVCGcIu+Bf9EK161deBHVmxfXsFOWzFsc+lX6l +4k8F68ik3DUxjPLxS9Frpzi0mEbRaOUdCgkJfO/5WdYcrl9hx0umFaEll+hneqq9pq7 h2WG0s7gZpJ2Uq2k5ZHPbhEPAgEGQfwE5Z4PCawc0lpNzj1qKI3+mJSBKF0NPQtFA0Lg Pdpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="r/AmuUTQ"; 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 o22si1417104ejr.7.2021.02.24.06.20.11; Wed, 24 Feb 2021 06:20:54 -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="r/AmuUTQ"; 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 S236250AbhBXOQC (ORCPT + 99 others); Wed, 24 Feb 2021 09:16:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:59336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234555AbhBXNKf (ORCPT ); Wed, 24 Feb 2021 08:10:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C451364F1E; Wed, 24 Feb 2021 12:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171307; bh=2u+q0IhHh9oilwn1BL6+Y8lollymunJeI3w2Ni3/jac=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r/AmuUTQ5renL2MPv/GThBLLG1SBz9uehtkd69bNrV8EFHariBr0vP7YXayeqW8ue bcNVgaQLe7/aPwXVGMo6VOIFmAMW1tq6DRCf2iEd0OZQWw62YRmq6WfOkIlAHLRdbQ bVRAF50NTNE69c9vnm8iEjBRMnEPjDG+OrB1fF6OT9TULhhff2ozklCMvLk3Gd11RC jKonFwV2T2RrMRjDLbvIZUmJUxa5keWCqiRV/G+dtn1DU3sjWlRFZha1TrDeLmQtwG OPIDD9efFjZBZuOKkO7uef3w+LJWNB1L2xGZC2XmLsrWPfNrWV7rSm/zyymgYAS4cy kwota0PjtTQbw== 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 4.19 25/26] ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet Date: Wed, 24 Feb 2021 07:54:33 -0500 Message-Id: <20210224125435.483539-25-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125435.483539-1-sashal@kernel.org> References: <20210224125435.483539-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 4dd1941d4147f..910214ab140e5 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -756,6 +756,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