Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7316337rwb; Mon, 12 Dec 2022 13:02:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7PqO/RSZU6bM/8Ulk8ZEW4P0SP6sUMCOd8AaA7anGTX6fa311liqubb2MoP4RuEKpcqnKU X-Received: by 2002:a17:906:4d95:b0:7c1:2980:7fd1 with SMTP id s21-20020a1709064d9500b007c129807fd1mr13750329eju.76.1670878941955; Mon, 12 Dec 2022 13:02:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670878941; cv=none; d=google.com; s=arc-20160816; b=bpgdqkTNwK3of+TH7ovbMfhp1DZy3f8MBDGcZZhu9WEZ3cLZWPAzjYv89m+D15uzS1 Sbr7aPg6BycWGh87xFxcUV/xhkavWVtebOQeHCawmpJi4N7qwy9X+//coF4WlcG0NOP5 NZjesAuajbcGQaTNZcZg3FFl2OLA0FPPWtBtlRixPa3r/L+K4BtuwUc2SmIYzgYO53mG PW0MUtKlJKJSTJBtWG2uvkPFwkq1M8iO7gcEkCHnpCOPv3UKSyPDqv+F2J9ZZeMNR5NG hfsMmZ2mbcIY1L4Q2SWAr6UIOOtQipSLm/EWJw70/v2ne2p851zXqxboZx6eUIw8K5VU 8vGA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=CKlgFL8VmX9JU/WhcQ2Bam3+gwPcuhRUKzrP4zlGwcY=; b=SJbQN8MzMBXIGnmHX8I8+lIM0okgsGSiKst/N7x334HY5cTU8hOan4NmJZYfkJHWGx 97eMbbrlwbg83StjuL4tGdZYjggGH/yJbS8Vnbn8i6DrXhwUH9XFZ1BYmDZgwN1Tbxce C9RbuYwghnuAyHtOUkrlPqlm4qRiQM7L9Z7gAyiatDWMM/JRmfRYOVGD4KMH3xm4Y/hd IqjkTmqCfMlu5Ha/9EDAaNAeYhve7+6NgxSFRN/DBL9sfFybBqob9Pna+DAOmNHPFyiZ EC889puHzCWbfJn2gwn1Me9ShyATzP0g5eOar4OpiKhauDseuvo5FW7lJGK7tgy0OuWb ltVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EVo9AbwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji7-20020a170907980700b0078df1c345dcsi8512852ejc.535.2022.12.12.13.02.02; Mon, 12 Dec 2022 13:02:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EVo9AbwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233272AbiLLU6o (ORCPT + 75 others); Mon, 12 Dec 2022 15:58:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233126AbiLLU6k (ORCPT ); Mon, 12 Dec 2022 15:58:40 -0500 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BC4817059 for ; Mon, 12 Dec 2022 12:58:39 -0800 (PST) Received: by mail-vs1-xe2d.google.com with SMTP id c184so12617833vsc.3 for ; Mon, 12 Dec 2022 12:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CKlgFL8VmX9JU/WhcQ2Bam3+gwPcuhRUKzrP4zlGwcY=; b=EVo9AbwGxKkXRl06t/oyFzhiEDDvPDnjq7bEhoFC1UvLE0eXBWduNjcjXmcqtiegsY EBPuaplnzrCjVPtHqECt2THPOz7rNFlF+79lSwX28DLvohCdhmeElI87scJfZ0M6m3hr ZsKD9BcFiJa10Z1pr2SqZxBwOZm70dNifd69pnluYqVLjUzWTuxvMigJKkGDwl3Cs8fk dopNQeCG6NXQpPSGxqqmbunqp8834/2ZhD+hvarvNqFTevyHxZyLlBMPVF4y9vakAFMa XXf//5zP3HDv4wMnDhw3a26mD2tuGowvQdymrwQJ9RTvMBUfrxycx3fM89bAYVRnvjNa U00w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CKlgFL8VmX9JU/WhcQ2Bam3+gwPcuhRUKzrP4zlGwcY=; b=lCgmmnuQmbJTZduKmbvUVAq+W6I5ECuPWyo4BNtPfYYHYuoo7syNt6YhaQL8c8PfX8 UhYL+begvdNtYiWnfx0AxpQQYkn/8herf6XGD7akn5TQ/B9FSmNCbN4DLm/Av+ssMNlW gZ+RxQ2SioqSgvUshXumS3Z0XL73l/Saitwno9NDq4Y7W+VYLVX+M5+nnGwfqv9E4dmN graiaAla6hGFTyyt2NDQKhvwo7p4vHoV7QxHDzQwt8Km6ic1xu3aldZHDjd9Q0vCLtAy mOWu6jHOn0O8p0RzsyvGC5zeT6KsHkpy3KCLPJuldh67eoaXb1AdVwHp509N8uptmJRV 6Krg== X-Gm-Message-State: ANoB5pmnaoE73wkiA3+dQ3BH24i+1YBZ/A782W0poEaOdWDNyvg8uazd /TlWibKBplzNUrjkgzP0wRjM4WgCSm6XHA== X-Received: by 2002:a05:6102:11f8:b0:3b2:f921:1761 with SMTP id e24-20020a05610211f800b003b2f9211761mr1291476vsg.1.1670878718615; Mon, 12 Dec 2022 12:58:38 -0800 (PST) Received: from lenovo-y720.. (097-101-018-014.res.spectrum.com. [97.101.18.14]) by smtp.gmail.com with ESMTPSA id f5-20020a9f2bc5000000b00419b8ef0435sm1489004uaj.25.2022.12.12.12.58.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 12:58:38 -0800 (PST) From: Moises Cardona To: broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org, Moises Cardona Subject: [PATCH] Add HP Stream 8 to bytcr_rt5640.c Date: Mon, 12 Dec 2022 15:58:35 -0500 Message-Id: <20221212205835.994911-1-moisesmcardona@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 The HP Stream 8 tablet is identical to the HP Stream 7 in terms of the PCB, with the exception of the added SIM Card Slot. Therefore, I'm submitting this patch which properly initializes the audio and enables the headphone jack to work, just like it does in the HP Stream 7. Signed-off-by: Moises Cardona --- sound/soc/intel/boards/bytcr_rt5640.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index fb9d9e271845..1d964b1ceff4 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -796,6 +796,17 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { /* HP Stream 8 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HP Stream 8 Tablet"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_JD_NOT_INV | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* I.T.Works TW891 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."), -- 2.37.2