aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/acpi
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2017-10-05 21:57:33 -0600
committerAaron Durbin <adurbin@chromium.org>2017-10-20 22:57:43 +0000
commitb6ac3a299769ad458dbc28c6348f186342d4d556 (patch)
treeafea5c0ebbf485e22bdf0d1d84f99081667af8b7 /src/mainboard/google/kahlee/acpi
parent794d22288650aad2f4faa724af6e511f9c9fbad7 (diff)
kahlee: Set Kahlee GPEs
Add GPE configuration table. Remove GPE3 from the power button ASL and set the EC to GPE3(AGPIO22). Set the EC and PCIE/WLAN SCI GPIO signals. Set GPE ASL methods for: PCIE/WLAN 8h EHCI 18h XHCI 1fh Note EC GPE3 methods are in the EC ASL. BUG=b:63268311 BRANCH=none TEST=Test lidswitch powers the device on and off at the login screen. Change-Id: I27c880ee84b6797d999d4d5951602b654ede948e Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/22096 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/kahlee/acpi')
-rw-r--r--src/mainboard/google/kahlee/acpi/gpe.asl51
1 files changed, 7 insertions, 44 deletions
diff --git a/src/mainboard/google/kahlee/acpi/gpe.asl b/src/mainboard/google/kahlee/acpi/gpe.asl
index e5bcf220de..9dbbde557c 100644
--- a/src/mainboard/google/kahlee/acpi/gpe.asl
+++ b/src/mainboard/google/kahlee/acpi/gpe.asl
@@ -15,63 +15,26 @@
Scope (\_GPE)
{
- /* General event 3 */
- Method (_L03)
- {
- /* DBGO ("\\_GPE\\_L00\n") */
- Notify (\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
- }
-
- /* Legacy PM event */
+ /* PCIE WLAN Wake event */
Method (_L08)
{
/* DBGO ("\\_GPE\\_L08\n") */
- }
-
- /* Temp warning (TWarn) event */
- Method (_L09)
- {
- /* DBGO ("\\_GPE\\_L09\n") */
- /* Notify (\_TZ.TZ00, 0x80) */
- }
-
- /* USB controller PME# */
- Method (_L0B)
- {
- /* DBGO ("\\_GPE\\_L0B\n") */
- Notify (\_SB.PCI0.EHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
- Notify (\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
Notify (\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
}
- /* ExtEvent0 SCI event */
- Method (_L10)
- {
- /* DBGO ("\\_GPE\\_L10\n") */
- }
-
- /* ExtEvent1 SCI event */
- Method (_L11)
- {
- /* DBGO ("\\_GPE\\_L11\n") */
- }
-
- /* GPIO0 or GEvent8 event */
+ /* EHCI USB controller PME# SCIMAP24*/
Method (_L18)
{
/* DBGO ("\\_GPE\\_L18\n") */
- Notify (\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
- Notify (\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
- Notify (\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
- Notify (\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
+ Notify (\_SB.PCI0.EHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
Notify (\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
}
- /* Azalia SCI event */
- Method (_L1B)
+ /* XHCI USB controller PME# SCIMAP56*/
+ Method (_L1F)
{
- /* DBGO("\\_GPE\\_L1B\n") */
- Notify (\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */
+ /* DBGO ("\\_GPE\\_L1F\n") */
+ Notify (\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
Notify (\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
}
} /* End Scope GPE */