Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt
BUG=b:159187889 BRANCH=none TEST=none
Change-Id: I13626a236f1b7385208c4181150f094cbda490ed Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/puff/overridetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/42714/1
diff --git a/src/mainboard/google/hatch/variants/puff/overridetree.cb b/src/mainboard/google/hatch/variants/puff/overridetree.cb index ededac4..d675954 100644 --- a/src/mainboard/google/hatch/variants/puff/overridetree.cb +++ b/src/mainboard/google/hatch/variants/puff/overridetree.cb @@ -84,6 +84,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(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)" + # Enable eMMC HS400 register "ScsEmmcHs400Enabled" = "1"
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Set Ready For Review
Sam McNally has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Patch Set 8:
(2 comments)
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/puff/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 89: 3 We want 1 instead of 3 to cover all the type A ports.
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 95: 4 We want 1 instead of 4 to cover all the type A ports.
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Patch Set 8:
(2 comments)
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/puff/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 89: 3
We want 1 instead of 3 to cover all the type A ports.
Done
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 95: 4
We want 1 instead of 4 to cover all the type A ports.
Done
Hello Sam McNally, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42714
to look at the new patch set (#9).
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt
BUG=b:159187889 BRANCH=none TEST=none
Change-Id: I13626a236f1b7385208c4181150f094cbda490ed Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/puff/overridetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/42714/9
Sam McNally has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/puff/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 89: 3
Done
Sorry, this should be been adding 1 and removing 2. We want 1, 3-6 enabled for USB2.
Hello Sam McNally, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42714
to look at the new patch set (#10).
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt
BUG=b:159187889 BRANCH=none TEST=none
Change-Id: I13626a236f1b7385208c4181150f094cbda490ed Signed-off-by: Edward O'Callaghan quasisec@google.com --- M src/mainboard/google/hatch/variants/puff/overridetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/42714/10
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... File src/mainboard/google/hatch/variants/puff/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/42714/7/src/mainboard/google/hatch/... PS7, Line 89: 3
Sorry, this should be been adding 1 and removing 2. We want 1, 3-6 enabled for USB2.
Ack, I think this is what you want now.
Sam McNally has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
Patch Set 10: Code-Review+2
Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/42714 )
Change subject: mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt ......................................................................
mb/google/hatch: Allow USB2/3 wakeups to (un)plug events in dt
BUG=b:159187889 BRANCH=none TEST=none
Change-Id: I13626a236f1b7385208c4181150f094cbda490ed Signed-off-by: Edward O'Callaghan quasisec@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/42714 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Sam McNally sammc@google.com --- M src/mainboard/google/hatch/variants/puff/overridetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Sam McNally: Looks good to me, approved
diff --git a/src/mainboard/google/hatch/variants/puff/overridetree.cb b/src/mainboard/google/hatch/variants/puff/overridetree.cb index ededac4..c78364d 100644 --- a/src/mainboard/google/hatch/variants/puff/overridetree.cb +++ b/src/mainboard/google/hatch/variants/puff/overridetree.cb @@ -84,6 +84,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(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(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"