We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37d8435 + dea005a commit 00119f3Copy full SHA for 00119f3
1 file changed
board/hx30/cypress5525.c
@@ -1404,6 +1404,9 @@ int cypd_reconnect_port_disable(int controller)
1404
if (port_power_role == PD_ROLE_SINK && (pd_status_reg[1] & BIT(2)) == BIT(2))
1405
portEnable |= BIT(1);
1406
1407
+ /* If there is DC, just force reconnect port. */
1408
+ if (board_batt_is_present() == BP_YES)
1409
+ portEnable = 0x0;
1410
1411
rv = cypd_write_reg8(controller, CYP5525_PDPORT_ENABLE_REG, portEnable);
1412
if (rv != EC_SUCCESS)
0 commit comments