Forcing i.MX6 USB Host controller to Full-speed

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

Forcing i.MX6 USB Host controller to Full-speed

3,210 Views
ganesank
Contributor III

Is it possible to force i.MX6 host-controller to act like Full-speed host controller supporting only full-speed devices downstream in Linux? If so please share the details. We are facing ESD & EFT issues in our product which seems to reduce with full speed USB topology.

We are using Yocto 2.1 - Linux 4.1 with our custom board based on Advantech Q7 i.MX6D module.

Labels (4)
Tags (2)
0 Kudos
5 Replies

1,854 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ganesan

please check

https://community.nxp.com/thread/343675 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,855 Views
ganesank
Contributor III

Hi Igor,

The discussions are around limiting i.MX6 USB device controller (Chipidea) to Full-speed. I am looking for methods to limit speed of host controller usb_h1 to Full speed if it is possible.

Regards,

Ganesan. K

0 Kudos

1,855 Views
dhvanil_patel1
Senior Contributor I

Hi Ganesan,

Have you found out to limit the USB bus speed to full speed?

Igor1z‌,

Can you please help us to limit the USB bus speed to full speed only on i.mx6ul linux

0 Kudos

1,855 Views
ganesank
Contributor III

Hi Patel,

If you are using 4.1.x kernel then it is very straightforward. For forcing host controller to full-speed just add one line  maximum-speed = "full-speed";  for the concerned host controller section in your device tree (.dts) file. For example, see my settings for host controller 1 (usbh1)

&usbh1 {
   vbus-supply = <&reg_usb_h1_vbus>;
   reset-gpios = <&gpio7 11 0>;
   maximum-speed = "full-speed";
   status = "okay";
};

This approach works for OTG as well.

0 Kudos

1,855 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ganesan

solution is the same for host

Best regards
igor

0 Kudos