I’m using a Toradex iMX8DX Colibri board plugged on a custom carrier board and I want to change the Power enable and Overcurrent pins used for USB Host and USB Client.
For USBHost, I want to use Sodimm 133 for PWR and 131 for OC
For USBClient, I want to use Sodimm 129 for PWR and 127 for OC
The different tests I have already done are not at all successful and it is not clear to me if the driver really manages PWR and OC.
It seems on the dtb of the colibri eval board, that the PWR signal is managed by reg_usbh_vbus.
Could you clarify if the driver is able to manage the signal and what is the way to customize it using the dtb ?
Corresponding SODIMM (PWR and OC) have been added to pinctrl_usbotg1 and pinctrl_usbotg3.
I’m expecting that the regulators were enabled when the USB driver is loaded, but it doesn’t seems to be the case. So I have finally kept regulator definitions but added “regulator-always-on;” to ensure the regulator is properly activated.