| 1 |
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 |
|
| 3 |
/* Enable ACPI _SWS methods */ |
| 4 |
#include <soc/intel/common/acpi/acpi_wake_source.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 |
\LIDS = \_SB.PCI0.LPCB.EC.LIDC |
| 20 |
\PWRS = \_SB.PCI0.LPCB.EC.ACIN |
| 21 |
Return (Package (){ 0, 0 }) |
| 22 |
} |