public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ALSA/PCI: add PantherLake audio support
@ 2024-06-12  6:47 Pierre-Louis Bossart
  2024-06-12  6:47 ` [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL Pierre-Louis Bossart
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pierre-Louis Bossart @ 2024-06-12  6:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, broonie, Bjorn Helgaas, linux-pci, Pierre-Louis Bossart

Add the PCI ID for PantherLake.

Since there's a follow-up patchset for ASoC, these 3 patches could be
applied to the ASoC tree. Otherwise an immutable branch would be
needed.

Pierre-Louis Bossart (3):
  PCI: pci_ids: add INTEL_HDA_PTL
  ALSA: hda: hda-intel: add PantherLake support
  ALSA: hda: intel-dsp-config: Add PTL support

 include/linux/pci_ids.h      | 1 +
 sound/hda/intel-dsp-config.c | 9 +++++++++
 sound/pci/hda/hda_intel.c    | 2 ++
 3 files changed, 12 insertions(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL
  2024-06-12  6:47 [PATCH 0/3] ALSA/PCI: add PantherLake audio support Pierre-Louis Bossart
@ 2024-06-12  6:47 ` Pierre-Louis Bossart
  2024-06-12 19:48   ` Bjorn Helgaas
  2024-06-12  6:47 ` [PATCH 2/3] ALSA: hda: hda-intel: add PantherLake support Pierre-Louis Bossart
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Pierre-Louis Bossart @ 2024-06-12  6:47 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, broonie, Bjorn Helgaas, linux-pci, Pierre-Louis Bossart,
	Péter Ujfalusi, Ranjani Sridharan, Bard Liao

More PCI ids for Intel audio.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 include/linux/pci_ids.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 942a587bb97e..0168c6a60148 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -3112,6 +3112,7 @@
 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
 #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
 #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
+#define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
 #define PCI_DEVICE_ID_INTEL_HDA_CML_R	0xf0c8
 #define PCI_DEVICE_ID_INTEL_HDA_RKL_S	0xf1c8
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] ALSA: hda: hda-intel: add PantherLake support
  2024-06-12  6:47 [PATCH 0/3] ALSA/PCI: add PantherLake audio support Pierre-Louis Bossart
  2024-06-12  6:47 ` [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL Pierre-Louis Bossart
@ 2024-06-12  6:47 ` Pierre-Louis Bossart
  2024-06-12  6:47 ` [PATCH 3/3] ALSA: hda: intel-dsp-config: Add PTL support Pierre-Louis Bossart
  2024-06-13 12:19 ` [PATCH 0/3] ALSA/PCI: add PantherLake audio support Takashi Iwai
  3 siblings, 0 replies; 9+ messages in thread
From: Pierre-Louis Bossart @ 2024-06-12  6:47 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, broonie, Bjorn Helgaas, linux-pci, Pierre-Louis Bossart,
	Péter Ujfalusi, Ranjani Sridharan, Bard Liao

One more PCI ID.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 sound/pci/hda/hda_intel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 3500108f6ba3..b33602e64d17 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2495,6 +2495,8 @@ static const struct pci_device_id azx_ids[] = {
 	{ PCI_DEVICE_DATA(INTEL, HDA_ARL_S, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) },
 	/* Arrow Lake */
 	{ PCI_DEVICE_DATA(INTEL, HDA_ARL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) },
+	/* Panther Lake */
+	{ PCI_DEVICE_DATA(INTEL, HDA_PTL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_LNL) },
 	/* Apollolake (Broxton-P) */
 	{ PCI_DEVICE_DATA(INTEL, HDA_APL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_BROXTON) },
 	/* Gemini-Lake */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] ALSA: hda: intel-dsp-config: Add PTL support
  2024-06-12  6:47 [PATCH 0/3] ALSA/PCI: add PantherLake audio support Pierre-Louis Bossart
  2024-06-12  6:47 ` [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL Pierre-Louis Bossart
  2024-06-12  6:47 ` [PATCH 2/3] ALSA: hda: hda-intel: add PantherLake support Pierre-Louis Bossart
@ 2024-06-12  6:47 ` Pierre-Louis Bossart
  2024-06-13 12:19 ` [PATCH 0/3] ALSA/PCI: add PantherLake audio support Takashi Iwai
  3 siblings, 0 replies; 9+ messages in thread
From: Pierre-Louis Bossart @ 2024-06-12  6:47 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, broonie, Bjorn Helgaas, linux-pci, Pierre-Louis Bossart,
	Péter Ujfalusi, Ranjani Sridharan, Bard Liao

Same recipes as LNL

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 sound/hda/intel-dsp-config.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index 537863447358..a7419d2e912e 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -543,6 +543,15 @@ static const struct config_entry config_table[] = {
 		.device = PCI_DEVICE_ID_INTEL_HDA_LNL_P,
 	},
 #endif
+
+	/* Panther Lake */
+#if IS_ENABLED(CONFIG_SND_SOC_SOF_PANTHERLAKE)
+	{
+		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
+		.device = PCI_DEVICE_ID_INTEL_HDA_PTL,
+	},
+#endif
+
 };
 
 static const struct config_entry *snd_intel_dsp_find_config
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL
  2024-06-12  6:47 ` [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL Pierre-Louis Bossart
@ 2024-06-12 19:48   ` Bjorn Helgaas
  2024-06-13 12:17     ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Bjorn Helgaas @ 2024-06-12 19:48 UTC (permalink / raw)
  To: Pierre-Louis Bossart
  Cc: alsa-devel, tiwai, broonie, Bjorn Helgaas, linux-pci,
	Péter Ujfalusi, Ranjani Sridharan, Bard Liao

On Wed, Jun 12, 2024 at 08:47:07AM +0200, Pierre-Louis Bossart wrote:
> More PCI ids for Intel audio.
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>

Change subject to match history:

  PCI: Add INTEL_HDA_PTL to pci_ids.h

It's helpful mention the places where this will be used in the commit
log because we only add things here when they're used in more than one
place.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

> ---
>  include/linux/pci_ids.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 942a587bb97e..0168c6a60148 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -3112,6 +3112,7 @@
>  #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
>  #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
>  #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
> +#define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
>  #define PCI_DEVICE_ID_INTEL_HDA_CML_R	0xf0c8
>  #define PCI_DEVICE_ID_INTEL_HDA_RKL_S	0xf1c8
>  
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL
  2024-06-12 19:48   ` Bjorn Helgaas
@ 2024-06-13 12:17     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2024-06-13 12:17 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Pierre-Louis Bossart, alsa-devel, broonie, Bjorn Helgaas,
	linux-pci, Péter Ujfalusi, Ranjani Sridharan, Bard Liao

On Wed, 12 Jun 2024 21:48:34 +0200,
Bjorn Helgaas wrote:
> 
> On Wed, Jun 12, 2024 at 08:47:07AM +0200, Pierre-Louis Bossart wrote:
> > More PCI ids for Intel audio.
> > 
> > Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> > Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
> > Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
> > Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> > Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
> 
> Change subject to match history:
> 
>   PCI: Add INTEL_HDA_PTL to pci_ids.h
> 
> It's helpful mention the places where this will be used in the commit
> log because we only add things here when they're used in more than one
> place.
> 
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>

OK, I corrected the subject at applying.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] ALSA/PCI: add PantherLake audio support
  2024-06-12  6:47 [PATCH 0/3] ALSA/PCI: add PantherLake audio support Pierre-Louis Bossart
                   ` (2 preceding siblings ...)
  2024-06-12  6:47 ` [PATCH 3/3] ALSA: hda: intel-dsp-config: Add PTL support Pierre-Louis Bossart
@ 2024-06-13 12:19 ` Takashi Iwai
  2024-06-13 14:16   ` Pierre-Louis Bossart
  3 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2024-06-13 12:19 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: alsa-devel, broonie, Bjorn Helgaas, linux-pci

On Wed, 12 Jun 2024 08:47:06 +0200,
Pierre-Louis Bossart wrote:
> 
> Add the PCI ID for PantherLake.
> 
> Since there's a follow-up patchset for ASoC, these 3 patches could be
> applied to the ASoC tree. Otherwise an immutable branch would be
> needed.
> 
> Pierre-Louis Bossart (3):
>   PCI: pci_ids: add INTEL_HDA_PTL
>   ALSA: hda: hda-intel: add PantherLake support
>   ALSA: hda: intel-dsp-config: Add PTL support

Applied now to for-next branch.

There were duplicated Reviewed-by tags by Peter as checkpatch
complained, so I removed the one. 


thanks,

Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] ALSA/PCI: add PantherLake audio support
  2024-06-13 12:19 ` [PATCH 0/3] ALSA/PCI: add PantherLake audio support Takashi Iwai
@ 2024-06-13 14:16   ` Pierre-Louis Bossart
  2024-06-13 14:22     ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Pierre-Louis Bossart @ 2024-06-13 14:16 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, broonie, Bjorn Helgaas, linux-pci



On 6/13/24 14:19, Takashi Iwai wrote:
> On Wed, 12 Jun 2024 08:47:06 +0200,
> Pierre-Louis Bossart wrote:
>>
>> Add the PCI ID for PantherLake.
>>
>> Since there's a follow-up patchset for ASoC, these 3 patches could be
>> applied to the ASoC tree. Otherwise an immutable branch would be
>> needed.
>>
>> Pierre-Louis Bossart (3):
>>   PCI: pci_ids: add INTEL_HDA_PTL
>>   ALSA: hda: hda-intel: add PantherLake support
>>   ALSA: hda: intel-dsp-config: Add PTL support
> 
> Applied now to for-next branch.
> 
> There were duplicated Reviewed-by tags by Peter as checkpatch
> complained, so I removed the one. 

Thanks Takashi, how do we proceed to get those changes into AsoC?

the first patch is a dependency for the patchset "[PATCH v2 0/5]
ASoC/SOF/PCI/Intel: add PantherLake support"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] ALSA/PCI: add PantherLake audio support
  2024-06-13 14:16   ` Pierre-Louis Bossart
@ 2024-06-13 14:22     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2024-06-13 14:22 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: alsa-devel, broonie, Bjorn Helgaas, linux-pci

On Thu, 13 Jun 2024 16:16:33 +0200,
Pierre-Louis Bossart wrote:
> 
> 
> 
> On 6/13/24 14:19, Takashi Iwai wrote:
> > On Wed, 12 Jun 2024 08:47:06 +0200,
> > Pierre-Louis Bossart wrote:
> >>
> >> Add the PCI ID for PantherLake.
> >>
> >> Since there's a follow-up patchset for ASoC, these 3 patches could be
> >> applied to the ASoC tree. Otherwise an immutable branch would be
> >> needed.
> >>
> >> Pierre-Louis Bossart (3):
> >>   PCI: pci_ids: add INTEL_HDA_PTL
> >>   ALSA: hda: hda-intel: add PantherLake support
> >>   ALSA: hda: intel-dsp-config: Add PTL support
> > 
> > Applied now to for-next branch.
> > 
> > There were duplicated Reviewed-by tags by Peter as checkpatch
> > complained, so I removed the one. 
> 
> Thanks Takashi, how do we proceed to get those changes into AsoC?
> 
> the first patch is a dependency for the patchset "[PATCH v2 0/5]
> ASoC/SOF/PCI/Intel: add PantherLake support"

ASoC tree needs to merge for-next branch from my sound.git tree.
Or vice versa, Mark sends a PR to sync the content.  (It should be
done more often, not only once per cycle, IMHO.)


thanks,

Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-13 14:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  6:47 [PATCH 0/3] ALSA/PCI: add PantherLake audio support Pierre-Louis Bossart
2024-06-12  6:47 ` [PATCH 1/3] PCI: pci_ids: add INTEL_HDA_PTL Pierre-Louis Bossart
2024-06-12 19:48   ` Bjorn Helgaas
2024-06-13 12:17     ` Takashi Iwai
2024-06-12  6:47 ` [PATCH 2/3] ALSA: hda: hda-intel: add PantherLake support Pierre-Louis Bossart
2024-06-12  6:47 ` [PATCH 3/3] ALSA: hda: intel-dsp-config: Add PTL support Pierre-Louis Bossart
2024-06-13 12:19 ` [PATCH 0/3] ALSA/PCI: add PantherLake audio support Takashi Iwai
2024-06-13 14:16   ` Pierre-Louis Bossart
2024-06-13 14:22     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox