coreboot/src
Subrata Banik 0da04cf675 mb/google/bluey: Consider vboot modes for PD negotiation
This change introduces a check to ensure Power Delivery (PD)
negotiation is enabled when the device is in a specific vboot state.

PD negotiation will now be enabled if:
1. It is explicitly required by the hardware sync logic.
2. The device is in Developer Mode.
3. The device is in Recovery Mode.
4. A recovery request is pending.

This ensures that charging and PD sync are prioritized during
critical recovery and development paths.

This patch ensures the factory process remains powered by enabling
early charging based on the specific vboot mode.

In normal user scenarios, early charging is bypassed to allow higher
-level software to manage power negotiation according to standard
policy.

BUG=b:481546101
TEST=Build and boot on google/quartz. Verified PD negotiation is
active in developer/recovery mode.

Change-Id: I44b2ebd4fe3eec78a6df235df6282264dd97341f
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91096
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jayvik Desai <jayvik@google.com>
Reviewed-by: Pranava Y N <pranavayn@google.com>
2026-02-05 06:06:23 +00:00
..
acpi acpi: Add enums for TPM2 start method 2026-01-14 17:03:18 +00:00
arch arch/x86: Add pre- and post-memory platform hooks to romstage 2026-01-30 08:31:21 +00:00
commonlib commonlib/list: Add list_length() and more to API 2026-02-01 02:25:52 +00:00
console console: Fix flushing for slow consoles 2025-10-02 22:44:46 +00:00
cpu cpu/intel/smm/gen1/smmrelocate: Fix comments 2026-01-31 22:37:29 +00:00
device device/smbus: Add i2c_eeprom_read 2026-02-03 22:16:02 +00:00
drivers drivers/generic/gpio_keys: Set ACPI status to HIDDEN 2026-02-04 21:00:26 +00:00
ec ec/google/chromeec: Implement host command to read lid state 2026-02-03 18:19:20 +00:00
include vc/google/chromeos: Allow mainboard-specific boot logo overrides 2026-02-05 02:50:33 +00:00
lib lib/fit: Switch to commonlib/list public API 2026-02-01 02:25:58 +00:00
mainboard mb/google/bluey: Consider vboot modes for PD negotiation 2026-02-05 06:06:23 +00:00
northbridge nb/intel/sandybridge: Advertise all MCH BARs 2026-02-02 13:57:17 +00:00
sbom sbom: Fix build with merged bootblock and romstage 2025-07-07 14:29:29 +00:00
security soc/intel/common: Add opt-in runtime control for BIOS SMM write 2026-01-29 14:41:46 +00:00
soc soc/intel/jasperlake: add soc_acpi_name entry for IGD 2026-02-04 21:05:34 +00:00
southbridge device/smbus: Add i2c_eeprom_read 2026-02-03 22:16:02 +00:00
superio sio/nuvoton/common: Refactor nuvoton_pnp_*_config_state() 2026-01-03 03:40:12 +00:00
vendorcode vc/google/chromeos: Allow mainboard-specific boot logo overrides 2026-02-05 02:50:33 +00:00
Kconfig arch/x86/ioapic.c: Support 8-bit IOAPIC IDs 2026-01-13 16:19:43 +00:00