diff --git a/board/fizz/board.h b/board/fizz/board.h index 6b1c27d020..93dce5bd49 100644 --- a/board/fizz/board.h +++ b/board/fizz/board.h @@ -67,7 +67,6 @@ /* Charger */ #define CONFIG_CHARGE_MANAGER -#undef CONFIG_CHARGE_MANAGER_SAFE_MODE #define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 50000 diff --git a/board/fizz/usb_pd_policy.c b/board/fizz/usb_pd_policy.c index ee853f0ab6..39e47dd895 100644 --- a/board/fizz/usb_pd_policy.c +++ b/board/fizz/usb_pd_policy.c @@ -219,6 +219,16 @@ int pd_custom_vdm(int port, int cnt, uint32_t *payload, return 0; } +/* + * Since fizz has no battery, it must source all of its power from either + * USB-C or the barrel jack (preferred). Fizz operates in continuous safe + * mode (charge_manager_leave_safe_mode() will never be called), which + * modifies port / ILIM selection as follows: + * + * - Dual-role / dedicated capability of the port partner is ignored. + * - Charge ceiling on PD voltage transition is ignored. + * - CHARGE_PORT_NONE will never be selected. + */ static void board_charge_manager_init(void) { int input_voltage;