This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UBS overcurrent

USB0 is used as internal usb port. Overcurrent detection is not required. I would like the pin used for overcurrent protection release and use it for other purposes.

The overcurrent pin used in the demo board is GPIO3_17 as you can see in the code below. Wonder what I have to write in case overcurrent detection is not required?

/* pinmux for usb0 drvvbus */
static struct pinmux_config usb0_pin_mux[] = {
{"usb0_drvvbus.usb0_drvvbus", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
{"mcasp0_ahclkr.gpio3_17", OMAP_MUX_MODE7 | AM33XX_PULL_ENBL |
AM33XX_PIN_INPUT_PULLUP},
{NULL, 0},
};

Thx