[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
qemu emulation for USB ports of Allwinner H3
From: |
Guenter Roeck |
Subject: |
qemu emulation for USB ports of Allwinner H3 |
Date: |
Sun, 8 Sep 2024 11:36:18 -0700 |
Hi,
the Allwinner H3 USB port qemu emulation creates separate USB ports
for its EHCI and OHCI controllers, resulting in a total of 8 USB ports.
>From the orangepi-pc emulation:
# lsusb
Bus 005 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0002
Bus 001 Device 001: ID 1d6b:0002
Bus 008 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 009 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
The SoC supports EHCI companion interfaces, and my understanding is that
it only has four physical USB ports. Does the real hardware instantiate
separate EHCI and OHCI interfaces (for a total of 8 USB ports), or does it
use the companion functionality ?
If the real hardware only instantiates four USB ports (or, in other words,
if it utilizes EHCI companion functionality), would it make sense to
reflect that in qemu ?
Thanks,
Guenter
- qemu emulation for USB ports of Allwinner H3,
Guenter Roeck <=