coreboot/src
Ivan Chen a657b1f7ce mb/google/dedede: Resume from suspend on critical battery
This patch makes dedede EC wake up AP from s0ix when the state of
charge drops to low_battery_shutdown_percent.

Demonstrated as follows:

1. Boot OS.
2. Run powerd_dbus_suspend.
3. On EC, run battfake 4.
4. System resumes.

BUG=b:244253629
TEST=Verified on dedede

Change-Id: I39234d2b9e739383b5f96be49077f8c9831fa0fa
Signed-off-by: Ivan Chen <yulunchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67320
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2022-09-20 08:07:42 +00:00
..
acpi drivers/intel/dptf: Add multiple fan support under dptf 2022-09-04 16:48:07 +00:00
arch riscv: Enable the newfangled way of selecting instruction sets 2022-09-17 05:56:34 +00:00
commonlib cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
console console: attach smbus console driver 2022-09-16 17:03:49 +00:00
cpu cpu/intel/haswell: Update Broadwell ULT µcode updates 2022-09-20 07:53:57 +00:00
device device/dram: Reformat code 2022-09-13 13:06:05 +00:00
drivers drivers/smbus: add smbus console driver 2022-09-16 17:01:17 +00:00
ec timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
include drivers/smbus: add smbus console driver 2022-09-16 17:01:17 +00:00
lib timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
mainboard mb/google/dedede: Resume from suspend on critical battery 2022-09-20 08:07:42 +00:00
northbridge soc/amd/common: Add common function to get cpu count 2022-09-14 20:28:37 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security security/vboot: Add rollback NVRAM space for TPM 2 2022-09-17 01:42:11 +00:00
soc soc/intel/alderlake: Explicitly disable Energy Efficiency Turbo 2022-09-20 08:06:50 +00:00
southbridge bd82x6x/early_pch: enable smbus in bootblock stage 2022-09-16 17:02:39 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/intel/fsp: Update ADL N FSP headers from v3267.01 to v3301.00 2022-09-04 16:08:32 +00:00
Kconfig Kconfig: Allow x86 to compress pre-ram stages if not run XIP 2022-09-19 14:57:12 +00:00