From patchwork Tue Jul 10 18:16:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 141646 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4203241ljj; Tue, 10 Jul 2018 11:17:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfhE0maJxL7rF75FCASuJaX7rcSMHpGQkoYDzmwgZwdAERfWt8ukNZ5X0hYOHH4ZCYQ5n8u X-Received: by 2002:a1c:f415:: with SMTP id z21-v6mr3509410wma.80.1531246675165; Tue, 10 Jul 2018 11:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531246675; cv=none; d=google.com; s=arc-20160816; b=We2n1shipR6Jy7ncWfY7gWTTW50YQOeHnxb83I18siQ03O1OK4wm5HpADYTexVWGs8 BG82XaS57UOhVEW5KwUikY3G3216xcLssr02Z5V+qYtKkL2xED+vcmfVgsfQgEUq7D5p 0ppN6rd6a4up0HoiRzkI9VcQibA6YA+wHsZbHgEn+dReS2wdGaKbtgVZi2fDHx0H+uIa 2dWCQd1gEYlA9Zo5PkbBZb7X925gJCzlOUo+iWNqQeK0HknmHZsKGwWHGVd4qwm4/dvv KicJ4N1dwqMgA7eWqkCWpO5AMo23uZpM7iD2ccRq7qlc3tMI5dhHFdBnyQwwLoQS4aO6 ObbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=FCMaZXrQLnFUKsV1plJNRbfed5SIaQKtUZwMydUc35k=; b=cC6mUZWpi6ozpQpIVPyDrb1vugrMTpt0PX4t+Rxiv9LdiTpg7PndVBZC/WDRQYoY+Q hmFSqtbKHCCDKWZ4F8/K/KRIm46IiHUA9SriGRPxHTkW1thNEtUGb9lOyIywGVeDFVQX OtcMMCpKAF31PlV+HqBtO6xuGOksUnHZLvYYepRnfqQbq8yzte2I2kWTxq0wGU1vGXmJ Qzidz2qubOxENDbzrUUgTbQD+zlFvwlUUf6f6WsblPWhq+rFGBk8VpM825iPlAwXl1xA ecVVM7crSaLM2hRLObsRWf6IC2oxOtGSsqHQQQlhkFikvKEi/9c+a6Fr09jayvIEVRU5 sxmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Vk7nQaCB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id y3-v6si13392174wme.231.2018.07.10.11.17.54; Tue, 10 Jul 2018 11:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Vk7nQaCB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 00E2426776A; Tue, 10 Jul 2018 20:17:07 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C29CA267747; Tue, 10 Jul 2018 20:16:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 60593267736 for ; Tue, 10 Jul 2018 20:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=LxNYUl3UeUNu67SDc9RqHmsV91nSINPSOSqJdsa+myM=; b=Vk7nQaCBKeXN lEfUNpo3VMJ17gZddxoq88r2UqXomwh3LvREY2mWikEvmZOyaSAlJNOWEWtAu1HQvOhUQ364Wan6G Zm68LJ9hPp65P7A/+TgrANDv1sUdNq+ILilUeji8RPezrfI0N7GJSJ4Jz/3TvS2/2SNpSLR6y5KJB t+Jco=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fcxBw-00029z-2q; Tue, 10 Jul 2018 18:16:48 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fcxBv-0001nc-Kj; Tue, 10 Jul 2018 19:16:47 +0100 From: Mark Brown To: Hans de Goede In-Reply-To: <20180707102210.15633-1-hdegoede@redhat.com> Message-Id: Date: Tue, 10 Jul 2018 19:16:47 +0100 Cc: Oder Chiou , alsa-devel@alsa-project.org, russianneuromancer@ya.ru, Pierre-Louis Bossart , Liam Girdwood , Mark Brown , Bard Liao Subject: [alsa-devel] Applied "ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix2 8 tablet" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix2 8 tablet has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 81583afe790c5bd86300537783b23f3b12794f03 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 7 Jul 2018 12:22:10 +0200 Subject: [PATCH] ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix2 8 tablet Add a quirk for the Lenovo Miix2 8 tablet, this tablet uses a digital mic on DMIC1 and has a mono-speaker. The jack-detect uses the default settings.. Reported-and-tested-by: russianneuromancer@ya.ru Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- sound/soc/intel/boards/bytcr_rt5640.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.18.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 7456566c5648..657910a08261 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -552,6 +552,19 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { /* Lenovo Miix 2 8 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "20326"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "Hiking"), + }, + .driver_data = (void *)(BYT_RT5640_DMIC1_MAP | + BYT_RT5640_JD_SRC_JD2_IN4N | + BYT_RT5640_OVCD_TH_2000UA | + BYT_RT5640_OVCD_SF_0P75 | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_MCLK_EN), + }, { /* MSI S100 tablet */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."),