public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH] tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
@ 2026-04-16  9:06 Sheetal
  2026-04-16 11:49 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Sheetal @ 2026-04-16  9:06 UTC (permalink / raw)
  To: alsa-devel, perex; +Cc: jonathanh, thierry.reding, mkumard, spujar, Sheetal

Declare the maximum four HDMI/DisplayPort outputs (PCM devices 3, 7,
8 and 9) so PipeWire can see every available port. The HDMI macro's
built-in ControlExists check ensures devices are only created when the
corresponding jack control exists, so SoCs with fewer outputs are
unaffected.

Signed-off-by: Sheetal <sheetal@nvidia.com>
---
 ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf | 28 ++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf b/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf
index 3277f6d..f26941b 100644
--- a/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf
+++ b/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf
@@ -1,10 +1,34 @@
 Include.hdmi.File "/codecs/hda/hdmi.conf"
 
-If.hdmi {
+If.hdmi1 {
 	Condition { Type AlwaysTrue }
-	True.Macro.hdmi.HDMI {
+	True.Macro.hdmi1.HDMI {
 		Number 1
 		Device 3
 		Priority 1100
 	}
 }
+If.hdmi2 {
+	Condition { Type AlwaysTrue }
+	True.Macro.hdmi2.HDMI {
+		Number 2
+		Device 7
+		Priority 1200
+	}
+}
+If.hdmi3 {
+	Condition { Type AlwaysTrue }
+	True.Macro.hdmi3.HDMI {
+		Number 3
+		Device 8
+		Priority 1300
+	}
+}
+If.hdmi4 {
+	Condition { Type AlwaysTrue }
+	True.Macro.hdmi4.HDMI {
+		Number 4
+		Device 9
+		Priority 1400
+	}
+}
-- 
2.17.1


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

* Re: [PATCH] tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
  2026-04-16  9:06 [PATCH] tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+ Sheetal
@ 2026-04-16 11:49 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2026-04-16 11:49 UTC (permalink / raw)
  To: Sheetal, alsa-devel; +Cc: jonathanh, thierry.reding, mkumard, spujar

On 4/16/26 11:06, Sheetal wrote:
> Declare the maximum four HDMI/DisplayPort outputs (PCM devices 3, 7,
> 8 and 9) so PipeWire can see every available port. The HDMI macro's
> built-in ControlExists check ensures devices are only created when the
> corresponding jack control exists, so SoCs with fewer outputs are
> unaffected.
> 
> Signed-off-by: Sheetal <sheetal@nvidia.com>

Applied. I prefer the github pull requests for UCM changes. Thank you.

					Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

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

end of thread, other threads:[~2026-04-16 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-16  9:06 [PATCH] tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+ Sheetal
2026-04-16 11:49 ` Jaroslav Kysela

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