aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi/ec.asl
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-12-18 14:01:11 +0100
committerMartin Roth <martinroth@google.com>2018-01-17 17:08:22 +0000
commit30bba281b9b4330f5fadf36d187c2512f94c29e0 (patch)
tree7072af2148993c9435804db8d560e6916a81d341 /src/ec/lenovo/h8/acpi/ec.asl
parentcdecc0db4becbe47927b649e410fd2d0b58d1531 (diff)
ec/h8: Store PWRS and notify CPU on AC power plug/unplug events
PWRS is is the power source gnvs. Notifying CPU is needed to change P- and C-states on these events. Change-Id: I0818d10474523fb14f7ba7cfbf61166b89442083 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/22931 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/lenovo/h8/acpi/ec.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 944858ff8f..b6121aab1a 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -149,6 +149,7 @@ Device(EC)
Method(_Q26, 0, NotSerialized)
{
Notify (AC, 0x80)
+ \PNOT()
}
/* AC status change: not present */
@@ -156,6 +157,7 @@ Device(EC)
{
Notify (AC, 0x80)
Store(0x50, EVNT)
+ \PNOT()
}
Method(_Q2A, 0, NotSerialized)