i.MX usb controllers share non-core registers, which may include SoC specific controls. We turn it into a usbmisc device and usbmisc driver set operations needed by ci13xxx_imx driver. For example, Sabrelite board has bad over-current design, we can usbmisc to disable over-current detection. Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
493 B
Makefile
20 lines
493 B
Makefile
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
ci_hdrc-y := core.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
|
|
|
|
# Glue/Bridge layers go here
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
|
|
|
|
# PCI doesn't provide stubs, need to check
|
|
ifneq ($(CONFIG_PCI),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_OF_DEVICE),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_imx.o usbmisc_imx6q.o
|
|
endif
|