[U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data

Vasily Khoruzhick anarsoul at gmail.com
Mon Jun 18 15:36:58 UTC 2018


On Mon, Jun 18, 2018 at 12:39 AM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
>> >From what I see in the other thread, the USB never worked with the
>> series. If the controller returns 0s as EHCI version, something is
>> obviously broken and I don't even understand how that could be an
>> acceptable positive test result. The USB HCD version register can NOT
>> EVER contain zeroes as per the specification. I am really unhappy here.
>
> This is untrue, the controller returns 0's only when single node
> enabled not with both ehci0 and echi1 atleast on BPI-M64. and we do
> enable both controller on dts even with other boards too. having
> single node enablement is not a proper test or not with my dts
> atleast.

Clock for EHCI0 or OHCI0 was never enabled on your series, so reading
USB HCD version for EHCI0/OHCI0 always returned 0 and you should have
seen 0.0 as version for EHCI0 and OHCI0.

With both nodes enabled you had only EHCI1/OHCI1 functional.


More information about the U-Boot mailing list