Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1978559pxb; Fri, 5 Mar 2021 04:38:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1BYO/puVKDGhmazAcN4bqQNpRXtdQxcyn1/CSB7jQXsuMbT1V/cuiR3xuK2bkrPF20uvR X-Received: by 2002:a17:906:a44:: with SMTP id x4mr2018159ejf.101.1614947905878; Fri, 05 Mar 2021 04:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947905; cv=none; d=google.com; s=arc-20160816; b=pTgnVbAQzq4QGmoIVrizpQp6PYnpGZwtP+i/Yee9qM3iRXvMjzZsLBUjA4OiXTCEFI Q5SX39PaZnEW9VGADhhPF+rQenP1Gaq5m5MKk49odcfmfHhq6fKxsPvbmSs6yy7zqNRr H8s53jYUtRjenVrkDMCf+hgKun500yhZ097TF+kVtqMh+COTJ4X7JAfh1yWlF5uEEFtJ 0jxLT7cMWXIRbdq60mA/hfuoeymi1S+zviBItJt7fw3ETQ5z1O5qyVulDLZq3dRdl+Jt riBtE4ecEUI+WVU/DQ+kXwpUFyx/6aaHD47UtJE6te1PU4zKA6968HRrHv4ORBvGjbNd iQ5w== 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=cvRESr/n2EaunxS7g4waM1pZR2KgujyhQGIFSPGHG/g=; b=qKL7qkwzG4GX4GQhT62jua4L1H/X221inAOg5ptsz8aag2LkD4HgwtSVmyfiCtVjTL osNnEIvswSID7DRFFTy9dPQ7tBeWj06DAYnkmJn+tLUlsbCwRisiL8LPhrdUg+zIsziC 8z+lcQo5dBARSOzarhiySERk2ZVEmPxn2f1nG2LW8FHaQQhK0QBZp0ji5WF+qG3wCgUs q4EiXY0EthLVJWjU2E3cETrvfgbvDGrJf2HSDPWXA5HEcJzDlDne/L98ndas7uJrnRWj Yt4I0eWrnNnG8kyDtT/H/19KhWT7OtrAPkYGYO2Fd+yyZ1dOcWdd8XAUksdzQRa2ZB7L RSGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="bDx37/jF"; 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 ka21si1256397ejc.655.2021.03.05.04.38.02; Fri, 05 Mar 2021 04:38:25 -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="bDx37/jF"; 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 S232856AbhCEMgY (ORCPT + 99 others); Fri, 5 Mar 2021 07:36:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:48414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232140AbhCEMf6 (ORCPT ); Fri, 5 Mar 2021 07:35:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 638B56501A; Fri, 5 Mar 2021 12:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947758; bh=Ax2RWthM+dUYGnB/4pwieWTmDFhKHQGHHoOdPjPSxQA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bDx37/jFho65FzI7IAdC3FirBYF3uNFtbrgmoh1/W7x0rvIMKtCh19ZdWJYdZ6KUb MkYyvbx+s+Anu7Jx0by69oq+aLCCmTo88CWt2cRRgp1kdaCEtxChBLEMdL18Z83HPE 0Il+Ks1PEh3oyBsmdOb36yNvhIE3tocOR9ro5ymk= 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 5.4 58/72] ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet Date: Fri, 5 Mar 2021 13:22:00 +0100 Message-Id: <20210305120900.184420643@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@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 cdbc00c77338..00e8d589a724 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.30.1