Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2104279iof; Tue, 7 Jun 2022 19:53:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOEOCNxOpGnAaUkV/1TeTJWFNDqPE20jLpFLWfR/Ng4h3DjVt6yPzV6DAynVYQFmwnTH2v X-Received: by 2002:a17:903:1205:b0:15e:804c:fab4 with SMTP id l5-20020a170903120500b0015e804cfab4mr32043524plh.112.1654656829051; Tue, 07 Jun 2022 19:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654656829; cv=none; d=google.com; s=arc-20160816; b=knEErfUWj3hshyC3Xa2FjHXqHHZRfTDi7cxnt9zwKRglAa32BP5V93VMTUE3tAN/KX 4ZOrmhw7qHu/AB8cZUjgNRhps29w4BbjN0ehN048oUJeAL84x4e04rccXKI3UNnMis48 Azx9zbjERORjB1VkpJ6MokWGBwZ1b7v/hxcrq+EcA8DJIzvpr3UL4hF2CBZ4hnbxUmhX 19YjjEECGiA3+PcbV+WsUVgaBnplTzrzh3RsBHPm8OAMMds1Iv4N9moZcwUHd3n91ul1 7aiZG7cAdd1juRVGmwMiN6X1Nn9VIHwu9ShG1cKtsC+uCxs3TqQXqC7gz16YvHtaHwvC B24g== 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=QvQGSJSQQvNqjVkjp7ow3sWtnkoZzqXQWrl2SuHuUzM=; b=klfO9Y5nxoPkDK7q+6lgs4Scns9ExDgYyyuUiNzO71gbOPDDuG0y9eWty7xVUy59eN sCSLZI/C0JVHNFESfqHMMLF2P5pvNpz+sGp7yeOWhRryD0hs4kKOi1kw05R++7awyvsO DckO/EWr/L9KtiqG+f/7CDORjwyW5q+W9xZCWBSN2tJTNirb7U40p4yX2XMgqFPRPgq5 Dt7nr96dWqctosIQ30o72Cc3QAa+DMsybBpKjmsWcfg8V07rp4hzjdJzFNUoUdZyYiVt 8tKLSguMb3sRmEJlo08uY2i1FFpwrHclo1jm+o4ltjO5pmpGZ6z1i7ShGGPYHNwOuNv9 O4ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=D6siFhso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f23-20020a170902ab9700b00153b2d165f6si24521311plr.510.2022.06.07.19.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 19:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=D6siFhso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BCFF227F44C; Tue, 7 Jun 2022 18:30:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381159AbiFGWSA (ORCPT + 99 others); Tue, 7 Jun 2022 18:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379974AbiFGVLV (ORCPT ); Tue, 7 Jun 2022 17:11:21 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37AA2217346; Tue, 7 Jun 2022 11:52:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 83BB6CE2424; Tue, 7 Jun 2022 18:52:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 735E2C385A2; Tue, 7 Jun 2022 18:52:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654627958; bh=lYHN3M9R/cWlaC8P7t69WHiCUtqTwEPDM2IyLMD+e50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D6siFhsoDZ3XsQcYQQ9EOHAgNHDQoyNuH/47vuBvduLd4yKPmApuqU9P+7HIgmvQS vUMWYIdMNvSh0k2e1TW2O3chOUCYcJyb7bGNCxlXI/V43YtfTEPKGsIy2Bu7Gk90mG o2DfU5mFJWciyInSum69Q6ZGXJLolaJTkKfNkzDk= 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.18 114/879] ASoC: Intel: bytcr_rt5640: Add quirk for the HP Pro Tablet 408 Date: Tue, 7 Jun 2022 18:53:52 +0200 Message-Id: <20220607165006.010992767@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit ce216cfa84a4e1c23b105e652c550bdeaac9e922 ] Add a quirk for the HP Pro Tablet 408, this BYTCR tablet has no CHAN package in its ACPI tables and uses SSP0-AIF1 rather then SSP0-AIF2 which is the default for BYTCR devices. It also uses DMIC1 for the internal mic rather then the default IN3 and it uses JD2 rather then the default JD1 for jack-detect. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211485 Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220427134918.527381-1-hdegoede@redhat.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index d76a505052fb..f81ae742faa7 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -773,6 +773,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_OVCD_SF_0P75 | BYT_RT5640_MCLK_EN), }, + { /* HP Pro Tablet 408 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pro Tablet 408"), + }, + .driver_data = (void *)(BYT_RT5640_DMIC1_MAP | + BYT_RT5640_JD_SRC_JD2_IN4N | + BYT_RT5640_OVCD_TH_1500UA | + BYT_RT5640_OVCD_SF_0P75 | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* HP Stream 7 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), -- 2.35.1