diff options
Diffstat (limited to 'board/pyro/board.c')
-rw-r--r-- | board/pyro/board.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/board/pyro/board.c b/board/pyro/board.c index 38f4fa83fe..326c4b0a2c 100644 --- a/board/pyro/board.c +++ b/board/pyro/board.c @@ -317,12 +317,21 @@ void board_print_tcpc_fw_version(int port) void board_tcpc_init(void) { - int port; + int port, reg; /* Only reset TCPC if not sysjump */ if (!system_jumped_to_this_image()) board_reset_pd_mcu(); + /* + * Force PS8751 A2 to wake from low power mode. + * If PS8751 remains in low power mode after sysjump, + * TCPM_INIT will fail due to not able to access PS8751. + * + * NOTE: PS8751 A3 will wake on any I2C access. + */ + i2c_read8(NPCX_I2C_PORT0_1, 0x10, 0xA0, ®); + /* Enable TCPC0 interrupt */ gpio_enable_interrupt(GPIO_USB_C0_PD_INT_ODL); |