Hey Philippe,
I took a second look at this and, it seems my previous suggestion was only partly valid.
The kernel error you reported came from the driver in drivers/usb/musb/sunxi.c. Apparently, this
is an Allwinner specific driver for M-USB. And I don't see it documented in the A10 user manual.
On the other hand, the USB host interfaces EHCI/OHCI do apply for the A10 SoC and this board.
Linux has them defined in the DTB in arch/arm/boot/dts/sun4i-a10.dtsi (ehci0/1, ohci0/1).
But probably that is for another patch/commit.
Regards,
Niek
On Mon, Dec 30, 2019 at 2:56 PM Philippe Mathieu-Daudé <
address@hidden> wrote:
On 12/30/19 12:33 PM, Niek Linnenbank wrote:
> Hello Philippe,
>
> I have a suggestion: probably you can apply (almost) the same patch to
> get USB
> working for A10 as I did in the Allwinner H3, in patch #4 "add USB host
> controller" [1]
> That way you can avoid the DTB modifications and with low effort get USB
> working as well for this board.
> As far as I can see, in Section 21.1 in the A10 user manual [2] has the
> same description
> as for the H3. It basically has the standard EHCI and OHCI interfaces.
Oh good news. I guess in the long term we want a AllwinnerSoc parent
class where all common blocks are mapped, and A10/H3 children with the
differences. But we'll worry about that after your H3 series get merged.
> [1] https://lists.gnu.org/archive/html/qemu-devel/2019-12/msg03266.html
> [2] https://linux-sunxi.org/File:Allwinner_A10_User_manual_V1.5.pdf
>
> Regards,
> Niek
--