Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1105989rwb; Wed, 14 Dec 2022 06:39:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf4fgjsg8Klp2wEvq43FdUH97Ia9vEnUPu9bis4MT6CaQDN/Dwci1Yq3avoRtpAZhwbtJgv3 X-Received: by 2002:a17:906:2ad6:b0:7ae:31a0:571c with SMTP id m22-20020a1709062ad600b007ae31a0571cmr21590331eje.57.1671028753211; Wed, 14 Dec 2022 06:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671028753; cv=none; d=google.com; s=arc-20160816; b=nNLpVsmmbu48dAwvntVvwCQrLclTfVcgH0TSPREPQJTQXFPFxXTeilgrhXRY7m54nh cPwVeS0wuVLFr+NpluXCMD7i/cNDtthnLRJ0nlsrsnopNyCWUqtNuIX1DTu0PmdvRQGG LU8AkfHameMq10u1CIEpG9Dqe1Oo1FnUpYcHh+nC8ZzbjvD+oA0RDyaSxfbF025pX+Jm P9PodAjEEbXZdIg6LIG0Kg/M+wkXj+D1eIPbWMVWQsFc2J22uLBFyo0Pj7iN3z3jVGM2 CNzTc6AV3FTdYQdiaQ24yYldFtmh0UzMc/7yi7Pom5xKgSNgT56+xEPStMyw3Y8BlLAL qNWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XjQ9+iEDdWK4YUV2MkNMMSPY+6dCGyisElm+nvHdnj0=; b=TP1XInh+IzOzC/wbHdtcVs/ltM9zpoT2PqqIhE4NJrJvMN5/8vsWiZjPKApwiU28Z/ Itq/SGl2muexGmBTaMYO/nNl9qzJWX6I3m6Vr5V/7qPTYx1DwigSFwwj4xCzkD1Nqt2j NB02ffjZwcML8qRuL0Q9W5Pe90+XPjF7gRM+5LPxNQW0PVe2A7E3p8n8cOPapjIWcc9H fUnwRyrFyH1jbshjkPYiaIfLgOJoizktS3dWEG8GN1oml1TYdL80LmKRxzJMEE2pZgdN ODDsi6kZYSPSkaPwKdXc+a9m3TZxQn7ZcGl2L2JTq9zbji8/JyPtHE3LTKm/WLfifEoT +jAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nUVE+tJr; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a170906264a00b007c12e783651si8915366ejc.12.2022.12.14.06.38.55; Wed, 14 Dec 2022 06:39:13 -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=@intel.com header.s=Intel header.b=nUVE+tJr; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238265AbiLNOGu (ORCPT + 69 others); Wed, 14 Dec 2022 09:06:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbiLNOGs (ORCPT ); Wed, 14 Dec 2022 09:06:48 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC0D1E3EC for ; Wed, 14 Dec 2022 06:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671026807; x=1702562807; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=kRnzKDaifLMzk91f4ryWfcXJa4yv7M4AXVG0yIWndXw=; b=nUVE+tJrLi+MEBmCSnfHxzjjAMKKzFawzpDuz20KAF9S3+DSfLqhj0DL CaSllQO0NieFOK3JbuNkvlWMxkrE5ZcA3YUlnmaDli/VbAEZ6tDKaLMXu hDunpaDlBu4q+JANsnITYY3ii9qGzb9fRPbywrRI5G+AP8P5pCQeAlDVt EbwW/5aYHar53FX3T1HheTs4GvbltSn/42VplupUAe+Umk+Cv4/ScPN10 XCCrjWU9AdN6de3bJL6CxXIQA5WUhaLlNESYdn9njEV/HHbSeS9tRscWZ Eg+cPYLtkqtiWwzJq0fUUu6BS9jwx0z/YiqL2FMym4ZeQDHaEkdE98wwf A==; X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="318452723" X-IronPort-AV: E=Sophos;i="5.96,244,1665471600"; d="scan'208";a="318452723" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 06:06:31 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="681517232" X-IronPort-AV: E=Sophos;i="5.96,244,1665471600"; d="scan'208";a="681517232" Received: from gajular-mobl1.amr.corp.intel.com (HELO [10.213.160.14]) ([10.213.160.14]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 06:06:28 -0800 Message-ID: <08403fff-359b-b5f4-d039-18eeef660637@linux.intel.com> Date: Tue, 13 Dec 2022 13:04:41 -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 Cc: liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, hdegoede@redhat.com, oder_chiou@realtek.com, akihiko.odaki@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20221213173550.1567875-1-moisesmcardona@gmail.com> From: Pierre-Louis Bossart In-Reply-To: <20221213173550.1567875-1-moisesmcardona@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE 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 On 12/13/22 11:35, 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 Acked-by: Pierre-Louis Bossart > --- > 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."),