qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* qemu emulation for USB ports of Allwinner H3
@ 2024-09-08 18:36 Guenter Roeck
  2024-09-09  9:32 ` Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2024-09-08 18:36 UTC (permalink / raw)
  To: Niek Linnenbank
  Cc: Gerd Hoffmann, Philippe Mathieu-Daudé, Alex Bennée,
	Peter Maydell, qemu-arm, qemu-devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-16 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-08 18:36 qemu emulation for USB ports of Allwinner H3 Guenter Roeck
2024-09-09  9:32 ` Gerd Hoffmann
2024-09-13 22:20   ` Niek Linnenbank
2024-09-16 14:36     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).