Change-Id: I3a846d8e4b70ccb3e6fde448c00376cd0088716c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72760 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
53 lines
657 B
Plaintext
53 lines
657 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
Device (ALSD)
|
|
{
|
|
Name (_HID, "ACPI0008")
|
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
|
{
|
|
Return (0x0f)
|
|
}
|
|
|
|
Method (_ALI, 0, NotSerialized)
|
|
{
|
|
Local0 = \_SB.PCI0.LPCB.EC0.LUXH
|
|
Local0 = (Local0 << 8) | \_SB.PCI0.LPCB.EC0.LUXL
|
|
Printf ("-----> _ALI: %o, %o, %o",
|
|
Local0, \_SB.PCI0.LPCB.EC0.LUXH, \_SB.PCI0.LPCB.EC0.LUXL)
|
|
Return (Local0)
|
|
}
|
|
|
|
Name (_ALR, Package (0x05)
|
|
{
|
|
Package (0x02)
|
|
{
|
|
0x46,
|
|
0
|
|
},
|
|
|
|
Package (0x02)
|
|
{
|
|
0x49,
|
|
0x0a
|
|
},
|
|
|
|
Package (0x02)
|
|
{
|
|
0x55,
|
|
0x50
|
|
},
|
|
|
|
Package (0x02)
|
|
{
|
|
0x64,
|
|
0x012c
|
|
},
|
|
|
|
Package (0x02)
|
|
{
|
|
0x96,
|
|
0x03e8
|
|
}
|
|
})
|
|
}
|