Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1979545pxb; Fri, 5 Mar 2021 04:40:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8RorzFt3ecguFmSWCFNcXvyMA1FTL6MKTY05FdkjQQL3u4j7hb+fYlwUXQfELqmJoQACn X-Received: by 2002:a17:906:1712:: with SMTP id c18mr2077080eje.417.1614948001889; Fri, 05 Mar 2021 04:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614948001; cv=none; d=google.com; s=arc-20160816; b=A7dIGIoEc64joFo1PMywPeSIWGvlVZNP+SAvUqpm3Y1X7H5YGXxbGUCNe9TptsrZwq 5trcu6Qbcm7xQYRRvDD7569vLWDam94bDMkpmmUY2mESEwMyfqiimlrG8CQFw6TLjqTo 6TED46EauBoqYj1Rwd0iJ6OZc8YAsXlYt5MMnPGFS/2Z87pjW73wHc+NOVSQw56EQKx6 8e2SaY4YjEDKep3FMP/JK53BEKil7IIARWC+hnIj/r1kKKSTrvomWP9g1XcvA0v1FqhX mjlcl8av57YfH6aVVdqZTuODzsXE76uc/BrOvP51yR//9SGTfRrt81CtK/adZMhpvEjz P3ng== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=O+OsfYjIdjh4SdWZf/Mq5PawTUE22uzVWzALtz9/Omo=; b=Rm7VG+6MK+bWreT+NL/d+78cYeQO9y98rF+K0Em+HmX5kEpMvU89KFjGAbKBxIwqSp XkMwl+rkxokuzGzPO3ls3LXHpSETQIpdPnRUExqdA/X7kr0LBRX347FmwzLgJ8u06fcV smLAVz9XWahRIwyEJ0CAV28SnikOlCx1MwjHbLQHcljkXTdYEH/C9Ji80Nz0OucX7F8H IGVv88KmpZ6ZXDbddyE/1f/0RDMbWducd3IU+6GmmSpBdU38Mx9KHh9zitbpQXlLKEp8 pZUrQcW7k7TxcfrGwfNRekpWg/wp0Y3VfmrJ465IdejzDHqbMgKPxhs2qOIBMrGZFRXl IGrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ucJogOdn; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ot6si1244910ejb.337.2021.03.05.04.39.38; Fri, 05 Mar 2021 04:40:01 -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=@linuxfoundation.org header.s=korg header.b=ucJogOdn; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232698AbhCEMin (ORCPT + 99 others); Fri, 5 Mar 2021 07:38:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:50978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232005AbhCEMhp (ORCPT ); Fri, 5 Mar 2021 07:37:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DEB7D65004; Fri, 5 Mar 2021 12:37:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947864; bh=ilO/xNqsOcCX7Cms4TpczYCrbu0BtTE+nRX7LeCQJDw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ucJogOdn/oJkBk2KWcz8rBKc5YJJC/2F7Jr/C0TkdxvouPfJQyLYWr77N61sXl1qt rBZSIQml9U97eEfWcMov5B1E7rpH2zocDbpZBv1h1jO1sr3VTGwgjiDOWgn6I9ICEC bVca1nBr0Yu9ul8slY1Vfa6m2OffdOHw7jcgwoyw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 4.19 40/52] ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet Date: Fri, 5 Mar 2021 13:22:11 +0100 Message-Id: <20210305120855.630069471@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120853.659441428@linuxfoundation.org> References: <20210305120853.659441428@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 4dd1941d4147..910214ab140e 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.30.1