blob: dbf6241a7dbe5232e8dcb05e851539183e8d4597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Enable ACPI _SWS methods */
#include <soc/intel/common/acpi/acpi_wake_source.asl>
/*
* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
*/
Method (_PTS, 1)
{
}
/* The _WAK method is called on system wakeup */
Method (_WAK, 1)
{
Store(\_SB.PCI0.LPCB.EC.LIDC, \LIDS)
Store(\_SB.PCI0.LPCB.EC.ACIN, \PWRS)
Return (Package (){ 0, 0 })
}
|