w83627hf/acpi: Fix logical device power down in ACPI
As Nico noticed for the W83627DHG, the power management bits to power down individual logical devices on Winbond superios are named counterintuitively and need to be set when the logical device should be powered. This corrects the power management methods for the W83627HF. Change-Id: I98bccd550a0513c62bfa9480275f88c566691bc8 Signed-off-by: Christoph Grenz <christophg+cb@grenz-bonn.de> Reviewed-on: http://review.coreboot.org/3605 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
ec3a462d03
commit
dc92d682ff
|
@ -260,13 +260,13 @@ Device(SIO) {
|
|||
/* Disable power saving mode */
|
||||
Method (_PS0) {
|
||||
ENCM (0xFF)
|
||||
Store (Zero, FDPW)
|
||||
Store (One, FDPW)
|
||||
EXCM ()
|
||||
}
|
||||
/* Enable power saving mode */
|
||||
Method (_PS1) {
|
||||
ENCM (0xFF)
|
||||
Store (One, FDPW)
|
||||
Store (Zero, FDPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
@ -471,12 +471,12 @@ Device(SIO) {
|
|||
}
|
||||
Method (_PS0) {
|
||||
ENCM (0xFF)
|
||||
Store (Zero, PRPW)
|
||||
Store (One, PRPW)
|
||||
EXCM ()
|
||||
}
|
||||
Method (_PS1) {
|
||||
ENCM (0xFF)
|
||||
Store (One, PRPW)
|
||||
Store (Zero, PRPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
@ -648,12 +648,12 @@ Device(SIO) {
|
|||
}
|
||||
Method (_PS0) {
|
||||
ENCM (0xFF)
|
||||
Store (Zero, UAPW)
|
||||
Store (One, UAPW)
|
||||
EXCM ()
|
||||
}
|
||||
Method (_PS1) {
|
||||
ENCM (0xFF)
|
||||
Store (One, UAPW)
|
||||
Store (Zero, UAPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
@ -773,12 +773,12 @@ Device(SIO) {
|
|||
}
|
||||
Method (_PS0) {
|
||||
ENCM (0xFF)
|
||||
Store (Zero, UBPW)
|
||||
Store (One, UBPW)
|
||||
EXCM ()
|
||||
}
|
||||
Method (_PS1) {
|
||||
ENCM (0xFF)
|
||||
Store (One, UBPW)
|
||||
Store (Zero, UBPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
@ -898,12 +898,12 @@ Device(SIO) {
|
|||
}
|
||||
Method (_PS0) {
|
||||
ENCM (0xFF)
|
||||
Store (Zero, UBPW)
|
||||
Store (One, UBPW)
|
||||
EXCM ()
|
||||
}
|
||||
Method (_PS1) {
|
||||
ENCM (0xFF)
|
||||
Store (One, UBPW)
|
||||
Store (Zero, UBPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
@ -1423,14 +1423,14 @@ Device(SIO) {
|
|||
Method (_PS0)
|
||||
{
|
||||
ENCM (0xFF)
|
||||
Store (Zero, HWPW)
|
||||
Store (One, HWPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
Method (_PS1)
|
||||
{
|
||||
ENCM (0xFF)
|
||||
Store (One, HWPW)
|
||||
Store (Zero, HWPW)
|
||||
EXCM ()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue