tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+

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>
This commit is contained in:
Sheetal 2026-04-16 09:06:00 +00:00 committed by Jaroslav Kysela
commit b43bb2e3f0

View 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
}
}