Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3757134yba; Tue, 7 May 2019 06:39:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCvLNn1GFntt20gOKxpmGs806a12Jc2FAlf+Pp9RNoon+286hg2ZAxp/GCQI0rqVQWauu0 X-Received: by 2002:a17:902:684b:: with SMTP id f11mr32262126pln.96.1557236341949; Tue, 07 May 2019 06:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557236341; cv=none; d=google.com; s=arc-20160816; b=Ry9fDkAUdgfauBYkD3/liDQd0moCAMdy6VRZif75afNFGkGc5fXOhvtoAFrU2+902/ E6VVrl+0pYEkgbkbejXOeKqBW0WKciXj9mZCNHeonYsuaMv707bfVIggZ0w4TmrOPn97 5OaS9EBOneC91GTrKxaZjf29HxrAKXTQzalL9zgj4CbELCBPdkYswU2nnqhJiQgcB0Mt /Vh3tkk8gbdzBFpezLYyglVrKvEwZQBZkojpC7ziW4u2lNdRLsDXlfUiKMYE4bw6B6c3 vaIO+0+GbKFN/0D9OQKn0U22IoDbhAh2o6q2F0BqYygiA3SMO47EimhXb9FO2XpNiBQz Giqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=0nfzHNT1SVoepvfPOuigtueZfor3mqpft7S0hGC7FbQ=; b=r2LiI3zWueSSIZxZCvCgbtJTm9MSccK4+hKbQqyUIZWG6fc+YeOzL06ugOS6oSHfxe GRF4idwviAYUgNjz+0VQfAwyYSy0SXw+1DOyjjmhSyD74d1U+j+5UL+6BUaDebo3epwA VLYDR6d1j6pBnEa3uWSngHDpbVS9gzdJbsQtVTpuEEvAe8I0OLsWP1v1o3M9xyAEyTdp SKOuuMNNUwyGgc0bD4X7suymqeC/puZLghx8Ok+jjgkQJpr6X2A3iHzZ4XFFExi38HNS Q0j3Ly7mTiCA7aw9mlgZztiQJDatzyUqn6dLpJEld5/veR316FH1mRbYaKG29+dnRqZD 5mcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z29si20596182pgl.584.2019.05.07.06.38.45; Tue, 07 May 2019 06:39:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbfEGNhZ (ORCPT + 99 others); Tue, 7 May 2019 09:37:25 -0400 Received: from mga04.intel.com ([192.55.52.120]:31717 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbfEGNhZ (ORCPT ); Tue, 7 May 2019 09:37:25 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 06:37:24 -0700 X-ExtLoop1: 1 Received: from asakoono-mobl.gar.corp.intel.com (HELO [10.251.159.132]) ([10.251.159.132]) by fmsmga005.fm.intel.com with ESMTP; 07 May 2019 06:37:23 -0700 Subject: Re: [alsa-devel] [PATCH v1 1/2] ASoC: SOF: Add Comet Lake PCI ID To: "M R, Sathya Prakash" , Evan Green , Liam Girdwood , Mark Brown Cc: Rajat Jain , "alsa-devel@alsa-project.org" , Liam Girdwood , Takashi Iwai , "linux-kernel@vger.kernel.org" , Ben Zhang , "M, Naveen" References: <20190506225321.74100-1-evgreen@chromium.org> <20190506225321.74100-2-evgreen@chromium.org> <74e8cfcd-b99f-7f66-48ce-44d60eb2bbca@linux.intel.com> <64FD1F8348A3A14CA3CB4D4C9EB1D15F30A7C756@BGSMSX107.gar.corp.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Tue, 7 May 2019 08:37:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <64FD1F8348A3A14CA3CB4D4C9EB1D15F30A7C756@BGSMSX107.gar.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/6/19 10:34 PM, M R, Sathya Prakash wrote: > > > -----Original Message----- > From: Pierre-Louis Bossart [mailto:pierre-louis.bossart@linux.intel.com] > Sent: Tuesday, May 7, 2019 7:11 AM > To: Evan Green ; Liam Girdwood ; Mark Brown > Cc: M, Naveen ; M R, Sathya Prakash ; Ben Zhang ; Rajat Jain ; Jaroslav Kysela ; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; Takashi Iwai ; Liam Girdwood > Subject: Re: [PATCH v1 1/2] ASoC: SOF: Add Comet Lake PCI ID > > > > On 5/6/19 5:53 PM, Evan Green wrote: >>> Add support for Intel Comet Lake platforms by adding a new Kconfig for >>> CometLake and the appropriate PCI ID. > >> This is odd. I checked internally a few weeks back and the CML PCI ID was 9dc8, same as WHL and CNL, so we did not add a PCI ID on purpose. To the best of my knowledge SOF probes fine on CML and the known issues can be found on the SOF github [1]. > > The PCI ID change is seen on later production Si versions. The PCI ID is 02c8. we must be talking about a different skew. I'll check, give me a couple of days. > >> Care to send the log of sudo lspci -s 0:1f.3 -vn ? > > Here you go: > localhost ~ # sudo lspci -s 0:1f.3 -vn > 00:1f.3 0401: 8086:02c8 > Subsystem: 8086:7270 > Flags: fast devsel, IRQ 11 > Memory at d1114000 (64-bit, non-prefetchable) [size=16K] > Memory at d1000000 (64-bit, non-prefetchable) [size=1M] > Capabilities: [50] Power Management version 3 > Capabilities: [80] Vendor Specific Information: Len=14 > Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+ > > > [1] > https://github.com/thesofproject/sof/issues?q=is%3Aopen+is%3Aissue+label%3ACML >> >> Signed-off-by: Evan Green >> --- >> >> sound/soc/sof/intel/Kconfig | 16 ++++++++++++++++ >> sound/soc/sof/sof-pci-dev.c | 4 ++++ >> 2 files changed, 20 insertions(+) >> >> diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig >> index 32ee0fabab92..0b616d025f05 100644 >> --- a/sound/soc/sof/intel/Kconfig >> +++ b/sound/soc/sof/intel/Kconfig >> @@ -24,6 +24,7 @@ config SND_SOC_SOF_INTEL_PCI >> select SND_SOC_SOF_CANNONLAKE if SND_SOC_SOF_CANNONLAKE_SUPPORT >> select SND_SOC_SOF_COFFEELAKE if SND_SOC_SOF_COFFEELAKE_SUPPORT >> select SND_SOC_SOF_ICELAKE if SND_SOC_SOF_ICELAKE_SUPPORT >> + select SND_SOC_SOF_COMETLAKE if SND_SOC_SOF_COMETLAKE_SUPPORT >> help >> This option is not user-selectable but automagically handled by >> 'select' statements at a higher level @@ -179,6 +180,21 @@ config >> SND_SOC_SOF_ICELAKE >> This option is not user-selectable but automagically handled by >> 'select' statements at a higher level >> >> +config SND_SOC_SOF_COMETLAKE >> + tristate >> + select SND_SOC_SOF_CANNONLAKE >> + help >> + This option is not user-selectable but automagically handled by >> + 'select' statements at a higher level >> + >> +config SND_SOC_SOF_COMETLAKE_SUPPORT >> + bool "SOF support for CometLake" >> + help >> + This adds support for Sound Open Firmware for Intel(R) platforms >> + using the Cometlake processors. >> + Say Y if you have such a device. >> + If unsure select "N". >> + >> config SND_SOC_SOF_HDA_COMMON >> tristate >> select SND_SOC_SOF_INTEL_COMMON >> diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c >> index b778dffb2d25..5f0128337e40 100644 >> --- a/sound/soc/sof/sof-pci-dev.c >> +++ b/sound/soc/sof/sof-pci-dev.c >> @@ -353,6 +353,10 @@ static const struct pci_device_id sof_pci_ids[] = { >> #if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE) >> { PCI_DEVICE(0x8086, 0x34C8), >> .driver_data = (unsigned long)&icl_desc}, >> +#endif >> +#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE) >> + { PCI_DEVICE(0x8086, 0x02c8), >> + .driver_data = (unsigned long)&cnl_desc}, >> #endif >> { 0, } >> }; >> > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > https://mailman.alsa-project.org/mailman/listinfo/alsa-devel >