summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/acpi/gpe.asl
blob: 9dbbde557c917e620429574d9db83ac3de6065f7 (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
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2013 Sage Electronic Engineering, LLC
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

Scope (\_GPE)
{
	/*  PCIE WLAN Wake event  */
	Method (_L08)
	{
		/* DBGO ("\\_GPE\\_L08\n") */
		Notify (\_SB.PWRB, 0x02)	/* NOTIFY_DEVICE_WAKE */
	}

	/*  EHCI USB controller PME#  SCIMAP24*/
	Method (_L18)
	{
		/* DBGO ("\\_GPE\\_L18\n") */
		Notify (\_SB.PCI0.EHC0, 0x02)	/* NOTIFY_DEVICE_WAKE */
		Notify (\_SB.PWRB, 0x02)	/* NOTIFY_DEVICE_WAKE */
	}

	/*  XHCI USB controller PME#  SCIMAP56*/
	Method (_L1F)
	{
		/* DBGO ("\\_GPE\\_L1F\n") */
		Notify (\_SB.PCI0.XHC0, 0x02)	/* NOTIFY_DEVICE_WAKE */
		Notify (\_SB.PWRB, 0x02)	/* NOTIFY_DEVICE_WAKE */
	}
}	/* End Scope GPE */