diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-07-17 11:43:59 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-24 11:51:01 +0000 |
commit | 4966a8c136eb12a0a3dc15a531d71eafb191fdf0 (patch) | |
tree | 82945ba8ed052b9ce22b6a452cf698ef9866937d /src/mainboard/hp | |
parent | 9ae150a59121a95d11bba208a66d203bfe45c6d2 (diff) |
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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/27511
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/hp')
-rw-r--r-- | src/mainboard/hp/compaq_8200_elite_sff/acpi/platform.asl | 7 | ||||
-rw-r--r-- | src/mainboard/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 <superio/nuvoton/npcd378/acpi/superio.asl> + +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) + } +} |