Skip to content

Instantly share code, notes, and snippets.

Created November 14, 2016 18:24
Show Gist options
  • Save anonymous/eddfbb85aebcda2d547ee61873fa7117 to your computer and use it in GitHub Desktop.
Save anonymous/eddfbb85aebcda2d547ee61873fa7117 to your computer and use it in GitHub Desktop.
SSDT overlay for tlv320aic31xx
DefinitionBlock ("audio.aml", "SSDT", 1, "Vendor", "Accel", 0x00000003)
{
External (\_SB.I2C6, DeviceObj)
Scope (\_SB.I2C6)
{
Device (STAC)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "10TI3100") // _HID: Hardware ID
Name (_CID, "10TI3100") // _CID: Compatible ID
Name (_DDN, "TI TLV320AIC3100 Codec Controller ") // _DDN: DOS Device Name
Name (_UID, One) // _UID: Unique ID
Name (OBJ1, Package (0x0A)
{
One,
0x017D7840,
One,
0x97,
One,
0x86,
One,
One,
0x14,
0xB3
})
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBus (0x0018, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2C6",
0x00, ResourceConsumer, ,
)
})
Return (SBUF) /* \_SB_.I2C2.TTLV._CRS.SBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment