Hi @expertsleepers,
For USB_OTG1_PWR, you can use either GPIO or USB IP to control.
There are two registers related to USB_OTG1_PWR:
1. USB OTG Control 1 Register (CTRL1), PWR_POL bit field to control the output polarity.
2. Port Status & Control (PORTSC1), PP bit to enable it.
The following code on RT1010 can be taken as reference
USBNC->USB_OTGn_CTRL |= USBNC_USB_OTGn_CTRL_PWR_POL_MASK;
USBNC->USB_OTGn_CTRL &= (~USBNC_USB_OTGn_CTRL_PWR_POL_MASK);