blob: 171de4df50bdc7694b52c4781418987e5e504190 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
David Brownell75862692005-09-23 17:14:37 -07003# Makefile for USB Host Controller Drivers
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#
5
Xenia Ragiadakou84a99f62013-08-06 00:22:15 +03006# tell define_trace.h where to find the xhci trace header
7CFLAGS_xhci-trace.o := -I$(src)
8
matt mooney0a2b8a02010-10-06 19:03:26 -07009fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
10fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
11
12fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
13
Hans de Goedefa31b3c2018-03-20 15:57:09 +030014xhci-hcd-y := xhci.o xhci-mem.o xhci-ext-caps.o
matt mooney0a2b8a02010-10-06 19:03:26 -070015xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
Xenia Ragiadakou84a99f62013-08-06 00:22:15 +030016xhci-hcd-y += xhci-trace.o
Lu Baoludfba2172017-12-08 17:59:10 +020017
18ifneq ($(CONFIG_USB_XHCI_DBGCAP), )
19 xhci-hcd-y += xhci-dbgcap.o xhci-dbgtty.o
20endif
21
Chunfeng Yun14295a1502021-03-08 10:52:04 +080022xhci-mtk-hcd-y := xhci-mtk.o xhci-mtk-sch.o
Sebastian Siewiordb11e472008-04-24 00:37:04 +020023
Andrew Bresticker29e409f2014-10-03 11:35:29 +030024xhci-plat-hcd-y := xhci-plat.o
Gregory CLEMENT97374792014-05-15 12:17:33 +020025ifneq ($(CONFIG_USB_XHCI_MVEBU), )
Andrew Bresticker29e409f2014-10-03 11:35:29 +030026 xhci-plat-hcd-y += xhci-mvebu.o
Gregory CLEMENT97374792014-05-15 12:17:33 +020027endif
Yoshihiro Shimoda4ac89182014-07-09 10:08:52 +090028ifneq ($(CONFIG_USB_XHCI_RCAR), )
Andrew Bresticker29e409f2014-10-03 11:35:29 +030029 xhci-plat-hcd-y += xhci-rcar.o
Sebastian Andrzej Siewior3429e912012-03-13 16:57:41 +020030endif
31
Lu Baolu02b6fdc2017-10-05 11:21:39 +030032ifneq ($(CONFIG_DEBUG_FS),)
33 xhci-hcd-y += xhci-debugfs.o
34endif
35
yuan linyu2c93e792017-02-25 19:20:55 +080036obj-$(CONFIG_USB_PCI) += pci-quirks.o
David Brownell75862692005-09-23 17:14:37 -070037
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
Alan Sternadfa79d2012-11-01 11:13:04 -040039obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
Alan Stern99f91932012-11-01 11:13:08 -040040obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
Avi Fishmandf448312018-06-20 09:33:04 +030041obj-$(CONFIG_USB_EHCI_HCD_NPCM7XX) += ehci-npcm7xx.o
Alan Stern54a419662013-03-12 12:44:39 +020042obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
Manjunath Goudara76dd462013-04-02 18:23:59 +020043obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
Manjunath Goudar7675d6b2013-04-02 18:24:00 +020044obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
Paul Bolle4ed9a3d2014-10-03 10:21:44 +020045obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
Jingoo Han29824c162013-10-10 16:42:47 +090046obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
Manjunath Goudar97736962013-04-02 18:24:02 +020047obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
Al Cooperc33f4f22020-05-12 11:00:19 -040048obj-$(CONFIG_USB_EHCI_BRCMSTB) += ehci-brcm.o
Alan Sternadfa79d2012-11-01 11:13:04 -040049
Rodolfo Giomettib92a78e2008-10-23 10:08:07 +020050obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o
Olav Kongas4808a1c2005-04-09 22:57:39 +030051obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
Lothar Wassmanna9d43092009-07-16 20:51:21 -040052obj-$(CONFIG_USB_ISP1362_HCD) += isp1362-hcd.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053053
Linus Torvalds1da177e2005-04-16 15:20:36 -070054obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053055obj-$(CONFIG_USB_OHCI_HCD_PCI) += ohci-pci.o
Manjunath Goudar928fb682013-06-03 20:46:08 +053056obj-$(CONFIG_USB_OHCI_HCD_PLATFORM) += ohci-platform.o
Manjunath Goudar50a97e02013-09-21 16:38:38 +053057obj-$(CONFIG_USB_OHCI_EXYNOS) += ohci-exynos.o
Manjunath Goudarde57a152013-09-21 16:38:39 +053058obj-$(CONFIG_USB_OHCI_HCD_OMAP1) += ohci-omap.o
Manjunath Goudar1cc6ac52013-09-21 16:38:41 +053059obj-$(CONFIG_USB_OHCI_HCD_SPEAR) += ohci-spear.o
Arnd Bergmann905e3002014-09-29 14:54:34 +020060obj-$(CONFIG_USB_OHCI_HCD_STI) += ohci-st.o
Manjunath Goudare3825b42013-09-21 16:38:42 +053061obj-$(CONFIG_USB_OHCI_HCD_AT91) += ohci-at91.o
Manjunath Goudarf23b71f2013-09-21 16:38:43 +053062obj-$(CONFIG_USB_OHCI_HCD_S3C2410) += ohci-s3c2410.o
Manjunath Goudar30330b82013-09-21 16:38:44 +053063obj-$(CONFIG_USB_OHCI_HCD_LPC32XX) += ohci-nxp.o
Manjunath Goudarb8ad5c32013-09-21 16:38:46 +053064obj-$(CONFIG_USB_OHCI_HCD_PXA27X) += ohci-pxa27x.o
Manjunath Goudar6c21caa2016-10-27 15:52:29 +020065obj-$(CONFIG_USB_OHCI_HCD_DAVINCI) += ohci-da8xx.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053066
Linus Torvalds1da177e2005-04-16 15:20:36 -070067obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
Anton Vorontsov236dd4d2009-01-10 05:03:21 +030068obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
Alex Chiangbc75fa32010-03-16 14:48:45 -060069obj-$(CONFIG_USB_XHCI_HCD) += xhci-hcd.o
Lu, Baolu8451a342015-10-09 13:30:10 +030070obj-$(CONFIG_USB_XHCI_PCI) += xhci-pci.o
Christian Lamparter8bd57412020-05-14 17:50:37 +053071obj-$(CONFIG_USB_XHCI_PCI_RENESAS) += xhci-pci-renesas.o
Lu, Baolu8451a342015-10-09 13:30:10 +030072obj-$(CONFIG_USB_XHCI_PLATFORM) += xhci-plat-hcd.o
Jianguo Sunc508f41d2018-05-21 16:39:51 +030073obj-$(CONFIG_USB_XHCI_HISTB) += xhci-histb.o
Chunfeng Yun14295a1502021-03-08 10:52:04 +080074obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk-hcd.o
Thierry Redinge84fce02016-02-11 18:10:48 +010075obj-$(CONFIG_USB_XHCI_TEGRA) += xhci-tegra.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070076obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
David Brownellc6de2b62005-05-26 05:55:55 -070077obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
Tony Olechd774efe2006-09-13 11:27:35 +010078obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
Yoshihiro Shimoda5d304352007-05-10 13:18:19 +090079obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
Arnd Bergmannd0fc35bc2016-01-28 17:20:54 +010080obj-$(CONFIG_USB_FSL_USB2) += fsl-mph-dr-of.o
81obj-$(CONFIG_USB_EHCI_FSL) += fsl-mph-dr-of.o
Ramneek Mehreshca07e1c2015-05-14 19:04:46 +053082obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
Lubomir Rintel0440fa32018-08-22 22:42:56 +020083obj-$(CONFIG_USB_EHCI_MV) += ehci-mv.o
Hauke Mehrtens62e11d12012-03-15 23:49:57 +010084obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o
Hauke Mehrtens7043c2c2012-03-15 23:49:58 +010085obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o
Feng-Hsin Chiang7d501952013-07-29 16:48:32 +000086obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
David Mosberger2d531392014-04-28 22:14:07 -060087obj-$(CONFIG_USB_MAX3421_HCD) += max3421-hcd.o