[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] arm: allwinner: Wire up USB EHCI
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 3/3] arm: allwinner: Wire up USB EHCI |
Date: |
Fri, 14 Feb 2020 11:08:37 +0100 |
> ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
> ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
> ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
> + for (i = 0; i < ARRAY_SIZE(s->ehci); i++) {
> + object_property_set_bool(OBJECT(&s->ehci[i]), true, "realized",
> + &err);
I suspect the ohci controllers are ehci companions, i.e. they handle a
single usb bus, with ehci handling usb2 and ohci handling usb1 devices?
If so then you should initialize ehci first, explicitly assign bus
names and set the masterbus property for the ohci controllers.
See also docs/usb2.txt
cheers,
Gerd