aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/acpi/ec.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/wilco/acpi/ec.asl')
-rw-r--r--src/ec/google/wilco/acpi/ec.asl17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl
index f9b16b5bb1..be80b2d69e 100644
--- a/src/ec/google/wilco/acpi/ec.asl
+++ b/src/ec/google/wilco/acpi/ec.asl
@@ -47,6 +47,9 @@ Device (EC0)
/* Indicate to EC that OS is ready for queries */
W (ERDY, Arg1)
+ /* Indicate that the OS supports S0ix */
+ W (CSOS, One)
+
/* Tell EC to stop emulating PS/2 mouse */
W (PS2M, Zero)
@@ -140,6 +143,20 @@ Device (EC0)
Return (ECRW (Arg0, Arg1))
}
+ /*
+ * Tell EC that the OS is entering or exiting S0ix
+ */
+ Method (S0IX, 1, Serialized)
+ {
+ If (Arg0) {
+ Printf ("EC Enter S0ix")
+ W (CSEX, One)
+ } Else {
+ Printf ("EC Exit S0ix")
+ W (CSEX, Zero)
+ }
+ }
+
#include "ec_dev.asl"
#include "ec_ram.asl"
#include "ac.asl"