]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
authorSheetal <sheetal@nvidia.com>
Thu, 16 Apr 2026 09:06:00 +0000 (09:06 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 16 Apr 2026 11:46:14 +0000 (13:46 +0200)
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.

Link: https://lore.kernel.org/alsa-devel/20260416090600.2237882-1-sheetal@nvidia.com/
Signed-off-by: Sheetal <sheetal@nvidia.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf

index 3277f6db6c67b926969f189716912ae8f6751575..f26941b1dad1330816ee1ece1d7cbaf563f98785 100644 (file)
@@ -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
+       }
+}