Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern
BUG=b:1603699358 BRANCH=none TEST=none
Change-Id: Ideacac417a46b96f3e82b53bbb341ecce79ee420 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/wyvern/overridetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/42994/1
diff --git a/src/mainboard/google/hatch/variants/wyvern/overridetree.cb b/src/mainboard/google/hatch/variants/wyvern/overridetree.cb index 55ce5ea..244e678 100644 --- a/src/mainboard/google/hatch/variants/wyvern/overridetree.cb +++ b/src/mainboard/google/hatch/variants/wyvern/overridetree.cb @@ -81,6 +81,18 @@ register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC0)" # Type-A Port 0 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A Port 4
+ # Bitmap for Wake Enable on USB attach/detach + register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \ + USB_PORT_WAKE_ENABLE(2) | \ + USB_PORT_WAKE_ENABLE(3) | \ + USB_PORT_WAKE_ENABLE(5) | \ + USB_PORT_WAKE_ENABLE(6)" + register "usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \ + USB_PORT_WAKE_ENABLE(2) | \ + USB_PORT_WAKE_ENABLE(3) | \ + USB_PORT_WAKE_ENABLE(5) | \ + USB_PORT_WAKE_ENABLE(6)" + # Enable eMMC HS400 register "ScsEmmcHs400Enabled" = "1"
Sam McNally has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42994/1/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/wyvern/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42994/1/src/mainboard/google/hatch/... PS1, Line 85: register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \ These should match noibat.
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42994/1/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/wyvern/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42994/1/src/mainboard/google/hatch/... PS1, Line 85: register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \
These should match noibat.
USB ports need adjusting as well so leaving it to a seperate change where it can be done together in one logical change.
Paul Fagerburg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
Patch Set 1: Code-Review+2
Please CC me on the Puff-wide change for the USB ports.
Hello build bot (Jenkins), Paul Fagerburg, Paul Fagerburg,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42994
to look at the new patch set (#2).
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern
V.2: Spare USB routed internally to another peripheral and so no plug event hook needed.
BUG=b:1603699358 BRANCH=none TEST=none
Change-Id: Ideacac417a46b96f3e82b53bbb341ecce79ee420 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/wyvern/overridetree.cb 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/42994/2
Hello build bot (Jenkins), Paul Fagerburg, Paul Fagerburg,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42994
to look at the new patch set (#3).
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern
V.2: Spare USB routed internally to another peripheral and so no plug event hook needed.
BUG=b:1603699358,b:157479891 BRANCH=none TEST=none
Change-Id: Ideacac417a46b96f3e82b53bbb341ecce79ee420 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/wyvern/overridetree.cb 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/42994/3
Paul Fagerburg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
Patch Set 3: Code-Review+2
Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/42994 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in Wyvern
V.2: Spare USB routed internally to another peripheral and so no plug event hook needed.
BUG=b:1603699358,b:157479891 BRANCH=none TEST=none
Change-Id: Ideacac417a46b96f3e82b53bbb341ecce79ee420 Signed-off-by: Edward O'Callaghan quasisec@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/42994 Reviewed-by: Paul Fagerburg pfagerburg@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/hatch/variants/wyvern/overridetree.cb 1 file changed, 10 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Fagerburg: Looks good to me, approved
diff --git a/src/mainboard/google/hatch/variants/wyvern/overridetree.cb b/src/mainboard/google/hatch/variants/wyvern/overridetree.cb index 55ce5ea..c394977 100644 --- a/src/mainboard/google/hatch/variants/wyvern/overridetree.cb +++ b/src/mainboard/google/hatch/variants/wyvern/overridetree.cb @@ -81,6 +81,16 @@ register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC0)" # Type-A Port 0 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A Port 4
+ # Bitmap for Wake Enable on USB attach/detach + register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \ + USB_PORT_WAKE_ENABLE(2) | \ + USB_PORT_WAKE_ENABLE(3) | \ + USB_PORT_WAKE_ENABLE(6)" + register "usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) | \ + USB_PORT_WAKE_ENABLE(2) | \ + USB_PORT_WAKE_ENABLE(3) | \ + USB_PORT_WAKE_ENABLE(5)" + # Enable eMMC HS400 register "ScsEmmcHs400Enabled" = "1"