Shelley Chen has uploaded this change for review.

View Change

google/fizz: Enable wake-on-usb attach/detach

BUG=b:62095784, b:35775024
BRANCH=None
TEST=Run powerd_dbus_suspend from kernel. Plug in
usb device and make sure wakes up.

Change-Id: I214d6557998bdaf1d327c2a45532461b95d56a96
Signed-off-by: Shelley Chen <shchen@chromium.org>
---
M src/mainboard/google/fizz/devicetree.cb
1 file changed, 4 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/20421/1
diff --git a/src/mainboard/google/fizz/devicetree.cb b/src/mainboard/google/fizz/devicetree.cb
index d0bddba..d7b6727 100644
--- a/src/mainboard/google/fizz/devicetree.cb
+++ b/src/mainboard/google/fizz/devicetree.cb
@@ -7,6 +7,10 @@
register "deep_s5_enable_dc" = "1"
register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN"

+ # Bitmap for Wake Enable on USB attach/detach
+ register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | USB_PORT_WAKE_ENABLE(3) | USB_PORT_WAKE_ENABLE(4) | USB_PORT_WAKE_ENABLE(5) | USB_PORT_WAKE_ENABLE(6)"
+ register "usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | USB_PORT_WAKE_ENABLE(3) | USB_PORT_WAKE_ENABLE(4) | USB_PORT_WAKE_ENABLE(5) | USB_PORT_WAKE_ENABLE(6)"
+
# GPE configuration
# Note that GPE events called out in ASL code rely on this
# route. i.e. If this route changes then the affected GPE

To view, visit change 20421. To unsubscribe, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I214d6557998bdaf1d327c2a45532461b95d56a96
Gerrit-Change-Number: 20421
Gerrit-PatchSet: 1
Gerrit-Owner: Shelley Chen <shchen@google.com>