Abe Levkoy has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: volteer: Wake on AC connect and disconnect ......................................................................
volteer: Wake on AC connect and disconnect
Add AC connect and disconnect to S0ix lazy wake sources.
BUG=b:161466940 BRANCH=master TEST=Connect and disconnect charger in S0ix; observe wake
Change-Id: I30046a379ff75c33b991e355cc8d142241ee8b2e --- M src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/45669/1
diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h index 1ee7ca6..1428ec8 100644 --- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h @@ -34,7 +34,9 @@ /* EC can wake from S3 with lid, power button or mode change event */ #define MAINBOARD_EC_S3_WAKE_EVENTS \ (MAINBOARD_EC_S5_WAKE_EVENTS |\ - EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
#define MAINBOARD_EC_S0IX_WAKE_EVENTS (MAINBOARD_EC_S3_WAKE_EVENTS)
Hello build bot (Jenkins), Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45669
to look at the new patch set (#2).
Change subject: volteer: Wake on AC connect and disconnect ......................................................................
volteer: Wake on AC connect and disconnect
Add AC connect and disconnect to S0ix lazy wake sources.
BUG=b:161466940 BRANCH=master TEST=Connect and disconnect charger in S0ix; observe wake
Change-Id: I30046a379ff75c33b991e355cc8d142241ee8b2e Signed-off-by: Abe Levkoy alevkoy@chromium.org --- M src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/45669/2
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 2: Code-Review+2
Looks good abe! congrats on your first CB patch!
Josie Nordrum has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45669/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/45669/2//COMMIT_MSG@7 PS2, Line 7: volteer Should be mb/google/volteer
Hello build bot (Jenkins), Caveh Jalali, Tim Wawrzynczak, Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45669
to look at the new patch set (#3).
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
mb/google/volteer: Wake on AC connect and disconnect
Add AC connect and disconnect to S0ix lazy wake sources.
BUG=b:161466940 BRANCH=master TEST=Connect and disconnect charger in S0ix; observe wake
Change-Id: I30046a379ff75c33b991e355cc8d142241ee8b2e Signed-off-by: Abe Levkoy alevkoy@chromium.org --- M src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/45669/3
Caveh Jalali has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 3: Code-Review+1
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 3:
FYI on coreboot, patches can't be submitted until all comments are marked resolved.
Abe Levkoy has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45669/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/45669/2//COMMIT_MSG@7 PS2, Line 7: volteer
Should be mb/google/volteer
Done
Abe Levkoy has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
Patch Set 3:
Tim: Can you submit this?
Tim Wawrzynczak has submitted this change. ( https://review.coreboot.org/c/coreboot/+/45669 )
Change subject: mb/google/volteer: Wake on AC connect and disconnect ......................................................................
mb/google/volteer: Wake on AC connect and disconnect
Add AC connect and disconnect to S0ix lazy wake sources.
BUG=b:161466940 BRANCH=master TEST=Connect and disconnect charger in S0ix; observe wake
Change-Id: I30046a379ff75c33b991e355cc8d142241ee8b2e Signed-off-by: Abe Levkoy alevkoy@chromium.org Reviewed-on: https://review.coreboot.org/c/coreboot/+/45669 Reviewed-by: Caveh Jalali caveh@chromium.org Reviewed-by: Tim Wawrzynczak twawrzynczak@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Caveh Jalali: Looks good to me, but someone else must approve Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h index 1ee7ca6..1428ec8 100644 --- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/ec.h @@ -34,7 +34,9 @@ /* EC can wake from S3 with lid, power button or mode change event */ #define MAINBOARD_EC_S3_WAKE_EVENTS \ (MAINBOARD_EC_S5_WAKE_EVENTS |\ - EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
#define MAINBOARD_EC_S0IX_WAKE_EVENTS (MAINBOARD_EC_S3_WAKE_EVENTS)