SM5803: Remove Vbus comparator code from OTG
With the most recent inits, the Vbus comparator no longer needs toggled
when the board sources out.
BRANCH=None
TEST=on drawcia, verify Vbus looks good on both ports
@@ -854,20 +854,6 @@ static enum ec_error_list sm5803_enable_otg_power(int chgnum, int enabled)
rv = chg_write8(chgnum, SM5803_REG_ANA_EN1, reg);
}
- /*
- * Vbus monitor comparator must be enabled for sourcing out voltage, and
- * should be disabled when sinking to prevent false Vbus PROCHOT
- * triggers
- */
- rv = chg_read8(chgnum, SM5803_REG_PHOT1, &reg);
- if (rv)
- return rv;
- if (enabled)
- reg |= SM5803_PHOT1_VBUS_MON_EN;
- else
- reg &= ~SM5803_PHOT1_VBUS_MON_EN;
- rv |= chg_write8(chgnum, SM5803_REG_PHOT1, reg);
-
/*
* Enable: CHG_EN - turns on buck-boost
* VBUSIN_DISCH_EN - enable discharge on Vbus
