coreboot/src
Subrata Banik eda62af9dd mb/google/bluey: Implement slow-to-fast charging transition logic
Update the charging flow to support a transition from slow charging
to fast charging based on the battery threshold.

Key changes:
- Pass boot_mode to launch_charger_applet() to allow mode-specific
  power management.
- In LB_BOOT_MODE_LOW_BATTERY_CHARGING, if the battery is above the
  critical threshold, issue an AP power-off to trigger a transition
  from slow to fast charging mode.
- Update handle_low_power_charging_boot() to default to slow charging
  for low-battery charging boots.

BUG=b:497622018
TEST=Verified Bluey correctly switches from slow charging to fast
charging once critical battery threshold is exceeded.

Change-Id: Ic65ab99360496c92a91795fce1352159066ab94e
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91912
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2026-03-31 06:34:48 +00:00
..
acpi acpi/dsdt_top.asl: Move RBUF out of the _CRS method 2026-02-09 15:20:48 +00:00
arch security/tcg/opal_s3: hook into default SMI/resume paths 2026-03-27 18:14:05 +00:00
commonlib treewide: Apply nonstring attribute to unterminated strings 2026-03-27 18:09:27 +00:00
console console: Fix flushing for slow consoles 2025-10-02 22:44:46 +00:00
cpu cpu/intel/haswell: Add option-backed PL1/PL2 overrides and package limit lock 2026-03-29 18:33:59 +00:00
device dram/ddr3: Add speed in MT/s 2026-02-19 19:20:43 +00:00
drivers drivers/amd/ftpm: Fix compilation 2026-03-23 15:07:30 +00:00
ec ec/lenovo/h8: Implement LOGO LED 2026-03-27 18:08:16 +00:00
include security/tcg/opal_s3: hook into default SMI/resume paths 2026-03-27 18:14:05 +00:00
lib smbios: Add smbios_cache_speed() implementation 2026-03-24 14:48:23 +00:00
mainboard mb/google/bluey: Implement slow-to-fast charging transition logic 2026-03-31 06:34:48 +00:00
northbridge treewide: Apply nonstring attribute to unterminated strings 2026-03-27 18:09:27 +00:00
sbom sbom: Fix build with merged bootblock and romstage 2025-07-07 14:29:29 +00:00
security security/tcg/opal_s3: hook into default SMI/resume paths 2026-03-27 18:14:05 +00:00
soc soc/intel/common/power_limit: Raise PsysPL1 when package PL1 is above TDP 2026-03-29 18:33:32 +00:00
southbridge sb/intel/wildcatpoint/pcie.c: Reorder some steps 2026-03-06 20:06:58 +00:00
superio sio/nuvoton/nct6776: Switch to common init code 2026-02-19 19:19:43 +00:00
vendorcode vc/tcg/opal: add OPAL packet builder for S3 unlock 2026-03-19 19:36:48 +00:00
Kconfig Kconfig: move IOAPIC option to x86 Kconfig 2026-03-07 20:57:24 +00:00