[Letux-kernel] [PATCH 0/3] MIPS: CI20: USB EHCI/OHCI
H. Nikolaus Schaller
hns at goldelico.com
Sat Sep 26 08:21:58 CEST 2020
> Am 25.09.2020 um 22:55 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>
>
>> Am 25.09.2020 um 22:53 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>>
>> 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.
>
> Or is it not allowed to share the phy between ehci and ohci?
> This is something which may be tested easily by disabling either one.
Ok, if I have EHCI only, the message is gone. But EHCI alone doesn't show a connected device.
If I have OHCI only, the message is back.
>
>>
>>
>> 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
>>
>
> _______________________________________________
> https://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
More information about the Letux-kernel
mailing list