m1n1.adt: Parse aop audio pdm ratios

Signed-off-by: Eileen Yoon <eyn@gmx.com>
This commit is contained in:
Eileen Yoon 2024-01-20 23:56:29 +09:00 committed by Hector Martin
parent 0ac31ec584
commit 8fd1e4bef4

View file

@ -246,6 +246,13 @@ DAPFT8110C = Struct(
"pad" / Array(3, Hex(Int8ul)),
)
AOPRatios = Struct(
"r0" / Int8ul,
"r1" / Int8ul,
"r2" / Int8ul,
Const(0, Int8ul),
)
DEV_PROPERTIES = {
"pmgr": {
"*": {
@ -326,6 +333,8 @@ DEV_PROPERTIES = {
"*": {
"clockSource": FourCC,
"identifier": FourCC,
"ratios": AOPRatios,
"filterLengths": Hex(Int32ul),
},
},
"*alc?/audio-leap-mic*": {