18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Makefile for the Linux kernel device drivers. 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci# 15 Sep 2000, Christoph Hellwig <hch@infradead.org> 68c2ecf20Sopenharmony_ci# Rewritten to use lists instead of if-statements. 78c2ecf20Sopenharmony_ci# 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciobj-y += irqchip/ 108c2ecf20Sopenharmony_ciobj-y += bus/ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciobj-$(CONFIG_GENERIC_PHY) += phy/ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci# GPIO must come after pinctrl as gpios may need to mux pins etc 158c2ecf20Sopenharmony_ciobj-$(CONFIG_PINCTRL) += pinctrl/ 168c2ecf20Sopenharmony_ciobj-$(CONFIG_GPIOLIB) += gpio/ 178c2ecf20Sopenharmony_ciobj-y += pwm/ 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciobj-y += pci/ 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciobj-$(CONFIG_PARISC) += parisc/ 228c2ecf20Sopenharmony_ciobj-$(CONFIG_RAPIDIO) += rapidio/ 238c2ecf20Sopenharmony_ciobj-y += video/ 248c2ecf20Sopenharmony_ciobj-y += idle/ 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci# IPMI must come before ACPI in order to provide IPMI opregion support 278c2ecf20Sopenharmony_ciobj-y += char/ipmi/ 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciobj-$(CONFIG_ACPI) += acpi/ 308c2ecf20Sopenharmony_ciobj-$(CONFIG_SFI) += sfi/ 318c2ecf20Sopenharmony_ci# PnP must come after ACPI since it will eventually need to check if acpi 328c2ecf20Sopenharmony_ci# was used and do nothing if so 338c2ecf20Sopenharmony_ciobj-$(CONFIG_PNP) += pnp/ 348c2ecf20Sopenharmony_ciobj-y += amba/ 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciobj-y += clk/ 378c2ecf20Sopenharmony_ci# Many drivers will want to use DMA so this has to be made available 388c2ecf20Sopenharmony_ci# really early. 398c2ecf20Sopenharmony_ciobj-$(CONFIG_DMADEVICES) += dma/ 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci# SOC specific infrastructure drivers. 428c2ecf20Sopenharmony_ciobj-y += soc/ 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciobj-$(CONFIG_VIRTIO) += virtio/ 458c2ecf20Sopenharmony_ciobj-$(CONFIG_VDPA) += vdpa/ 468c2ecf20Sopenharmony_ciobj-$(CONFIG_XEN) += xen/ 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci# regulators early, since some subsystems rely on them to initialize 498c2ecf20Sopenharmony_ciobj-$(CONFIG_REGULATOR) += regulator/ 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci# reset controllers early, since gpu drivers might rely on them to initialize 528c2ecf20Sopenharmony_ciobj-$(CONFIG_RESET_CONTROLLER) += reset/ 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci# tty/ comes before char/ so that the VT console is the boot-time 558c2ecf20Sopenharmony_ci# default. 568c2ecf20Sopenharmony_ciobj-y += tty/ 578c2ecf20Sopenharmony_ciobj-y += char/ 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci# iommu/ comes before gpu as gpu are using iommu controllers 608c2ecf20Sopenharmony_ciobj-y += iommu/ 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci# gpu/ comes after char for AGP vs DRM startup and after iommu 638c2ecf20Sopenharmony_ciobj-y += gpu/ 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ciobj-$(CONFIG_CONNECTOR) += connector/ 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci# i810fb and intelfb depend on char/agp/ 688c2ecf20Sopenharmony_ciobj-$(CONFIG_FB_I810) += video/fbdev/i810/ 698c2ecf20Sopenharmony_ciobj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci# Hyperhold driver 728c2ecf20Sopenharmony_ciobj-$(CONFIG_HYPERHOLD) += hyperhold/ 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ciobj-$(CONFIG_PARPORT) += parport/ 758c2ecf20Sopenharmony_ciobj-$(CONFIG_NVM) += lightnvm/ 768c2ecf20Sopenharmony_ciobj-y += base/ block/ misc/ mfd/ nfc/ 778c2ecf20Sopenharmony_ciobj-$(CONFIG_LIBNVDIMM) += nvdimm/ 788c2ecf20Sopenharmony_ciobj-$(CONFIG_DAX) += dax/ 798c2ecf20Sopenharmony_ciobj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/ 808c2ecf20Sopenharmony_ciobj-$(CONFIG_NUBUS) += nubus/ 818c2ecf20Sopenharmony_ciobj-y += macintosh/ 828c2ecf20Sopenharmony_ciobj-$(CONFIG_IDE) += ide/ 838c2ecf20Sopenharmony_ciobj-y += scsi/ 848c2ecf20Sopenharmony_ciobj-y += nvme/ 858c2ecf20Sopenharmony_ciobj-$(CONFIG_ATA) += ata/ 868c2ecf20Sopenharmony_ciobj-$(CONFIG_TARGET_CORE) += target/ 878c2ecf20Sopenharmony_ciobj-$(CONFIG_MTD) += mtd/ 888c2ecf20Sopenharmony_ciobj-$(CONFIG_SPI) += spi/ 898c2ecf20Sopenharmony_ciobj-$(CONFIG_SPMI) += spmi/ 908c2ecf20Sopenharmony_ciobj-$(CONFIG_HSI) += hsi/ 918c2ecf20Sopenharmony_ciobj-$(CONFIG_SLIMBUS) += slimbus/ 928c2ecf20Sopenharmony_ciobj-y += net/ 938c2ecf20Sopenharmony_ciobj-$(CONFIG_ATM) += atm/ 948c2ecf20Sopenharmony_ciobj-$(CONFIG_FUSION) += message/ 958c2ecf20Sopenharmony_ciobj-y += firewire/ 968c2ecf20Sopenharmony_ciobj-$(CONFIG_UIO) += uio/ 978c2ecf20Sopenharmony_ciobj-$(CONFIG_VFIO) += vfio/ 988c2ecf20Sopenharmony_ciobj-y += cdrom/ 998c2ecf20Sopenharmony_ciobj-y += auxdisplay/ 1008c2ecf20Sopenharmony_ciobj-$(CONFIG_PCCARD) += pcmcia/ 1018c2ecf20Sopenharmony_ciobj-$(CONFIG_DIO) += dio/ 1028c2ecf20Sopenharmony_ciobj-$(CONFIG_SBUS) += sbus/ 1038c2ecf20Sopenharmony_ciobj-$(CONFIG_ZORRO) += zorro/ 1048c2ecf20Sopenharmony_ciobj-$(CONFIG_ATA_OVER_ETH) += block/aoe/ 1058c2ecf20Sopenharmony_ciobj-$(CONFIG_PARIDE) += block/paride/ 1068c2ecf20Sopenharmony_ciobj-$(CONFIG_TC) += tc/ 1078c2ecf20Sopenharmony_ciobj-$(CONFIG_USB_PHY) += usb/ 1088c2ecf20Sopenharmony_ciobj-$(CONFIG_USB) += usb/ 1098c2ecf20Sopenharmony_ciobj-$(CONFIG_USB_SUPPORT) += usb/ 1108c2ecf20Sopenharmony_ciobj-$(CONFIG_PCI) += usb/ 1118c2ecf20Sopenharmony_ciobj-$(CONFIG_USB_GADGET) += usb/ 1128c2ecf20Sopenharmony_ciobj-$(CONFIG_OF) += usb/ 1138c2ecf20Sopenharmony_ciobj-$(CONFIG_SERIO) += input/serio/ 1148c2ecf20Sopenharmony_ciobj-$(CONFIG_GAMEPORT) += input/gameport/ 1158c2ecf20Sopenharmony_ciobj-$(CONFIG_INPUT) += input/ 1168c2ecf20Sopenharmony_ciobj-$(CONFIG_RTC_LIB) += rtc/ 1178c2ecf20Sopenharmony_ciobj-y += i2c/ i3c/ media/ 1188c2ecf20Sopenharmony_ciobj-$(CONFIG_PPS) += pps/ 1198c2ecf20Sopenharmony_ciobj-y += ptp/ 1208c2ecf20Sopenharmony_ciobj-$(CONFIG_W1) += w1/ 1218c2ecf20Sopenharmony_ciobj-y += power/ 1228c2ecf20Sopenharmony_ciobj-$(CONFIG_HWMON) += hwmon/ 1238c2ecf20Sopenharmony_ciobj-$(CONFIG_THERMAL) += thermal/ 1248c2ecf20Sopenharmony_ciobj-$(CONFIG_WATCHDOG) += watchdog/ 1258c2ecf20Sopenharmony_ciobj-$(CONFIG_MD) += md/ 1268c2ecf20Sopenharmony_ciobj-$(CONFIG_BT) += bluetooth/ 1278c2ecf20Sopenharmony_ciobj-$(CONFIG_ACCESSIBILITY) += accessibility/ 1288c2ecf20Sopenharmony_ciobj-$(CONFIG_ISDN) += isdn/ 1298c2ecf20Sopenharmony_ciobj-$(CONFIG_EDAC) += edac/ 1308c2ecf20Sopenharmony_ciobj-$(CONFIG_EISA) += eisa/ 1318c2ecf20Sopenharmony_ciobj-$(CONFIG_PM_OPP) += opp/ 1328c2ecf20Sopenharmony_ciobj-$(CONFIG_CPU_FREQ) += cpufreq/ 1338c2ecf20Sopenharmony_ciobj-$(CONFIG_CPU_IDLE) += cpuidle/ 1348c2ecf20Sopenharmony_ciobj-y += mmc/ 1358c2ecf20Sopenharmony_ciobj-$(CONFIG_MEMSTICK) += memstick/ 1368c2ecf20Sopenharmony_ciobj-$(CONFIG_NEW_LEDS) += leds/ 1378c2ecf20Sopenharmony_ciobj-$(CONFIG_INFINIBAND) += infiniband/ 1388c2ecf20Sopenharmony_ciobj-y += firmware/ 1398c2ecf20Sopenharmony_ciobj-$(CONFIG_CRYPTO) += crypto/ 1408c2ecf20Sopenharmony_ciobj-$(CONFIG_SUPERH) += sh/ 1418c2ecf20Sopenharmony_ciifndef CONFIG_ARCH_USES_GETTIMEOFFSET 1428c2ecf20Sopenharmony_ciobj-y += clocksource/ 1438c2ecf20Sopenharmony_ciendif 1448c2ecf20Sopenharmony_ciobj-$(CONFIG_DCA) += dca/ 1458c2ecf20Sopenharmony_ciobj-$(CONFIG_HID) += hid/ 1468c2ecf20Sopenharmony_ciobj-$(CONFIG_PPC_PS3) += ps3/ 1478c2ecf20Sopenharmony_ciobj-$(CONFIG_OF) += of/ 1488c2ecf20Sopenharmony_ciobj-$(CONFIG_SSB) += ssb/ 1498c2ecf20Sopenharmony_ciobj-$(CONFIG_BCMA) += bcma/ 1508c2ecf20Sopenharmony_ciobj-$(CONFIG_VHOST_RING) += vhost/ 1518c2ecf20Sopenharmony_ciobj-$(CONFIG_VHOST_IOTLB) += vhost/ 1528c2ecf20Sopenharmony_ciobj-$(CONFIG_VHOST) += vhost/ 1538c2ecf20Sopenharmony_ciobj-$(CONFIG_VLYNQ) += vlynq/ 1548c2ecf20Sopenharmony_ciobj-$(CONFIG_GREYBUS) += greybus/ 1558c2ecf20Sopenharmony_ciobj-$(CONFIG_STAGING) += staging/ 1568c2ecf20Sopenharmony_ciobj-y += platform/ 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_ciobj-$(CONFIG_MAILBOX) += mailbox/ 1598c2ecf20Sopenharmony_ciobj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 1608c2ecf20Sopenharmony_ciobj-$(CONFIG_REMOTEPROC) += remoteproc/ 1618c2ecf20Sopenharmony_ciobj-$(CONFIG_RPMSG) += rpmsg/ 1628c2ecf20Sopenharmony_ciobj-$(CONFIG_SOUNDWIRE) += soundwire/ 1638c2ecf20Sopenharmony_ci 1648c2ecf20Sopenharmony_ci# Virtualization drivers 1658c2ecf20Sopenharmony_ciobj-$(CONFIG_VIRT_DRIVERS) += virt/ 1668c2ecf20Sopenharmony_ciobj-$(CONFIG_HYPERV) += hv/ 1678c2ecf20Sopenharmony_ci 1688c2ecf20Sopenharmony_ciobj-$(CONFIG_PM_DEVFREQ) += devfreq/ 1698c2ecf20Sopenharmony_ciobj-$(CONFIG_EXTCON) += extcon/ 1708c2ecf20Sopenharmony_ciobj-$(CONFIG_MEMORY) += memory/ 1718c2ecf20Sopenharmony_ciobj-$(CONFIG_IIO) += iio/ 1728c2ecf20Sopenharmony_ciobj-$(CONFIG_VME_BUS) += vme/ 1738c2ecf20Sopenharmony_ciobj-$(CONFIG_IPACK_BUS) += ipack/ 1748c2ecf20Sopenharmony_ciobj-$(CONFIG_NTB) += ntb/ 1758c2ecf20Sopenharmony_ciobj-$(CONFIG_POWERCAP) += powercap/ 1768c2ecf20Sopenharmony_ciobj-$(CONFIG_MCB) += mcb/ 1778c2ecf20Sopenharmony_ciobj-$(CONFIG_PERF_EVENTS) += perf/ 1788c2ecf20Sopenharmony_ciobj-$(CONFIG_RAS) += ras/ 1798c2ecf20Sopenharmony_ciobj-$(CONFIG_USB4) += thunderbolt/ 1808c2ecf20Sopenharmony_ciobj-$(CONFIG_CORESIGHT) += hwtracing/coresight/ 1818c2ecf20Sopenharmony_ciobj-y += hwtracing/intel_th/ 1828c2ecf20Sopenharmony_ciobj-$(CONFIG_STM) += hwtracing/stm/ 1838c2ecf20Sopenharmony_ciobj-$(CONFIG_ANDROID) += android/ 1848c2ecf20Sopenharmony_ciobj-$(CONFIG_NVMEM) += nvmem/ 1858c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA) += fpga/ 1868c2ecf20Sopenharmony_ciobj-$(CONFIG_FSI) += fsi/ 1878c2ecf20Sopenharmony_ciobj-$(CONFIG_TEE) += tee/ 1888c2ecf20Sopenharmony_ciobj-$(CONFIG_AUTHORITY_CTRL) += auth_ctl/ 1898c2ecf20Sopenharmony_ciobj-$(CONFIG_MULTIPLEXER) += mux/ 1908c2ecf20Sopenharmony_ciobj-$(CONFIG_UNISYS_VISORBUS) += visorbus/ 1918c2ecf20Sopenharmony_ciobj-$(CONFIG_SIOX) += siox/ 1928c2ecf20Sopenharmony_ciobj-$(CONFIG_GNSS) += gnss/ 1938c2ecf20Sopenharmony_ciobj-$(CONFIG_INTERCONNECT) += interconnect/ 1948c2ecf20Sopenharmony_ciobj-$(CONFIG_COUNTER) += counter/ 1958c2ecf20Sopenharmony_ciobj-$(CONFIG_MOST) += most/ 1968c2ecf20Sopenharmony_ciobj-$(CONFIG_ACCESS_TOKENID) += accesstokenid/ 1978c2ecf20Sopenharmony_ciobj-$(CONFIG_VENDOR_HOOKS) += hooks/ 1988c2ecf20Sopenharmony_ciobj-$(CONFIG_HCK_VENDOR_HOOKS) += hck/ 199