summaryrefslogtreecommitdiff
path: root/src/arch/arm/clock.c
diff options
context:
space:
mode:
authorIvan Chen <yulunchen@google.com>2023-02-17 16:32:55 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-02-22 14:44:31 +0000
commit19248226f57da01085a75f8b237cf3bf8579595c (patch)
treefb0ad90c431fa13f5dea1d80b24828e8e66820a7 /src/arch/arm/clock.c
parent68107ddcbc4ac2ba40f84703b662eafbd28e042e (diff)
mb/google/*: Resume from suspend on critical battery
This patch makes EC wake up AP from s3/s0ix for OS shutdown/hibernate when the state of charge drops to low_battery_shutdown_percent. BUG=b:255465618 TEST=emerge-nissa chromeos-bootimage (EC: https://crrev.com/c/4243898) Verify system resumes from s0ix and then enter S5 on nivviks with steps: 1. disconnect AC 2. powerd_dbus_suspend --disable_dark_resume=false 3. fakebatt 5 4. fakebatt 4 Change-Id: I63b5246432687e38ddfc5733ac3a115c3456d7e9 Signed-off-by: Ivan Chen <yulunchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73082 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/arch/arm/clock.c')
0 files changed, 0 insertions, 0 deletions