| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
#include <soc/intel/broadwell/acpi/device_nvs.asl> |
| 4 |
#include <southbridge/intel/common/acpi/platform.asl> |
| 5 |
|
| 6 |
/* |
| 7 |
* The _PTS method (Prepare To Sleep) is called before the OS is |
| 8 |
* entering a sleep state. The sleep state number is passed in Arg0 |
| 9 |
*/ |
| 10 |
|
| 11 |
Method (_PTS, 1) |
| 12 |
{ |
| 13 |
} |
| 14 |
|
| 15 |
/* The _WAK method is called on system wakeup */ |
| 16 |
|
| 17 |
Method (_WAK, 1) |
| 18 |
{ |
| 19 |
Return (Package (){ 0, 0 }) |
| 20 |
} |
| 21 |
|
| 22 |
Scope (\_SB) |
| 23 |
{ |
| 24 |
Method (_SWS) |
| 25 |
{ |
| 26 |
/* Index into PM1 for device that caused wake */ |
| 27 |
Return (\PM1I) |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
Scope (\_GPE) |
| 32 |
{ |
| 33 |
Method (_SWS) |
| 34 |
{ |
| 35 |
/* Index into GPE for device that caused wake */ |
| 36 |
Return (\GPEI) |
| 37 |
} |
| 38 |
} |