Hi Gopinath
one can look in usb/chipidea/usbmisc_imx.c for related overcurrent settings,
description of usb driver and dts can be found in Chapter 39 CHIPIDEA USB Driver
attached Linux Manual. Seems detecting OC using GPIO is not supported in usb driver.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------