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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B47AAC433F5 for ; Wed, 1 Dec 2021 06:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239484AbhLAGrq (ORCPT ); Wed, 1 Dec 2021 01:47:46 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:40338 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbhLAGrn (ORCPT ); Wed, 1 Dec 2021 01:47:43 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 203281FD5B; Wed, 1 Dec 2021 06:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1638341062; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C6zzw9BF+MRMi3zStMRCZgT+Fb95rTPY1MyPvhOJ7Mw=; b=M/4NRopljqsULt58io1ZrNoupjq79hNYpOh2b4UAWfS9Q8VbVTQXv4bkOgmG9Y9KmzMKJM FGpbX8NQIEBU1I/8Jfgq4QTKcSH9WMwnELM8Tpv1ZP3kjmTC586UYzLkjU0mzMcmL6mdI4 wChDqr2jp2AjT9GhOgeI68LiF9LJOy0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1638341062; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C6zzw9BF+MRMi3zStMRCZgT+Fb95rTPY1MyPvhOJ7Mw=; b=l1de5IvUgdDfmwI1ZGOS8eUa/j5IFfvMsz1AC9xZcapcxg3S65Qan/9x3MCnNolyGiRHQL fjq9OV3W/6/aJmAQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 032B1A3B81; Wed, 1 Dec 2021 06:44:21 +0000 (UTC) Date: Wed, 01 Dec 2021 07:44:21 +0100 Message-ID: From: Takashi Iwai To: Pierre-Louis Bossart Cc: Brent Lu , alsa-devel@alsa-project.org, Hans de Goede , Bard Liao , linux-kernel@vger.kernel.org, Kai Vehmanen , Takashi Iwai Subject: Re: [PATCH] ALSA: hda: intel-dsp-config: add JasperLake support In-Reply-To: <4e0ec119-2b15-644d-9cab-b2e19b5c0e48@linux.intel.com> References: <20211201004628.1153763-1-brent.lu@intel.com> <4e0ec119-2b15-644d-9cab-b2e19b5c0e48@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 01 Dec 2021 03:32:39 +0100, Pierre-Louis Bossart wrote: > > > > On 11/30/21 6:46 PM, Brent Lu wrote: > > Add rules to select SOF driver for Jasper Lake systems if digital > > microphone is present or the system is a Chromebook. > > Thanks Brent, yes this is an oversight, we should have added this a long > time ago. > > I don't think however that this will apply on Takashi's for-next branch, > it'll conflict with the ALSA: intel-dsp-config: add quirk for JSL > devices based on ES8336 codec Actually it's for-linus branch, destined to 5.16-rc4. > +/* JasperLake */ > +#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE) > + { > + .flags = FLAG_SOF, > + .device = 0x4dc8, > + .codec_hid = "ESSX8336", > + }, > +#endif > > Do you mind rebasing and resending the update? Let's keep the ESS stuff > last as done in other platforms, and add your changes on top of this. Yes, please resubmit. I can merge and resolve the conflict in my side, but it's better to get a cleaner patch from the beginning. thanks, Takashi > > Thanks! > > > > > Signed-off-by: Brent Lu > > --- > > sound/hda/intel-dsp-config.c | 21 +++++++++++++++++++++ > > 1 file changed, 21 insertions(+) > > > > diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c > > index b9ac9e9e45a4..be47a1ca12b6 100644 > > --- a/sound/hda/intel-dsp-config.c > > +++ b/sound/hda/intel-dsp-config.c > > @@ -299,6 +299,27 @@ static const struct config_entry config_table[] = { > > }, > > #endif > > > > +/* Jasper Lake */ > > +#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE) > > + { > > + .flags = FLAG_SOF, > > + .device = 0x4dc8, > > + .dmi_table = (const struct dmi_system_id []) { > > + { > > + .ident = "Google Chromebooks", > > + .matches = { > > + DMI_MATCH(DMI_SYS_VENDOR, "Google"), > > + } > > + }, > > + {} > > + } > > + }, > > + { > > + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC, > > + .device = 0x4dc8, > > + }, > > +#endif > > + > > /* Tigerlake */ > > #if IS_ENABLED(CONFIG_SND_SOC_SOF_TIGERLAKE) > > { > > >