[Letux-kernel] [PATCH 0/3] MIPS: CI20: USB EHCI/OHCI

H. Nikolaus Schaller hns at goldelico.com
Fri Sep 25 22:53:08 CEST 2020


I still get the problem with "usb usb2-port1: Cannot enable. Maybe the USB cable is bad?".

Some analysis shows that this code returns -EBUSY:

https://elixir.bootlin.com/linux/latest/source/drivers/usb/core/hub.c#L2825

which means the port is not enabled (portstatus == 0x101).

Since this is coming from some USB communication message
(https://elixir.bootlin.com/linux/latest/source/drivers/usb/core/hub.c#L566),
I think it is not related to our drivers.

Could it be that the EHCI/OHCI do not have the clock running? This could
IMHO result in no response or the module not being enabled.


H. Nikolaus Schaller (3):
  MIPS: DTS: JZ4780: add EHCI/OHCI
  MIPS: DTS: CI20: add EHCI/OHCI vbus
  MIPS: CI20: defconfig: configure for EHCI/OHCI

 arch/mips/boot/dts/ingenic/ci20.dts    | 25 ++++++++++++++++++++
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 32 ++++++++++++++++++++++++++
 arch/mips/configs/ci20_defconfig       |  4 ++++
 3 files changed, 61 insertions(+)

-- 
2.26.2



More information about the Letux-kernel mailing list