blob: 778c7f73be44912869ad0d644724f8a012881554 [file] [log] [blame]
Angel Pons0fcb1b82020-04-03 01:21:20 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Kyösti Mälkki595ef3d2015-05-27 12:44:16 +03002
3Scope(\_GPE) { /* Start Scope GPE */
4
5 /* General event 3 */
6 Method(_L03) {
7 /* DBGO("\\_GPE\\_L00\n") */
8 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
9 }
10
11 /* Legacy PM event */
12 Method(_L08) {
13 /* DBGO("\\_GPE\\_L08\n") */
14 }
15
16 /* Temp warning (TWarn) event */
17 Method(_L09) {
18 /* DBGO("\\_GPE\\_L09\n") */
19 /* Notify (\_TZ.TZ00, 0x80) */
20 }
21
22 /* USB controller PME# */
23 Method(_L0B) {
24 /* DBGO("\\_GPE\\_L0B\n") */
25 Notify(\_SB.PCI0.UOH1, 0x02) /* NOTIFY_DEVICE_WAKE */
26 Notify(\_SB.PCI0.UOH2, 0x02) /* NOTIFY_DEVICE_WAKE */
27 Notify(\_SB.PCI0.UOH3, 0x02) /* NOTIFY_DEVICE_WAKE */
28 Notify(\_SB.PCI0.UOH4, 0x02) /* NOTIFY_DEVICE_WAKE */
29 Notify(\_SB.PCI0.UOH5, 0x02) /* NOTIFY_DEVICE_WAKE */
30 Notify(\_SB.PCI0.UOH6, 0x02) /* NOTIFY_DEVICE_WAKE */
31 Notify(\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
32 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
33 }
34
35 /* ExtEvent0 SCI event */
36 Method(_L10) {
37 /* DBGO("\\_GPE\\_L10\n") */
38 }
39
40 /* ExtEvent1 SCI event */
41 Method(_L11) {
42 /* DBGO("\\_GPE\\_L11\n") */
43 }
44
45 /* GPIO0 or GEvent8 event */
46 Method(_L18) {
47 /* DBGO("\\_GPE\\_L18\n") */
48 Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
49 Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
50 Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
51 Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
52 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
53 }
54
55 /* Azalia SCI event */
56 Method(_L1B) {
57 /* DBGO("\\_GPE\\_L1B\n") */
58 Notify(\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */
59 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
60 }
Elyes HAOUAS868f74a2018-05-28 13:21:35 +020061} /* End Scope GPE */