Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46783 )
Change subject: sb/intel/lynxpoint/acpi/gpio.asl: Serialize GWAK method
......................................................................
sb/intel/lynxpoint/acpi/gpio.asl: Serialize GWAK method
Commit 576b7c7 (broadwell: gpio.asl: Make GWAK method serialized) made
GWAK serialized for Broadwell. This commit follows suit on Lynx Point.
The reason to serialize this method is because it creates named objects
which depend on input parameters, and thus cannot be created elsewhere.
Change-Id: I892700df3bba079e3280008f619017e3954d5a06
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/southbridge/intel/lynxpoint/acpi/gpio.asl
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/46783/1
diff --git a/src/southbridge/intel/lynxpoint/acpi/gpio.asl b/src/southbridge/intel/lynxpoint/acpi/gpio.asl
index 1a50968..358bdec 100644
--- a/src/southbridge/intel/lynxpoint/acpi/gpio.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/gpio.asl
@@ -47,7 +47,7 @@
// GWAK: Setup GPIO as ACPI GPE for Wake
// Arg0: GPIO Number
- Method (GWAK, 1, NotSerialized)
+ Method (GWAK, 1, Serialized)
{
// Local0 = GPIO Base Address
Store (GPBS & ~1, Local0)
--
To view, visit https://review.coreboot.org/c/coreboot/+/46783
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I892700df3bba079e3280008f619017e3954d5a06
Gerrit-Change-Number: 46783
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46782 )
Change subject: sb/intel/lynxpoint/acpi: Split USB into EHCI and xHCI
......................................................................
sb/intel/lynxpoint/acpi: Split USB into EHCI and xHCI
Tested with BUILD_TIMELESS=1, Google Wolf does not change.
Change-Id: I0ce8f1e4aaa86d2f7607fec9214dc64d1f530c88
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A src/southbridge/intel/lynxpoint/acpi/ehci.asl
M src/southbridge/intel/lynxpoint/acpi/pch.asl
R src/southbridge/intel/lynxpoint/acpi/xhci.asl
3 files changed, 39 insertions(+), 35 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/46782/1
diff --git a/src/southbridge/intel/lynxpoint/acpi/ehci.asl b/src/southbridge/intel/lynxpoint/acpi/ehci.asl
new file mode 100644
index 0000000..2a54304
--- /dev/null
+++ b/src/southbridge/intel/lynxpoint/acpi/ehci.asl
@@ -0,0 +1,34 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+// EHCI Controller 0:1d.0
+
+Device (EHCI)
+{
+ Name (_ADR, 0x001d0000)
+
+ Name (_PRW, Package () { DEFAULT_PRW_VALUE, 3 })
+
+ // Leave USB ports on for to allow Wake from USB
+
+ Method (_S3D, 0) // Highest D State in S3 State
+ {
+ Return (2)
+ }
+
+ Method (_S4D, 0) // Highest D State in S4 State
+ {
+ Return (2)
+ }
+
+ Device (HUB7)
+ {
+ Name (_ADR, 0)
+
+ Device (PRT1) { Name (_ADR, 1) } // USB Port 0
+ Device (PRT2) { Name (_ADR, 2) } // USB Port 1
+ Device (PRT3) { Name (_ADR, 3) } // USB Port 2
+ Device (PRT4) { Name (_ADR, 4) } // USB Port 3
+ Device (PRT5) { Name (_ADR, 5) } // USB Port 4
+ Device (PRT6) { Name (_ADR, 6) } // USB Port 5
+ }
+}
diff --git a/src/southbridge/intel/lynxpoint/acpi/pch.asl b/src/southbridge/intel/lynxpoint/acpi/pch.asl
index e683c75..40d206d 100644
--- a/src/southbridge/intel/lynxpoint/acpi/pch.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/pch.asl
@@ -67,8 +67,11 @@
// PCI Express Ports 0:1c.x
#include <southbridge/intel/common/acpi/pcie.asl>
-// USB 0:1d.0 and 0:1a.0
-#include "usb.asl"
+// USB EHCI 0:1d.0 and 0:1a.0
+#include "ehci.asl"
+
+// USB XHCI 0:14.0
+#include "xhci.asl"
// LPC Bridge 0:1f.0
#include "lpc.asl"
diff --git a/src/southbridge/intel/lynxpoint/acpi/usb.asl b/src/southbridge/intel/lynxpoint/acpi/xhci.asl
similarity index 91%
rename from src/southbridge/intel/lynxpoint/acpi/usb.asl
rename to src/southbridge/intel/lynxpoint/acpi/xhci.asl
index fbb7090..65f1869 100644
--- a/src/southbridge/intel/lynxpoint/acpi/usb.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/xhci.asl
@@ -1,38 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-// EHCI Controller 0:1d.0
-
-Device (EHCI)
-{
- Name (_ADR, 0x001d0000)
-
- Name (_PRW, Package () { DEFAULT_PRW_VALUE, 3 })
-
- // Leave USB ports on for to allow Wake from USB
-
- Method (_S3D, 0) // Highest D State in S3 State
- {
- Return (2)
- }
-
- Method (_S4D, 0) // Highest D State in S4 State
- {
- Return (2)
- }
-
- Device (HUB7)
- {
- Name (_ADR, 0)
-
- Device (PRT1) { Name (_ADR, 1) } // USB Port 0
- Device (PRT2) { Name (_ADR, 2) } // USB Port 1
- Device (PRT3) { Name (_ADR, 3) } // USB Port 2
- Device (PRT4) { Name (_ADR, 4) } // USB Port 3
- Device (PRT5) { Name (_ADR, 5) } // USB Port 4
- Device (PRT6) { Name (_ADR, 6) } // USB Port 5
- }
-}
-
// XHCI Controller 0:14.0
Device (XHCI)
--
To view, visit https://review.coreboot.org/c/coreboot/+/46782
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0ce8f1e4aaa86d2f7607fec9214dc64d1f530c88
Gerrit-Change-Number: 46782
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46779 )
Change subject: soc/intel/broadwell/pch/acpi/hda.asl: Rename to `audio.asl`
......................................................................
soc/intel/broadwell/pch/acpi/hda.asl: Rename to `audio.asl`
This is merely to ease diffing Lynx Point and Broadwell ASL code.
Tested with BUILD_TIMELESS=1, Google Buddy does not change.
Change-Id: I9f6ab98388d2a2915a48377ebe9e724cfee4b95f
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
R src/soc/intel/broadwell/pch/acpi/audio.asl
M src/soc/intel/broadwell/pch/acpi/pch.asl
2 files changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/46779/1
diff --git a/src/soc/intel/broadwell/pch/acpi/hda.asl b/src/soc/intel/broadwell/pch/acpi/audio.asl
similarity index 100%
rename from src/soc/intel/broadwell/pch/acpi/hda.asl
rename to src/soc/intel/broadwell/pch/acpi/audio.asl
diff --git a/src/soc/intel/broadwell/pch/acpi/pch.asl b/src/soc/intel/broadwell/pch/acpi/pch.asl
index d68fa60..b7d6838 100644
--- a/src/soc/intel/broadwell/pch/acpi/pch.asl
+++ b/src/soc/intel/broadwell/pch/acpi/pch.asl
@@ -39,7 +39,7 @@
}
// High Definition Audio (Azalia) 0:1b.0
-#include "hda.asl"
+#include "audio.asl"
// ADSP/SST 0:13.0
#include "adsp.asl"
--
To view, visit https://review.coreboot.org/c/coreboot/+/46779
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9f6ab98388d2a2915a48377ebe9e724cfee4b95f
Gerrit-Change-Number: 46779
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange