
On Thu, Apr 27, 2023 at 12:26 PM Fabio Estevam festevam@gmail.com wrote:
On Thu, Apr 27, 2023 at 4:19 PM Tim Harvey tharvey@gateworks.com wrote:
Fabio,
Sorry, responded to the wrong thread here. The thread regarding imx8mm hang on usb_stop is resolved with the regulator reference counting support.
The dt sync here still needs some work apparently.
I am confused now.
Which issue exactly does this patch cause you?
Fabio,
Sorry for the confusion.
This imx8mm dt sync patch will hang on imx8mm boards that use 'both' usbotg1 and usbotg2. You can reproduce this hang on your imx8mm-evk by enabling usbotg2 in the dt (the board has it but it is not enabled due to the gpio based usb 3.0 mux not being sorted out yet): +&usbotg2 { + dr_mode = "otg"; + status = "okay"; +}; +
u-boot=> usb start && usb tree starting USB... Bus usb@32e40000: Bus usb@32e50000: ^^^ imx8mm-evk hangs
This hang issue is not resolved by the regulator reference counter support and I am assuming that the power domain changes in this patch need to go along with a change in the power domain driver as well.
I don't know yet if the imx8mn/imx8mp dt sync's in your series show issues during testing.
Best Regards,
Tim