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>
This commit is contained in:
Patrick Rudolph 2018-07-17 11:43:59 +02:00 committed by Patrick Georgi
parent 9ae150a591
commit 4966a8c136
2 changed files with 34 additions and 2 deletions

View File

@ -13,11 +13,14 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
Method(_WAK,1) Method(_WAK, 1, NotSerialized)
{ {
\_SB.PCI0.LPCB.SIO0.SIOW (Arg0)
Return(Package(){0,0}) Return(Package(){0,0})
} }
Method(_PTS,1) Method(_PTS, 1, NotSerialized)
{ {
\_SB.PCI0.LPCB.SIO0.SIOS (Arg0)
} }

View File

@ -23,3 +23,32 @@
#define SUPERIO_SHOW_KBC #define SUPERIO_SHOW_KBC
#include <superio/nuvoton/npcd378/acpi/superio.asl> #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)
}
}