Skip to content

Commit

Permalink
ucm2: Intel: avs: Add UCM files for HDMI configuration
Browse files Browse the repository at this point in the history
Add configs for devices using HDMI codec.

Closes: #418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Amadeusz Sławiński authored and perexg committed Oct 8, 2024
1 parent ff8aacb commit ba8d17b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ucm2/Intel/avs/hdaudioB0D2/hdaudioB0D2-HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Include.hdmi.File "/codecs/hda/hdmi.conf"

If.hdmi1 {
Condition { Type AlwaysTrue }
True.Macro.hdmi1.HDMI {
Number 1
Device 1
Priority 500
}
}

If.hdmi2 {
Condition { Type AlwaysTrue }
True.Macro.hdmi1.HDMI {
Number 2
Device 2
Priority 600
}
}

If.hdmi3 {
Condition { Type AlwaysTrue }
True.Macro.hdmi1.HDMI {
Number 3
Device 3
Priority 700
}
}
6 changes: 6 additions & 0 deletions ucm2/Intel/avs/hdaudioB0D2/hdaudioB0D2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Syntax 6

SectionUseCase."HiFi" {
File "/Intel/avs/hdaudioB0D2/hdaudioB0D2-HiFi.conf"
Comment "Play HiFi quality Music"
}
1 change: 1 addition & 0 deletions ucm2/conf.d/hdaudioB0D2/hdaudioB0D2.conf

0 comments on commit ba8d17b

Please sign in to comment.