Skip to content

Commit

Permalink
ucm2/HdmiLpeAudio: Enable the HDMI audio of ECS EF20
Browse files Browse the repository at this point in the history
The ECS EF20EA uses HdmiLpeAudio as the driver for HDMI audio:

card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

So, add the corresponding folder name HdmiLpeAudio and copy the
Hdmi.conf from HDA-Intel into it. Also, modified Hdmi.conf with proper
matching string.

Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
  • Loading branch information
starnight committed Dec 15, 2020
1 parent 946845a commit f0c860d
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions ucm2/HdmiLpeAudio/Hdmi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Use case Configuration for sof-hda-dsp

If.hdmi1 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 1
HdmiPCM 3
HdmiCtlIndex 0
HdmiPrio 1100
}
Include.hdmi1.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi2 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 2
HdmiPCM 7
HdmiCtlIndex 1
HdmiPrio 1200
}
Include.hdmi2.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi3 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 3
HdmiPCM 8
HdmiCtlIndex 2
HdmiPrio 1300
}
Include.hdmi3.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi4 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 4
HdmiPCM 9
HdmiCtlIndex 3
HdmiPrio 1400
}
Include.hdmi4.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi5 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 5
HdmiPCM 10
HdmiCtlIndex 4
HdmiPrio 1500
}
Include.hdmi5.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi6 {
Condition { Type String "Intel HDMI/DP LPE Audio" }
True {
Define {
HdmiNum 6
HdmiPCM 11
HdmiCtlIndex 5
HdmiPrio 1600
}
Include.hdmi6.File "/codecs/hda/hdmi.conf"
}
}

0 comments on commit f0c860d

Please sign in to comment.