From 4966a8c136eb12a0a3dc15a531d71eafb191fdf0 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 17 Jul 2018 11:43:59 +0200 Subject: mb/hp/compaq_8200_elite_sff: Call NPCD378 sleep/wake handlers * Call sleep and wake functions * Add GBEs for wake Change-Id: I0cf2cffd06fe2470c2a8f1d8b57de282362ec17e Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/27511 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Held --- .../hp/compaq_8200_elite_sff/acpi/platform.asl | 7 ++++-- .../hp/compaq_8200_elite_sff/acpi/superio.asl | 29 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/mainboard/hp/compaq_8200_elite_sff/acpi/platform.asl b/src/mainboard/hp/compaq_8200_elite_sff/acpi/platform.asl index 733c4b1a5c..02a1b54b87 100644 --- a/src/mainboard/hp/compaq_8200_elite_sff/acpi/platform.asl +++ b/src/mainboard/hp/compaq_8200_elite_sff/acpi/platform.asl @@ -13,11 +13,14 @@ * GNU General Public License for more details. */ -Method(_WAK,1) +Method(_WAK, 1, NotSerialized) { + \_SB.PCI0.LPCB.SIO0.SIOW (Arg0) + Return(Package(){0,0}) } -Method(_PTS,1) +Method(_PTS, 1, NotSerialized) { + \_SB.PCI0.LPCB.SIO0.SIOS (Arg0) } diff --git a/src/mainboard/hp/compaq_8200_elite_sff/acpi/superio.asl b/src/mainboard/hp/compaq_8200_elite_sff/acpi/superio.asl index 9ec294923a..630c5e8033 100644 --- a/src/mainboard/hp/compaq_8200_elite_sff/acpi/superio.asl +++ b/src/mainboard/hp/compaq_8200_elite_sff/acpi/superio.asl @@ -23,3 +23,32 @@ #define SUPERIO_SHOW_KBC #include + +Scope (\_GPE) +{ + Method (_L08, 0, NotSerialized) + { + \_SB.PCI0.LPCB.SIO0.SIOH () + } + + Method (_L0D, 0, NotSerialized) + { + Notify (\_SB.PCI0.EHC1, 0x02) + Notify (\_SB.PCI0.EHC2, 0x02) + //FIXME: Add GBE device + //Notify (\_SB.PCI0.GBE, 0x02) + } + + Method (_L09, 0, NotSerialized) + { + Notify (\_SB.PCI0.RP01, 0x02) + Notify (\_SB.PCI0.RP02, 0x02) + Notify (\_SB.PCI0.RP03, 0x02) + Notify (\_SB.PCI0.RP04, 0x02) + Notify (\_SB.PCI0.RP05, 0x02) + Notify (\_SB.PCI0.RP06, 0x02) + Notify (\_SB.PCI0.RP07, 0x02) + Notify (\_SB.PCI0.RP08, 0x02) + Notify (\_SB.PCI0.PEGP, 0x02) + } +} -- cgit v1.2.3