Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF3C0C4332F for ; Tue, 13 Dec 2022 17:12:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A2E241820; Tue, 13 Dec 2022 18:11:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A2E241820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670951564; bh=fQP+BjhNFT3BqlDV0nTdGuINJHRhucGEciK68jv0ucY=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=KKeltmdFQiIc4goypIQ52ICi803kdEWS1jSvPJa9xCn1UgGQOf6u3c19UWCsdOQKJ eL727fvzchJ19LZdxOVvC37mLhzhSY8hmn66Svdo2VmUC0X4aZykPEQPdekD+H7oDL wGypDQlmvOs5QUgZY8Php2EZ7X5XgnT6xxItwnJA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3E89AF804D6; Tue, 13 Dec 2022 18:11:54 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8F740F804E2; Tue, 13 Dec 2022 18:11:53 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 13069F8047D for ; Tue, 13 Dec 2022 18:11:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 13069F8047D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ddhTyPLJ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670951512; x=1702487512; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=fQP+BjhNFT3BqlDV0nTdGuINJHRhucGEciK68jv0ucY=; b=ddhTyPLJO5LZyBelTVGw8ZV3mhkYPMhXX3u4OJ/FXFAKlD0X++EUSwcb bJAj1CDhNVwXbkvXPmm5tonI8B95zN6Q9YVqVxwXuC6WfR1zQNcYND4RU HKE2V5AFFRgLW0It/DsISJN4CbVhn/ke7q7bPOpq8fuLg9TGwrIN67hs0 lvNmElwXR0BzSci3NwGhYmTJCEBtLn1WddR4jKuLQz/AfXDbA8XHsw1X8 I9oXNw/QBAw81LuhPevmGa+yyvBmRkMQIvBfPYIuFNFv9rrAL4RZln35E gZzdilFItGbtdhOgs9tltylX8sBEZxMAT/UibqYw7JCLjMCNeXk77Qs7O g==; X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="316886154" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="316886154" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 09:09:22 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="648638324" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="648638324" Received: from lvalluri-mobl.amr.corp.intel.com (HELO [10.212.67.174]) ([10.212.67.174]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 09:09:20 -0800 Message-ID: <39917bce-3e2b-2768-665e-ddb098c70c81@linux.intel.com> Date: Tue, 13 Dec 2022 11:09:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH] Add HP Stream 8 to bytcr_rt5640.c Content-Language: en-US To: Moises Cardona , cezary.rojewski@intel.com References: <20221213115950.998113-1-moisesmcardona@gmail.com> From: Pierre-Louis Bossart In-Reply-To: <20221213115950.998113-1-moisesmcardona@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: ALSA Development Mailing List , kai.vehmanen@linux.intel.com, ranjani.sridharan@linux.intel.com, Takashi Iwai , liam.r.girdwood@linux.intel.com, Hans de Goede , Mark Brown , peter.ujfalusi@linux.intel.com Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" You need to resubmit and CC Mark Brown, Takashi Iwai, the alsa-mailing list and Hans de Goede On 12/13/22 05:59, Moises Cardona wrote: > 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."),