drivers/usb/chipidea/Makefile

Source file repositories/reference/linux-study-clean/drivers/usb/chipidea/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/usb/chipidea/Makefile
Extension
[no extension]
Size
695 bytes
Lines
20
Domain
Driver Families
Bucket
drivers/usb
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0

# define_trace.h needs to know how to find our header
CFLAGS_trace.o			:= -I$(src)
obj-$(CONFIG_USB_CHIPIDEA)		+= ci_hdrc.o

ci_hdrc-y				:= core.o otg.o debug.o ulpi.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC)	+= udc.o trace.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST)	+= host.o
ci_hdrc-$(CONFIG_USB_OTG_FSM)		+= otg_fsm.o

# Glue/Bridge layers go here

obj-$(CONFIG_USB_CHIPIDEA_GENERIC)	+= ci_hdrc_usb2.o
obj-$(CONFIG_USB_CHIPIDEA_MSM)		+= ci_hdrc_msm.o
obj-$(CONFIG_USB_CHIPIDEA_NPCM)		+= ci_hdrc_npcm.o
obj-$(CONFIG_USB_CHIPIDEA_PCI)		+= ci_hdrc_pci.o
obj-$(CONFIG_USB_CHIPIDEA_IMX)		+= usbmisc_imx.o ci_hdrc_imx.o
obj-$(CONFIG_USB_CHIPIDEA_TEGRA)	+= ci_hdrc_tegra.o

Annotation

Implementation Notes