mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter
@ 2022-02-18  8:27 Brent Lu
  2022-02-18  8:33 ` Lu, Brent
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Brent Lu @ 2022-02-18  8:27 UTC (permalink / raw)
  To: alsa-devel
  Cc: Pierre-Louis Bossart, Liam Girdwood, Ranjani Sridharan,
	Kai Vehmanen, Daniel Baluta, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, sound-open-firmware, linux-kernel, Ajye Huang,
	Brent Lu

From: Ajye Huang <ajye_huang@compal.corp-partner.google.com>

The Felwinter uses four max98360a amplifiers on corresponding CH0~CH3.
There are four amps on the board connecting to headphone to SSP0 port,
amp to SSP1,and the DAI format would be DSP_A,8-slots, 32 bit slot-width.

CH0: L(Woofer), CH1:R(Woofer), CH2:L(Tweeter), CH3:R(Tweeter)

Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
---
 sound/soc/sof/sof-pci-dev.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c
index 20c6ca37dbc4..61f2afd54c3e 100644
--- a/sound/soc/sof/sof-pci-dev.c
+++ b/sound/soc/sof/sof-pci-dev.c
@@ -67,6 +67,14 @@ static const struct dmi_system_id sof_tplg_table[] = {
 		},
 		.driver_data = "sof-adl-max98390-ssp2-rt5682-ssp0.tplg",
 	},
+	{
+		.callback = sof_tplg_cb,
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Brya"),
+			DMI_MATCH(DMI_OEM_STRING, "AUDIO_AMP-MAX98360_ALC5682VS_I2S_2WAY"),
+		},
+		.driver_data = "sof-adl-max98360a-rt5682-2way.tplg",
+	},
 
 	{}
 };
-- 
2.25.1


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

* RE: [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter
  2022-02-18  8:27 [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter Brent Lu
@ 2022-02-18  8:33 ` Lu, Brent
  2022-02-18 18:07 ` Pierre-Louis Bossart
  2022-02-21 15:24 ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Lu, Brent @ 2022-02-18  8:33 UTC (permalink / raw)
  To: alsa-devel
  Cc: Pierre-Louis Bossart, Liam Girdwood, Ranjani Sridharan,
	Kai Vehmanen, Daniel Baluta, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, sound-open-firmware, linux-kernel, Ajye Huang

> 
> The Felwinter uses four max98360a amplifiers on corresponding CH0~CH3.
> There are four amps on the board connecting to headphone to SSP0 port, amp
> to SSP1,and the DAI format would be DSP_A,8-slots, 32 bit slot-width.
> 
> CH0: L(Woofer), CH1:R(Woofer), CH2:L(Tweeter), CH3:R(Tweeter)
> 
> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
> Signed-off-by: Brent Lu <brent.lu@intel.com>

Already merged on SOF tree:
https://github.com/thesofproject/linux/pull/3271


> ---
>  sound/soc/sof/sof-pci-dev.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c index
> 20c6ca37dbc4..61f2afd54c3e 100644
> --- a/sound/soc/sof/sof-pci-dev.c
> +++ b/sound/soc/sof/sof-pci-dev.c
> @@ -67,6 +67,14 @@ static const struct dmi_system_id sof_tplg_table[] = {
>  		},
>  		.driver_data = "sof-adl-max98390-ssp2-rt5682-ssp0.tplg",
>  	},
> +	{
> +		.callback = sof_tplg_cb,
> +		.matches = {
> +			DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Brya"),
> +			DMI_MATCH(DMI_OEM_STRING, "AUDIO_AMP-
> MAX98360_ALC5682VS_I2S_2WAY"),
> +		},
> +		.driver_data = "sof-adl-max98360a-rt5682-2way.tplg",
> +	},
> 
>  	{}
>  };
> --
> 2.25.1


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

* Re: [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter
  2022-02-18  8:27 [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter Brent Lu
  2022-02-18  8:33 ` Lu, Brent
@ 2022-02-18 18:07 ` Pierre-Louis Bossart
  2022-02-21  6:41   ` Lu, Brent
  2022-02-21 15:24 ` Mark Brown
  2 siblings, 1 reply; 5+ messages in thread
From: Pierre-Louis Bossart @ 2022-02-18 18:07 UTC (permalink / raw)
  To: Brent Lu, alsa-devel
  Cc: Ajye Huang, Kai Vehmanen, Liam Girdwood, linux-kernel,
	Takashi Iwai, Ranjani Sridharan, Mark Brown, Daniel Baluta,
	sound-open-firmware



On 2/18/22 02:27, Brent Lu wrote:
> From: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
> 
> The Felwinter uses four max98360a amplifiers on corresponding CH0~CH3.
> There are four amps on the board connecting to headphone to SSP0 port,
> amp to SSP1,and the DAI format would be DSP_A,8-slots, 32 bit slot-width.
> 
> CH0: L(Woofer), CH1:R(Woofer), CH2:L(Tweeter), CH3:R(Tweeter)
> 
> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
> Signed-off-by: Brent Lu <brent.lu@intel.com>

This patch is already in the SOF tree and for some reason I didn't send
it, sorry about the delay.

Here are the tags we collected during the reviews.

Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

> ---
>  sound/soc/sof/sof-pci-dev.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c
> index 20c6ca37dbc4..61f2afd54c3e 100644
> --- a/sound/soc/sof/sof-pci-dev.c
> +++ b/sound/soc/sof/sof-pci-dev.c
> @@ -67,6 +67,14 @@ static const struct dmi_system_id sof_tplg_table[] = {
>  		},
>  		.driver_data = "sof-adl-max98390-ssp2-rt5682-ssp0.tplg",
>  	},
> +	{
> +		.callback = sof_tplg_cb,
> +		.matches = {
> +			DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Brya"),
> +			DMI_MATCH(DMI_OEM_STRING, "AUDIO_AMP-MAX98360_ALC5682VS_I2S_2WAY"),
> +		},
> +		.driver_data = "sof-adl-max98360a-rt5682-2way.tplg",
> +	},
>  
>  	{}
>  };

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

* RE: [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter
  2022-02-18 18:07 ` Pierre-Louis Bossart
@ 2022-02-21  6:41   ` Lu, Brent
  0 siblings, 0 replies; 5+ messages in thread
From: Lu, Brent @ 2022-02-21  6:41 UTC (permalink / raw)
  To: Pierre-Louis Bossart, alsa-devel
  Cc: Ajye Huang, Kai Vehmanen, Liam Girdwood, linux-kernel,
	Takashi Iwai, Ranjani Sridharan, Mark Brown, Daniel Baluta,
	sound-open-firmware

> 
> This patch is already in the SOF tree and for some reason I didn't send it, sorry
> about the delay.
> 
> Here are the tags we collected during the reviews.
> 
> Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> 

Ok. Let me send a v2 patch.

Brent


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

* Re: [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter
  2022-02-18  8:27 [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter Brent Lu
  2022-02-18  8:33 ` Lu, Brent
  2022-02-18 18:07 ` Pierre-Louis Bossart
@ 2022-02-21 15:24 ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-02-21 15:24 UTC (permalink / raw)
  To: alsa-devel, Brent Lu
  Cc: linux-kernel, Kai Vehmanen, Jaroslav Kysela,
	Pierre-Louis Bossart, Ranjani Sridharan, Ajye Huang,
	Takashi Iwai, Liam Girdwood, Daniel Baluta, sound-open-firmware

On Fri, 18 Feb 2022 16:27:41 +0800, Brent Lu wrote:
> From: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
> 
> The Felwinter uses four max98360a amplifiers on corresponding CH0~CH3.
> There are four amps on the board connecting to headphone to SSP0 port,
> amp to SSP1,and the DAI format would be DSP_A,8-slots, 32 bit slot-width.
> 
> CH0: L(Woofer), CH1:R(Woofer), CH2:L(Tweeter), CH3:R(Tweeter)
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: Intel: Add topology overwrite for Felwinter
      commit: b9afe038b1fba24e815000606d5877de97f9f154

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2022-02-21 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18  8:27 [PATCH] ASoC: SOF: Intel: Add topology overwrite for Felwinter Brent Lu
2022-02-18  8:33 ` Lu, Brent
2022-02-18 18:07 ` Pierre-Louis Bossart
2022-02-21  6:41   ` Lu, Brent
2022-02-21 15:24 ` Mark Brown

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

all inboxes | Powered by JetHome®