sof-rt5682: actually add support for max98390

sorry redrix users
redrix
WeirdTreeThing 2024-03-06 22:28:01 -05:00
parent 4fd21f0550
commit 2b2f3a7c99
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,20 @@
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Left Spk Switch' on"
cset "name='Right Spk Switch' on"
cset "name='TL Spk Switch' on"
cset "name='TR Spk Switch' on"
]
DisableSequence [
cset "name='Left Spk Switch' off"
cset "name='Right Spk Switch' off"
cset "name='TL Spk Switch' off"
cset "name='TR Spk Switch' off"
]
}

View File

@ -49,6 +49,15 @@ If.max98373 {
True.Define.max98373 y
}
If.max98390 {
Condition {
Type String
String1 "$${sys:bus/i2c/devices/i2c-MX98390:00/modalias}"
String2 "acpi:MX98390:"
}
True.Define.max98390 y
}
If.rt1011 {
Condition {
Type String