qemu-patch-raspberry4/hw/usb/Kconfig
Paul Zimmerman 153ef1662c dwc-hsotg (dwc2) USB host controller emulation
Add the dwc-hsotg (dwc2) USB host controller emulation code.
Based on hw/usb/hcd-ehci.c and hw/usb/hcd-ohci.c.

Note that to use this with the dwc-otg driver in the Raspbian
kernel, you must pass the option "dwc_otg.fiq_fsm_enable=0" on
the kernel command line.

Emulation of slave mode and of descriptor-DMA mode has not been
implemented yet. These modes are seldom used.

I have used some on-line sources of information while developing
this emulation, including:

http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf
which has a pretty complete description of the controller starting
on page 370.

https://sourceforge.net/p/wive-ng/wive-ng-mt/ci/master/tree/docs/DataSheets/RT3050_5x_V2.0_081408_0902.pdf
which has a description of the controller registers starting on
page 130.

Thanks to Felippe Mathieu-Daude for providing a cleaner method
of implementing the memory regions for the controller registers.

Signed-off-by: Paul Zimmerman <pauldzim@gmail.com>
Message-id: 20200520235349.21215-5-pauldzim@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-06-05 17:23:09 +01:00

104 lines
1.3 KiB
Plaintext

config USB
bool
config USB_UHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_OHCI
bool
select USB
config USB_OHCI_PCI
bool
default y if PCI_DEVICES
depends on PCI
select USB_OHCI
config USB_EHCI
bool
select USB
config USB_EHCI_PCI
bool
default y if PCI_DEVICES
select USB_EHCI
config USB_EHCI_SYSBUS
bool
select USB_EHCI
config USB_XHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_XHCI_NEC
bool
default y if PCI_DEVICES
depends on PCI
select USB_XHCI
config USB_MUSB
bool
select USB
config USB_DWC2
bool
default y
select USB
config TUSB6010
bool
select USB_MUSB
config USB_TABLET_WACOM
bool
default y
depends on USB
config USB_STORAGE_BOT
bool
default y
depends on USB
select SCSI
config USB_STORAGE_UAS
bool
default y
depends on USB
select SCSI
config USB_AUDIO
bool
default y
depends on USB
config USB_SERIAL
bool
default y
depends on USB
config USB_NETWORK
bool
default y
depends on USB
config USB_SMARTCARD
bool
default y
depends on USB
config USB_STORAGE_MTP
bool
default y
depends on USB
config IMX_USBPHY
bool
default y
depends on USB