summaryrefslogtreecommitdiffstats
path: root/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
blob: 1563f572f089c1e94a70312b2cc6b9a05d2c1bb0 (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
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

Scope (\_SB)
{
	Device (LID0)
	{
		Name (_HID, EisaId ("PNP0C0D"))

		Method (_LID)
		{
			if (\_SB.PCI0.LPCB.EC.LIDS > 1)
			{
				Return (One)
			}
			else
			{
				Return (Zero)
			}
		}

		Method (_STA)
		{
			Return (_LID)
		}
	}

	Device (PWRB)
	{
		Name (_HID, EisaId ("PNP0C0C"))

		Method (_STA)
		{
			Return (0xF)
		}

		Name (_PRW, Package () { 27, 4 })
	}

}