mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices
@ 2026-10-13 18:02 Svyatoslav Ryhel
  2026-10-13 18:02 ` [PATCH v1 1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property Svyatoslav Ryhel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-10-13 18:02 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Thierry Reding, Jonathan Hunter, Jaroslav Kysela,
	Takashi Iwai, Svyatoslav Ryhel, Sheetal
  Cc: linux-sound, devicetree, linux-tegra, linux-kernel

Add support for auxiliary devices, such as amplifiers, sound-muxes or dsp,
to be added to the sound card.

Svyatoslav Ryhel (2):
  ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property
  ASoC: tegra: Support auxiliary devices

 .../devicetree/bindings/sound/nvidia,tegra-audio-common.yaml | 5 +++++
 sound/soc/tegra/tegra_asoc_machine.c                         | 4 ++++
 2 files changed, 9 insertions(+)

-- 
2.53.0


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

* [PATCH v1 1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property
  2026-10-13 18:02 [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
@ 2026-10-13 18:02 ` Svyatoslav Ryhel
  2026-10-13 18:02 ` [PATCH v1 2/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
  2026-10-13 18:25 ` [PATCH v1 0/2] " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-10-13 18:02 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Thierry Reding, Jonathan Hunter, Jaroslav Kysela,
	Takashi Iwai, Svyatoslav Ryhel, Sheetal
  Cc: linux-sound, devicetree, linux-tegra, linux-kernel

Add nvidia,aux-devs which can contain a list of phandles pointing to
auxiliary devices, such as amplifiers, sound-muxes or dsp, to be added to
the sound card.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 .../devicetree/bindings/sound/nvidia,tegra-audio-common.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml
index 2588589ad62d3..316806fc7346e 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml
@@ -48,6 +48,11 @@ properties:
     $ref: /schemas/types.yaml#/definitions/phandle
     description: The phandle of audio codec
 
+  nvidia,aux-devs:
+    $ref: /schemas/types.yaml#/definitions/phandle-array
+    description: List of phandles pointing to auxiliary devices,
+      such as amplifiers or dsp, to be added to the sound card.
+
   nvidia,spkr-en-gpios:
     maxItems: 1
     description: The GPIO that enables the speakers
-- 
2.53.0


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

* [PATCH v1 2/2] ASoC: tegra: Support auxiliary devices
  2026-10-13 18:02 [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
  2026-10-13 18:02 ` [PATCH v1 1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property Svyatoslav Ryhel
@ 2026-10-13 18:02 ` Svyatoslav Ryhel
  2026-10-13 18:25 ` [PATCH v1 0/2] " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-10-13 18:02 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Thierry Reding, Jonathan Hunter, Jaroslav Kysela,
	Takashi Iwai, Svyatoslav Ryhel, Sheetal
  Cc: linux-sound, devicetree, linux-tegra, linux-kernel

Add support for auxiliary devices, such as amplifiers, sound-muxes or dsp,
to be added to the sound card.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 sound/soc/tegra/tegra_asoc_machine.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/soc/tegra/tegra_asoc_machine.c b/sound/soc/tegra/tegra_asoc_machine.c
index 50b23bbb637bd..e4af049fd7e89 100644
--- a/sound/soc/tegra/tegra_asoc_machine.c
+++ b/sound/soc/tegra/tegra_asoc_machine.c
@@ -550,6 +550,10 @@ int tegra_asoc_machine_probe(struct platform_device *pdev)
 	if (asoc->add_common_snd_ops)
 		card->dai_link->ops = &tegra_machine_snd_ops;
 
+	err = snd_soc_of_parse_aux_devs(card, "nvidia,aux-devs");
+	if (err)
+		return err;
+
 	if (!card->owner)
 		card->owner = THIS_MODULE;
 	if (!card->driver_name)
-- 
2.53.0


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

* Re: [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices
  2026-10-13 18:02 [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
  2026-10-13 18:02 ` [PATCH v1 1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property Svyatoslav Ryhel
  2026-10-13 18:02 ` [PATCH v1 2/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
@ 2026-10-13 18:25 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2026-10-13 18:25 UTC (permalink / raw)
  To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Jonathan Hunter, Jaroslav Kysela, Takashi Iwai,
	Sheetal, Svyatoslav Ryhel
  Cc: linux-sound, devicetree, linux-tegra, linux-kernel

On Tue, 13 Oct 2026 21:02:51 +0300, Svyatoslav Ryhel wrote:
> ASoC: tegra: Support auxiliary devices
> 
> Add support for auxiliary devices, such as amplifiers, sound-muxes or dsp,
> to be added to the sound card.
> 
> Svyatoslav Ryhel (2):
>   ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property
>   ASoC: tegra: Support auxiliary devices
> 
> [...]

Applied to

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

Thanks!

[1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property
      https://git.kernel.org/broonie/misc/c/6d222e9806de
[2/2] ASoC: tegra: Support auxiliary devices
      https://git.kernel.org/broonie/misc/c/3892339e4fed

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] 4+ messages in thread

end of thread, other threads:[~2026-10-15 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 18:02 [PATCH v1 0/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
2026-10-13 18:02 ` [PATCH v1 1/2] ASoC: nvidia,tegra-audio-common: Document nvidia,aux-devs property Svyatoslav Ryhel
2026-10-13 18:02 ` [PATCH v1 2/2] ASoC: tegra: Support auxiliary devices Svyatoslav Ryhel
2026-10-13 18:25 ` [PATCH v1 0/2] " 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®