2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 External(\_SB.MS0X, MethodObj)
17 External(\_SB.PCI0.LPCB.EC0.S0IX, MethodObj)
18 External(\_SB.PCI0.EGPM, MethodObj)
19 External(\_SB.PCI0.RGPM, MethodObj)
24 Name(_ADR, 0x00000000)
25 Name(_CID, EISAID("PNP0D80"))
27 ToUUID("c4eb40a0-6cd2-11e2-bcfd-0800200c9a66"))
39 * Function 1 - Get Device Constraints
43 0, Ones, Ones, Ones, Ones}
47 * Function 2 - Get Crash Dump Device
55 * Function 3 - Display Off Notification
60 * Function 4 - Display On Notification
65 * Function 5 - Low Power S0 Entry Notification
69 If (CondRefOf (\_SB.PCI0.LPCB.EC0.S0IX)) {
70 \_SB.PCI0.LPCB.EC0.S0IX(1)
73 /* provide board level s0ix hook */
74 If (CondRefOf (\_SB.MS0X)) {
79 * Save the current PM bits then
80 * enable GPIO PM with MISCCFG_ENABLE_GPIO_PM_CONFIG
82 If (CondRefOf (\_SB.PCI0.EGPM))
88 * Function 6 - Low Power S0 Exit Notification
92 If (CondRefOf (\_SB.PCI0.LPCB.EC0.S0IX)) {
93 \_SB.PCI0.LPCB.EC0.S0IX(0)
96 /* provide board level s0ix hook */
97 If (CondRefOf (\_SB.MS0X)) {
101 /* Restore GPIO all Community PM */
102 If (CondRefOf (\_SB.PCI0.RGPM))
108 Return(Buffer(One) {0x00})