jsl/sof-rt5682: Add Storo360 Support

Only works for non-rt5682vs skus currently
common-codecs
WeirdTreeThing 2023-09-17 15:44:10 -04:00
parent da68bc9bce
commit 13247f3592
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
1 changed files with 32 additions and 0 deletions

View File

@ -64,3 +64,35 @@ If.magpie {
} }
} }
} }
If.storo360 {
Condition {
Type String
Haystack "${sys:devices/virtual/dmi/id/product_name}"
Needle "Storo360"
}
True {
If.rt1015p_2mic {
Condition {
Type RegexMatch
Regex "^sku(1638401|1638402|1638403|1638404|1638405|1638406)$"
String "${sys:devices/virtual/dmi/id/product_sku}"
}
True.SectionUseCase."HiFi" {
File "HiFi.rt1015p.2mic.conf"
Comment "Default"
}
}
If.rt5682vs_rt1015p_2mic {
Condition {
Type RegexMatch
Regex "^sku(1638407|1638408|1638409|1638410|1638411|1638412)$"
String "${sys:devices/virtual/dmi/id/product_sku}"
}
True.SectionUseCase."HiFi" {
File "HiFi.rt1015p.2mic.conf"
Comment "Default"
}
}
}
}