On Tue, Jun 06, 2017 at 05:56:56PM +0530, lingareddy praneethreddy wrote:
> I am using Chipidea HDRC on imx6sl platform. On connecting USB stick
> (sometimes) and Android/ Apple phone (frequent) to ci-hdrc multiple
> time it is seen that hub (ehci_hub_control())  reports continuous
> USB_PORT_FEAT_C_RESET  (infinitely) before a disconnect-connect caused
> USB_PORT_FEAT_C_OVER_CURRENT.
> 
> I have two queries:
> 1. Can we avoid the continuous warm reset ( USB_PORT_FEAT_C_RESET )
> i.e. can we force hub to initialize again and enumerate the device
> again?
> 2. Do we need to initialize both controller and hub i.e. we
> initialized controller (calling ehci_setup() and ehci_run())  but the
> hub continued the resets until the overcurrent bit was set.
> 

Try to disable over current at dts with property 'disable-over-current',
if it can't fix your problem, follow Alan's suggestion. If it can fix
your problem, try to fix your OC pinmux or polarity.

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to