mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 00:59:39 +07:00
eed97ef39a
The renesas usbhs driver calls extcon_get_edev_by_phandle(), which is defined in drivers/extcon/extcon-class.c, and that can be a loadable module. If the extcon-class support is disabled, usbhs will work correctly for all devices that do not need extcon. However, if extcon-class is a loadable module, and usbhs is built-in, the kernel fails to link. In order to solve that, we need a Kconfig dependency that allows extcon to be disabled but does not allow usbhs built-in if extcon is a module. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
18 lines
580 B
Plaintext
18 lines
580 B
Plaintext
#
|
|
# Renesas USBHS Controller Drivers
|
|
#
|
|
|
|
config USB_RENESAS_USBHS
|
|
tristate 'Renesas USBHS controller'
|
|
depends on USB_GADGET
|
|
depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
|
|
depends on EXTCON || !EXTCON # if EXTCON=m, USBHS cannot be built-in
|
|
default n
|
|
help
|
|
Renesas USBHS is a discrete USB host and peripheral controller chip
|
|
that supports both full and high speed USB 2.0 data transfers.
|
|
It has nine or more configurable endpoints, and endpoint zero.
|
|
|
|
Say "y" to link the driver statically, or "m" to build a
|
|
dynamically linked module called "renesas_usbhs"
|