HeadsetCodec1 ""
MicCodec1 ""
Mics1 "0"
+ Iec61937Pcms1 ""
}
DefineRegex {
Regex " cfg-mics:([1-9][0-9]*)"
String "${CardComponents}"
}
+ Iec61937Pcms {
+ Regex "iec61937-pcm:(([0-9]+(,))*[0-9]+)"
+ String "${CardComponents}"
+ }
}
If.hs_init {
exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json"
}
}
+
+Include.hdmi-pcm.File "/common/pcm/hdmi.conf"
+
+If.Hdmi5-iec61937 {
+ Condition {
+ Type RegexMatch
+ Regex "((^|,)[5](,|$))"
+ String "${var:Iec61937Pcms1}"
+ }
+ True.Macro.hdmi5.HdmiPCM { Device 5 Index 0 }
+}
+
+If.Hdmi6-iec61937 {
+ Condition {
+ Type RegexMatch
+ Regex "((^|,)[6](,|$))"
+ String "${var:Iec61937Pcms1}"
+ }
+ True.Macro.hdmi6.HdmiPCM { Device 6 Index 1 }
+}
+
+If.Hdmi7-iec61937 {
+ Condition {
+ Type RegexMatch
+ Regex "((^|,)[7](,|$))"
+ String "${var:Iec61937Pcms1}"
+ }
+ True.Macro.hdmi7.HdmiPCM { Device 7 Index 2 }
+}
+
+If.HdmiIec61937 {
+ Condition {
+ Type RegexMatch
+ Regex "((^|,)[567](,|$))"
+ String "${var:Iec61937Pcms1}"
+ }
+ True.Macro.save_hdmi_cfg.HdmiPCMSave { Name "42-sof-hdmi" }
+}