I am apologetic. I have never mention spec.
These are dual port and dual role.
1. If you are not going to support HPI, what's you are process shall be follow Cypress HPI via I2C. For example, you need clear INT with I2C command. And then enter flash mode to upgrade firmware.
2. For OCP, CCG4 (Refer CY4541 kits hardware schematic) VBus OCP feature is implemented based on an external load switch and only uses a fault indicator GPIO coming into the CCG device. The default setting is VBUS_OCP_MODE == VBUS_OCP_MODE_EXT.
Since you are changed OCP hardware, please kindly change pin assignments in .cydwr file and change the OCP mode as per your hardware.
The MODE SDK have been defined @file pdss_hal.h:
#define VBUS_OCP_MODE_EXT (0u) /**< OCP through external hardware. */
#define VBUS_OCP_MODE_INT (1u) /**< Internal OCP without software debounce or hardware gate control. */
#define VBUS_OCP_MODE_INT_AUTOCTRL (2u) /**< Internal OCP with hardware gate control. */
#define VBUS_OCP_MODE_INT_SW_DB (3u) /**< Internal OCP with software debounce. */
#define VBUS_OCP_MODE_POLLING (4u) /**< Solution level polling based OCP. */
#define VBUS_OCP_GPIO_ACTIVE_LOW (0u) /**< GPIO low indicates fault condition. */
#define VBUS_OCP_GPIO_ACTIVE_HIGH (1u) /**< GPIO high indicates fault condition. */
3. For OVP, CCG4 (Refer CY4541 kits hardware schematic) VBus OCP feature uses an internal ADC in the CCG to measure the voltage on the VBUS_MON input and uses the ADC output to detect over-voltage conditions.The default implementation of OVP uses firmware ISRs to turn off the FETs when OVP is detected. If quicker response is desired, there is the option of using a direct OVP_TRIP output derived from a hardware comparator associated with the ADC (SDK firmware do not enabled OVP_TRIP by default).
If you have been changed the way of OVP detection, for example, use external components to indicated OVP flag, you need initial a interrupt for OVP and change the OVP trigger event and callback. I do not recommend change it.