aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/ktqm77/acpi
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2015-04-15 13:46:08 +0200
committerMartin Roth <martinroth@google.com>2016-10-01 22:30:55 +0200
commita90c7859d9c7cec337a8148e186344a1ca152b40 (patch)
tree2326d986129e29d9f29decf3be154110a0dc7aee /src/mainboard/kontron/ktqm77/acpi
parentbbda950e1395683f1021c55a7336d620a4f8b19b (diff)
mb/kontron/ktqm77: Let suspend LED flash slowly in S3/S4
Change-Id: Idb37abea01831631aadba66ecd42bc7df03aa857 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/16727 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/kontron/ktqm77/acpi')
-rw-r--r--src/mainboard/kontron/ktqm77/acpi/platform.asl12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/kontron/ktqm77/acpi/platform.asl b/src/mainboard/kontron/ktqm77/acpi/platform.asl
index 9567c8df59..49bcea191f 100644
--- a/src/mainboard/kontron/ktqm77/acpi/platform.asl
+++ b/src/mainboard/kontron/ktqm77/acpi/platform.asl
@@ -20,12 +20,22 @@
Method(_PTS,1)
{
-
+ /* Let suspend LED flash slowly in S3 and S4 */
+ If (LOr (LEqual (Arg0, 3), LEqual (Arg0, 4)))
+ {
+ \_SB.PCI0.LPCB.SIO0.SUSL (0x06)
+ }
+ Else
+ {
+ \_SB.PCI0.LPCB.SIO0.SUSL (0x02)
+ }
}
/* The _WAK method is called on system wakeup */
Method(_WAK,1)
{
+ /* Disable suspend LED during normal operation */
+ \_SB.PCI0.LPCB.SIO0.SUSL (0x02)
Return(Package(){0,0})
}