mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 07:16:45 +07:00
a930d8bd94
Commit03e6275ae3
("usb: chipidea: Fix ULPI on imx51") causes a kernel hang on imx51 systems that use the ULPI interface and do not select the CONFIG_USB_CHIPIDEA_ULPI option. In order to avoid such potential misuse, let's always build the chipidea ULPI code into the final ci_hdrc object. Tested on a imx51-babbage board. Fixes:03e6275ae3
("usb: chipidea: Fix ULPI on imx51") Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
config USB_CHIPIDEA
|
|
tristate "ChipIdea Highspeed Dual Role Controller"
|
|
depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
|
|
select EXTCON
|
|
select RESET_CONTROLLER
|
|
select USB_ULPI_BUS
|
|
help
|
|
Say Y here if your system has a dual role high speed USB
|
|
controller based on ChipIdea silicon IP. It supports:
|
|
Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
|
|
Peripheral-only.
|
|
|
|
When compiled dynamically, the module will be called ci_hdrc.ko.
|
|
|
|
if USB_CHIPIDEA
|
|
|
|
config USB_CHIPIDEA_OF
|
|
tristate
|
|
depends on OF
|
|
default USB_CHIPIDEA
|
|
|
|
config USB_CHIPIDEA_PCI
|
|
tristate
|
|
depends on USB_PCI
|
|
depends on NOP_USB_XCEIV
|
|
default USB_CHIPIDEA
|
|
|
|
config USB_CHIPIDEA_UDC
|
|
bool "ChipIdea device controller"
|
|
depends on USB_GADGET
|
|
help
|
|
Say Y here to enable device controller functionality of the
|
|
ChipIdea driver.
|
|
|
|
config USB_CHIPIDEA_HOST
|
|
bool "ChipIdea host controller"
|
|
depends on USB_EHCI_HCD
|
|
select USB_EHCI_ROOT_HUB_TT
|
|
help
|
|
Say Y here to enable host controller functionality of the
|
|
ChipIdea driver.
|
|
endif
|