lynxpoint: Fix XHCI controller device in ACPI
The ACPI code was defining two EHCI controllers and ignoring the XHCI controller. This changes the second EHCI controller to be XHCI instead and changes the wake resource to indicate S3 and not S4. cat /proc/acpi/wakeup Device S-state Status Sysfs node HDEF S4 *disabled pci:0000:00:1b.0 EHCI S3 *enabled pci:0000:00:1d.0 XHCI S3 *enabled pci:0000:00:14.0 Change-Id: If28775e6ef8608c22c85ca91d91d1f598ec7755d Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/56263 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4181 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
98c40622fe
commit
7fab00c897
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
// EHCI Controller 0:1d.0
|
// EHCI Controller 0:1d.0
|
||||||
|
|
||||||
Device (EHC1)
|
Device (EHCI)
|
||||||
{
|
{
|
||||||
Name(_ADR, 0x001d0000)
|
Name(_ADR, 0x001d0000)
|
||||||
|
|
||||||
Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake
|
Name (_PRW, Package(){ 13, 3 }) // Power Resources for Wake
|
||||||
|
|
||||||
// Leave USB ports on for to allow Wake from USB
|
// Leave USB ports on for to allow Wake from USB
|
||||||
|
|
||||||
|
@ -55,13 +55,13 @@ Device (EHC1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// EHCI #2 Controller 0:1a.0
|
// XHCI Controller 0:14.0
|
||||||
|
|
||||||
Device (EHC2)
|
Device (XHCI)
|
||||||
{
|
{
|
||||||
Name(_ADR, 0x001a0000)
|
Name(_ADR, 0x00140000)
|
||||||
|
|
||||||
Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake
|
Name (_PRW, Package(){ 13, 3 }) // Power Resources for Wake
|
||||||
|
|
||||||
// Leave USB ports on for to allow Wake from USB
|
// Leave USB ports on for to allow Wake from USB
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue