summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rv11/acpi/alsd.asl
blob: 45348faaeef092786503adbcf9e10a02c7253433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* SPDX-License-Identifier: GPL-2.0-only */

Device (ALSD)
{
	Name (_HID, "ACPI0008")
	Method (_STA, 0, NotSerialized)
	{
		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
		}
	})
}