xref: /openbmc/linux/drivers/usb/host/Makefile (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
37586269cSDavid Brownell# Makefile for USB Host Controller Drivers
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
684a99f6fSXenia Ragiadakou# tell define_trace.h where to find the xhci trace header
784a99f6fSXenia RagiadakouCFLAGS_xhci-trace.o := -I$(src)
884a99f6fSXenia Ragiadakou
90a2b8a0dSmatt mooneyfhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
100a2b8a0dSmatt mooneyfhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
110a2b8a0dSmatt mooney
120a2b8a0dSmatt mooneyfhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
130a2b8a0dSmatt mooney
14fa31b3cbSHans de Goedexhci-hcd-y := xhci.o xhci-mem.o xhci-ext-caps.o
150a2b8a0dSmatt mooneyxhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
1684a99f6fSXenia Ragiadakouxhci-hcd-y += xhci-trace.o
17dfba2174SLu Baolu
18dfba2174SLu Baoluifneq ($(CONFIG_USB_XHCI_DBGCAP), )
19dfba2174SLu Baolu	xhci-hcd-y += xhci-dbgcap.o xhci-dbgtty.o
20dfba2174SLu Baoluendif
21dfba2174SLu Baolu
2214295a15SChunfeng Yunxhci-mtk-hcd-y := xhci-mtk.o xhci-mtk-sch.o
23db11e47dSSebastian Siewior
2429e409f0SAndrew Brestickerxhci-plat-hcd-y := xhci-plat.o
2597374792SGregory CLEMENTifneq ($(CONFIG_USB_XHCI_MVEBU), )
2629e409f0SAndrew Bresticker	xhci-plat-hcd-y		+= xhci-mvebu.o
2797374792SGregory CLEMENTendif
2802b6fdc2SLu Baoluifneq ($(CONFIG_DEBUG_FS),)
2902b6fdc2SLu Baolu	xhci-hcd-y		+= xhci-debugfs.o
3002b6fdc2SLu Baoluendif
3102b6fdc2SLu Baolu
32*ec5499d3SArnd Bergmannxhci-rcar-hcd-y				+= xhci-rcar.o
33*ec5499d3SArnd Bergmannxhci-rcar-hcd-$(CONFIG_USB_XHCI_RZV2M)	+= xhci-rzv2m.o
34*ec5499d3SArnd Bergmann
352c93e790Syuan linyuobj-$(CONFIG_USB_PCI)	+= pci-quirks.o
367586269cSDavid Brownell
371da177e4SLinus Torvaldsobj-$(CONFIG_USB_EHCI_HCD)	+= ehci-hcd.o
38adfa79d1SAlan Sternobj-$(CONFIG_USB_EHCI_PCI)	+= ehci-pci.o
3999f91934SAlan Sternobj-$(CONFIG_USB_EHCI_HCD_PLATFORM)	+= ehci-platform.o
40df44831eSAvi Fishmanobj-$(CONFIG_USB_EHCI_HCD_NPCM7XX)	+= ehci-npcm7xx.o
4154a41966SAlan Sternobj-$(CONFIG_USB_EHCI_HCD_OMAP)	+= ehci-omap.o
42a76dd463SManjunath Goudarobj-$(CONFIG_USB_EHCI_HCD_ORION)	+= ehci-orion.o
437675d6baSManjunath Goudarobj-$(CONFIG_USB_EHCI_HCD_SPEAR)	+= ehci-spear.o
444ed9a3d4SPaul Bolleobj-$(CONFIG_USB_EHCI_HCD_STI)	+= ehci-st.o
4529824c16SJingoo Hanobj-$(CONFIG_USB_EHCI_EXYNOS)	+= ehci-exynos.o
4697736961SManjunath Goudarobj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
47c33f4f24SAl Cooperobj-$(CONFIG_USB_EHCI_BRCMSTB)	+= ehci-brcm.o
48adfa79d1SAlan Stern
49b92a78e5SRodolfo Giomettiobj-$(CONFIG_USB_OXU210HP_HCD)	+= oxu210hp-hcd.o
504808a1c0SOlav Kongasobj-$(CONFIG_USB_ISP116X_HCD)	+= isp116x-hcd.o
51a9d43091SLothar Wassmannobj-$(CONFIG_USB_ISP1362_HCD)	+= isp1362-hcd.o
52c1117afbSManjunath Goudar
531da177e4SLinus Torvaldsobj-$(CONFIG_USB_OHCI_HCD)	+= ohci-hcd.o
54c1117afbSManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_PCI)	+= ohci-pci.o
55928fb68eSManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_PLATFORM)	+= ohci-platform.o
5650a97e05SManjunath Goudarobj-$(CONFIG_USB_OHCI_EXYNOS)	+= ohci-exynos.o
57de57a154SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_OMAP1)	+= ohci-omap.o
581cc6ac59SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_SPEAR)	+= ohci-spear.o
59905e300eSArnd Bergmannobj-$(CONFIG_USB_OHCI_HCD_STI)	+= ohci-st.o
60e3825b48SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_AT91)	+= ohci-at91.o
61f23b71f3SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_S3C2410)	+= ohci-s3c2410.o
6230330b8fSManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_LPC32XX)	+= ohci-nxp.o
63b8ad5c37SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_PXA27X)	+= ohci-pxa27x.o
646c21caa3SManjunath Goudarobj-$(CONFIG_USB_OHCI_HCD_DAVINCI)	+= ohci-da8xx.o
659dbdac02SArtur Bujdosoobj-$(CONFIG_USB_OCTEON_HCD)	+= octeon-hcd.o
66c1117afbSManjunath Goudar
671da177e4SLinus Torvaldsobj-$(CONFIG_USB_UHCI_HCD)	+= uhci-hcd.o
68236dd4d1SAnton Vorontsovobj-$(CONFIG_USB_FHCI_HCD)	+= fhci.o
69bc75fa38SAlex Chiangobj-$(CONFIG_USB_XHCI_HCD)	+= xhci-hcd.o
708451a34fSLu, Baoluobj-$(CONFIG_USB_XHCI_PCI)	+= xhci-pci.o
718bd5741eSChristian Lamparterobj-$(CONFIG_USB_XHCI_PCI_RENESAS)	+= xhci-pci-renesas.o
728451a34fSLu, Baoluobj-$(CONFIG_USB_XHCI_PLATFORM) += xhci-plat-hcd.o
73c508f41dSJianguo Sunobj-$(CONFIG_USB_XHCI_HISTB)	+= xhci-histb.o
74*ec5499d3SArnd Bergmannobj-$(CONFIG_USB_XHCI_RCAR)	+= xhci-rcar-hcd.o
7514295a15SChunfeng Yunobj-$(CONFIG_USB_XHCI_MTK)	+= xhci-mtk-hcd.o
76e84fce0fSThierry Redingobj-$(CONFIG_USB_XHCI_TEGRA)	+= xhci-tegra.o
771da177e4SLinus Torvaldsobj-$(CONFIG_USB_SL811_HCD)	+= sl811-hcd.o
78c6de2b64SDavid Brownellobj-$(CONFIG_USB_SL811_CS)	+= sl811_cs.o
795d304358SYoshihiro Shimodaobj-$(CONFIG_USB_R8A66597_HCD)	+= r8a66597-hcd.o
80d0fc35bcSArnd Bergmannobj-$(CONFIG_USB_FSL_USB2)	+= fsl-mph-dr-of.o
81d0fc35bcSArnd Bergmannobj-$(CONFIG_USB_EHCI_FSL)	+= fsl-mph-dr-of.o
82ca07e1c1SRamneek Mehreshobj-$(CONFIG_USB_EHCI_FSL)	+= ehci-fsl.o
830440fa3dSLubomir Rintelobj-$(CONFIG_USB_EHCI_MV)	+= ehci-mv.o
8462e11d1bSHauke Mehrtensobj-$(CONFIG_USB_HCD_BCMA)	+= bcma-hcd.o
857043c2ccSHauke Mehrtensobj-$(CONFIG_USB_HCD_SSB)	+= ssb-hcd.o
862d53139fSDavid Mosbergerobj-$(CONFIG_USB_MAX3421_HCD)	+= max3421-hcd.o
87494ed399SJuergen Grossobj-$(CONFIG_USB_XEN_HCD)	+= xen-hcd.o
88