Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2151074iof; Tue, 7 Jun 2022 21:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwGT6p7oGg6emGyBsk9QPvtz6KXw+Zd5a7yjLiVcmt0HxFNbj4gv/ydxgKYMadbAAwUASP X-Received: by 2002:a63:1819:0:b0:3fd:ac29:e9e9 with SMTP id y25-20020a631819000000b003fdac29e9e9mr13260157pgl.171.1654662462878; Tue, 07 Jun 2022 21:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654662462; cv=none; d=google.com; s=arc-20160816; b=gXr4nR2NXe5Avnuc77crOx6o6YB02MkPGTVC/kVHAgIIP4JzX/nmDfu6HEHhmuEPdn K9nHtqnygt9jMqzaVveq1uk81OIBDMzaW58Wq+Cuylq1Jxl8z5UQ5kvmh8x+4TCfSLyx cIsIKLpmyu4llSFQbe/aj7Vn5FPJ4YNDCsHrh3Jps8J/VBjBsZj2V6MBj3Kubw980+/7 NUA27dIq4bYZa3+9to5K06mypngMGNtLU1RJBwt50G02brbYf2qJQZ+6kG+NdY+jh9Nx ZyIkaozplVfLauuBLWTbHn3ff4+R9kgFgEn2WVXZELTyXHVmJwPSZvCTLUyNJFIWtTkP 9baQ== 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=lAYEwaOFroIYsa2aTWqlVwiD2u1XrrUCmooVUfqhmvU=; b=ta1lxigYxBIsvipp+gL8IGfPEG/Y1otDyL7t18xszKhCq+5XbXenfzOOmK9d/rilr2 rum5wCAOQj6jWyBp57Z2uDrVg20bCExwmZaxyyZ4WFQwvyHcQikINPz4NRs7YL+leYJD E4YbPtjEG365HN4nMmEcHdU50qYZZ4qiDzxhs7Kcr/rThOGs+LQ26VxOp/qtiFW3uYpc uBxBiXGGq1eftVkwLf3aJJ7x5CSZcIVdTLW8AV/mzrZQ+ZDwXnRbHclIgcAklQDa7cxY THc2au+vSRAnB4IOd8mqzIWFw1in5QYnNj1asESEiTutmsfvFjcgPs1rbGiqO9tfKgIS l55g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=f01gRDds; 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 nb9-20020a17090b35c900b001e012a01ddcsi22991632pjb.28.2022.06.07.21.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:27:42 -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=f01gRDds; 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 C91982424A4; Tue, 7 Jun 2022 20:57:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344856AbiFGRXF (ORCPT + 99 others); Tue, 7 Jun 2022 13:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346124AbiFGRUb (ORCPT ); Tue, 7 Jun 2022 13:20:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 029CF1053CB; Tue, 7 Jun 2022 10:20:31 -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 ams.source.kernel.org (Postfix) with ESMTPS id AA81FB82239; Tue, 7 Jun 2022 17:20:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 010E3C385A5; Tue, 7 Jun 2022 17:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654622428; bh=J11CO3pogeGFoR+jzuE6Z5/TLYchrXLjnu5sq2WeMEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f01gRDdshMmKcnEcGTdDtLg0JFehACtsOMNqcgtK2dHLyrLfhHyL8RzMK+jSbgA0m sRtpMBSr1LK0flBsPEaP27XVbvFY+RhwWpxTk+25RQdVpz1kJbwJyY2Ic8uR7xd50O cznr3BxwSPqOL80Lzs/xFcVwqI8If7IDi7LrBOwI= 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.10 054/452] ASoC: Intel: bytcr_rt5640: Add quirk for the HP Pro Tablet 408 Date: Tue, 7 Jun 2022 18:58:31 +0200 Message-Id: <20220607164910.158352775@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@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 43ee3d095a1b..3020a993f6ef 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -615,6 +615,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