i.MX8qm: Use otg1 as host mode not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8qm: Use otg1 as host mode not working

443 Views
DhavalS
Contributor II

Hi,

 

We are using the i.MX8QM chipset in our project. Using the Yocto Linux and 5.10.35 is the version of the code.

We are facing the problem with the USB OTG1 when configure as Host mode to use SOC as Host.

Same thing is working when we configure USG OTG2 as host mode.

 

We use USB OTG1 for the flashing purpose and after system bootup required to use as host.

USB OTG1 is working as device but not working as Host.

 

I have provided image attached along with this ticket which can give you connection of USB on the hardware.

We have confirmed that voltage on the USB_OTG1_VBUS and USB_OTG1_ID is as expected which is required for Host mode.

// Device tree node of USB OTG1 ( it is similar to the i.MX8Qm mek board)

 

&usbotg1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbotg1>;
        srp-disable;
        hnp-disable;
        adp-disable;
        power-active-high;
        disable-over-current;
        status = "okay";
 };

 

 

Same thing, we have checked on i.MX8qm mek which is working but looks like somehow this is not working here.

Can you please help here if face such issues ?

 

Thanks & Regards,

Dhaval

0 Kudos
0 Replies