From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: "M R, Sathya Prakash" <sathya.prakash.m.r@intel.com>,
Evan Green <evgreen@chromium.org>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Mark Brown <broonie@kernel.org>
Cc: Rajat Jain <rajatja@chromium.org>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Takashi Iwai <tiwai@suse.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Ben Zhang <benzh@chromium.org>, "M, Naveen" <naveen.m@intel.com>
Subject: Re: [alsa-devel] [PATCH v1 1/2] ASoC: SOF: Add Comet Lake PCI ID
Date: Tue, 7 May 2019 08:37:22 -0500 [thread overview]
Message-ID: <ff778a2b-ee22-6223-199c-856da069f755@linux.intel.com> (raw)
In-Reply-To: <64FD1F8348A3A14CA3CB4D4C9EB1D15F30A7C756@BGSMSX107.gar.corp.intel.com>
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 <evgreen@chromium.org>; Liam Girdwood <liam.r.girdwood@linux.intel.com>; Mark Brown <broonie@kernel.org>
> Cc: M, Naveen <naveen.m@intel.com>; M R, Sathya Prakash <sathya.prakash.m.r@intel.com>; Ben Zhang <benzh@chromium.org>; Rajat Jain <rajatja@chromium.org>; Jaroslav Kysela <perex@perex.cz>; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; Takashi Iwai <tiwai@suse.com>; Liam Girdwood <lgirdwood@gmail.com>
> 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 <evgreen@chromium.org>
>> ---
>>
>> 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
>
next prev parent reply other threads:[~2019-05-07 13:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-06 22:53 [PATCH v1 0/2] ASoC: Intel: Add Cometlake PCI IDs Evan Green
2019-05-06 22:53 ` [PATCH v1 1/2] ASoC: SOF: Add Comet Lake PCI ID Evan Green
2019-05-07 1:40 ` Pierre-Louis Bossart
2019-05-07 3:34 ` M R, Sathya Prakash
2019-05-07 13:37 ` Pierre-Louis Bossart [this message]
2019-05-07 20:26 ` [alsa-devel] " Pierre-Louis Bossart
2019-05-07 20:51 ` Evan Green
2019-05-07 21:06 ` Pierre-Louis Bossart
2019-05-06 22:53 ` [PATCH v1 2/2] ASoC: Intel: Skylake: Add Cometlake PCI IDs Evan Green
2019-05-06 22:56 ` [PATCH v1 0/2] ASoC: Intel: " Evan Green
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff778a2b-ee22-6223-199c-856da069f755@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=benzh@chromium.org \
--cc=broonie@kernel.org \
--cc=evgreen@chromium.org \
--cc=lgirdwood@gmail.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=naveen.m@intel.com \
--cc=rajatja@chromium.org \
--cc=sathya.prakash.m.r@intel.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox