2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 OTHER_MENU:=Other modules
10 WATCHDOG_DIR:=watchdog
13 define KernelPackage/6lowpan
14 SUBMENU:=$(OTHER_MENU)
15 TITLE:=6LoWPAN shared code
19 FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
20 AUTOLOAD:=$(call AutoProbe,6lowpan)
23 define KernelPackage/6lowpan/description
24 Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
27 $(eval $(call KernelPackage,6lowpan))
30 define KernelPackage/bluetooth
31 SUBMENU:=$(OTHER_MENU)
32 TITLE:=Bluetooth support
33 DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac +!LINUX_3_18:kmod-regmap +LINUX_4_14:kmod-crypto-ecdh
40 CONFIG_BLUEZ_HCIUART \
52 CONFIG_BT_HCIBTUSB_BCM=n \
55 CONFIG_BT_HCIUART_BCM=n \
56 CONFIG_BT_HCIUART_INTEL=n \
57 CONFIG_BT_HCIUART_H4 \
58 CONFIG_BT_HCIUART_NOKIA=n \
61 $(call AddDepends/rfkill)
63 $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
64 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
65 $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
66 $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
67 $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
68 $(LINUX_DIR)/drivers/bluetooth/btusb.ko
69 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,4.1.0)),1)
71 $(LINUX_DIR)/drivers/bluetooth/btintel.ko
73 AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
76 define KernelPackage/bluetooth/description
77 Kernel support for Bluetooth devices
80 $(eval $(call KernelPackage,bluetooth))
82 define KernelPackage/ath3k
83 SUBMENU:=$(OTHER_MENU)
84 TITLE:=ATH3K Kernel Module support
85 DEPENDS:=+kmod-bluetooth +ar3k-firmware
88 CONFIG_BT_HCIUART_ATH3K=y
89 $(call AddDepends/bluetooth)
91 $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
92 AUTOLOAD:=$(call AutoProbe,ath3k)
95 define KernelPackage/ath3k/description
96 Kernel support for ATH3K Module
99 $(eval $(call KernelPackage,ath3k))
102 define KernelPackage/bluetooth_6lowpan
103 SUBMENU:=$(OTHER_MENU)
104 TITLE:=Bluetooth 6LoWPAN support
105 DEPENDS:=+kmod-6lowpan +kmod-bluetooth
106 KCONFIG:=CONFIG_BT_6LOWPAN
107 FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
108 AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
111 define KernelPackage/bluetooth_6lowpan/description
112 Kernel support for 6LoWPAN over Bluetooth Low Energy devices
115 $(eval $(call KernelPackage,bluetooth_6lowpan))
118 define KernelPackage/btmrvl
119 SUBMENU:=$(OTHER_MENU)
120 TITLE:=Marvell Bluetooth Kernel Module support
121 DEPENDS:=+kmod-mmc +kmod-bluetooth +mwifiex-sdio-firmware
125 $(call AddDepends/bluetooth)
127 $(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
128 $(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
129 AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
132 define KernelPackage/btmrvl/description
133 Kernel support for Marvell SDIO Bluetooth Module
136 $(eval $(call KernelPackage,btmrvl))
139 define KernelPackage/dma-buf
140 SUBMENU:=$(OTHER_MENU)
141 TITLE:=DMA shared buffer support
143 KCONFIG:=CONFIG_DMA_SHARED_BUFFER
144 FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
145 AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
147 $(eval $(call KernelPackage,dma-buf))
150 define KernelPackage/nvmem
151 SUBMENU:=$(OTHER_MENU)
152 TITLE:=Non Volatile Memory support
153 KCONFIG:=CONFIG_NVMEM
155 FILES:=$(LINUX_DIR)/drivers/nvmem/nvmem_core.ko@ge4.9
158 define KernelPackage/nvmem/description
159 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES, etc.
162 $(eval $(call KernelPackage,nvmem))
164 define KernelPackage/eeprom-93cx6
165 SUBMENU:=$(OTHER_MENU)
166 TITLE:=EEPROM 93CX6 support
167 KCONFIG:=CONFIG_EEPROM_93CX6
168 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
169 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
172 define KernelPackage/eeprom-93cx6/description
173 Kernel module for EEPROM 93CX6 support
176 $(eval $(call KernelPackage,eeprom-93cx6))
179 define KernelPackage/eeprom-at24
180 SUBMENU:=$(OTHER_MENU)
181 TITLE:=EEPROM AT24 support
182 KCONFIG:=CONFIG_EEPROM_AT24
183 DEPENDS:=+kmod-i2c-core +kmod-nvmem
184 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
185 AUTOLOAD:=$(call AutoProbe,at24)
188 define KernelPackage/eeprom-at24/description
189 Kernel module for most I2C EEPROMs
192 $(eval $(call KernelPackage,eeprom-at24))
195 define KernelPackage/eeprom-at25
196 SUBMENU:=$(OTHER_MENU)
197 TITLE:=EEPROM AT25 support
198 KCONFIG:=CONFIG_EEPROM_AT25
200 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
201 AUTOLOAD:=$(call AutoProbe,at25)
204 define KernelPackage/eeprom-at25/description
205 Kernel module for most SPI EEPROMs
208 $(eval $(call KernelPackage,eeprom-at25))
211 define KernelPackage/gpio-dev
212 SUBMENU:=$(OTHER_MENU)
213 TITLE:=Generic GPIO char device support
214 DEPENDS:=@GPIO_SUPPORT
215 KCONFIG:=CONFIG_GPIO_DEVICE
216 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
217 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
220 define KernelPackage/gpio-dev/description
221 Kernel module to allows control of GPIO pins using a character device.
224 $(eval $(call KernelPackage,gpio-dev))
227 define KernelPackage/gpio-mcp23s08
228 SUBMENU:=$(OTHER_MENU)
229 TITLE:=Microchip MCP23xxx I/O expander
230 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
231 KCONFIG:=CONFIG_GPIO_MCP23S08
232 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
233 AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
236 define KernelPackage/gpio-mcp23s08/description
237 Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
240 $(eval $(call KernelPackage,gpio-mcp23s08))
243 define KernelPackage/gpio-nxp-74hc164
244 SUBMENU:=$(OTHER_MENU)
245 TITLE:=NXP 74HC164 GPIO expander support
246 KCONFIG:=CONFIG_GPIO_74X164
247 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-74x164.ko
248 AUTOLOAD:=$(call AutoProbe,gpio-74x164)
251 define KernelPackage/gpio-nxp-74hc164/description
252 Kernel module for NXP 74HC164 GPIO expander
255 $(eval $(call KernelPackage,gpio-nxp-74hc164))
257 define KernelPackage/gpio-pca953x
258 SUBMENU:=$(OTHER_MENU)
259 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
260 TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
261 KCONFIG:=CONFIG_GPIO_PCA953X
262 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
263 AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
266 define KernelPackage/gpio-pca953x/description
267 Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
268 PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
271 $(eval $(call KernelPackage,gpio-pca953x))
273 define KernelPackage/gpio-pcf857x
274 SUBMENU:=$(OTHER_MENU)
275 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
276 TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
277 KCONFIG:=CONFIG_GPIO_PCF857X
278 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
279 AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
282 define KernelPackage/gpio-pcf857x/description
283 Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
286 $(eval $(call KernelPackage,gpio-pcf857x))
289 define KernelPackage/ppdev
290 SUBMENU:=$(OTHER_MENU)
291 TITLE:=Parallel port support
296 $(LINUX_DIR)/drivers/parport/parport.ko \
297 $(LINUX_DIR)/drivers/char/ppdev.ko
298 AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
301 $(eval $(call KernelPackage,ppdev))
304 define KernelPackage/parport-pc
305 SUBMENU:=$(OTHER_MENU)
306 TITLE:=Parallel port interface (PC-style) support
311 CONFIG_PARPORT_1284=y \
312 CONFIG_PARPORT_PC_FIFO=y \
313 CONFIG_PARPORT_PC_PCMCIA=n \
314 CONFIG_PARPORT_PC_SUPERIO=y \
315 CONFIG_PARPORT_SERIAL=n \
320 $(LINUX_DIR)/drivers/parport/parport_pc.ko
321 AUTOLOAD:=$(call AutoLoad,51,parport_pc)
324 $(eval $(call KernelPackage,parport-pc))
327 define KernelPackage/lp
328 SUBMENU:=$(OTHER_MENU)
329 TITLE:=Parallel port line printer device support
334 $(LINUX_DIR)/drivers/char/lp.ko
335 AUTOLOAD:=$(call AutoLoad,52,lp)
338 $(eval $(call KernelPackage,lp))
341 define KernelPackage/mmc
342 SUBMENU:=$(OTHER_MENU)
343 TITLE:=MMC/SD Card Support
344 DEPENDS:=@!TARGET_uml
349 CONFIG_MMC_UNSAFE_RESUME=n \
350 CONFIG_MMC_BLOCK_BOUNCE=y \
351 CONFIG_MMC_TIFM_SD=n \
355 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
356 $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko@lt4.10 \
357 $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko@ge4.10
358 AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
361 define KernelPackage/mmc/description
362 Kernel support for MMC/SD cards
365 $(eval $(call KernelPackage,mmc))
368 define KernelPackage/sdhci
369 SUBMENU:=$(OTHER_MENU)
370 TITLE:=Secure Digital Host Controller Interface support
374 CONFIG_MMC_SDHCI_PLTFM \
375 CONFIG_MMC_SDHCI_PCI=n
377 $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
378 $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
380 AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
383 define KernelPackage/sdhci/description
384 Kernel support for SDHCI Hosts
387 $(eval $(call KernelPackage,sdhci))
390 define KernelPackage/rfkill
391 SUBMENU:=$(OTHER_MENU)
392 TITLE:=RF switch subsystem support
393 DEPENDS:=@USE_RFKILL +kmod-input-core
396 CONFIG_RFKILL_INPUT=y \
399 $(LINUX_DIR)/net/rfkill/rfkill.ko
400 AUTOLOAD:=$(call AutoLoad,20,rfkill)
403 define KernelPackage/rfkill/description
404 Say Y here if you want to have control over RF switches
405 found on many WiFi and Bluetooth cards
408 $(eval $(call KernelPackage,rfkill))
411 define KernelPackage/softdog
412 SUBMENU:=$(OTHER_MENU)
413 TITLE:=Software watchdog driver
414 KCONFIG:=CONFIG_SOFT_WATCHDOG \
415 CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
416 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
417 AUTOLOAD:=$(call AutoLoad,50,softdog,1)
420 define KernelPackage/softdog/description
421 Software watchdog driver
424 $(eval $(call KernelPackage,softdog))
427 define KernelPackage/ssb
428 SUBMENU:=$(OTHER_MENU)
429 TITLE:=Silicon Sonics Backplane glue code
430 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
433 CONFIG_SSB_B43_PCI_BRIDGE=y \
434 CONFIG_SSB_DRIVER_MIPS=n \
435 CONFIG_SSB_DRIVER_PCICORE=y \
436 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
437 CONFIG_SSB_PCIHOST=y \
438 CONFIG_SSB_PCIHOST_POSSIBLE=y \
439 CONFIG_SSB_POSSIBLE=y \
442 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
443 AUTOLOAD:=$(call AutoLoad,18,ssb,1)
446 define KernelPackage/ssb/description
447 Silicon Sonics Backplane glue code.
450 $(eval $(call KernelPackage,ssb))
453 define KernelPackage/bcma
454 SUBMENU:=$(OTHER_MENU)
456 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_bcm53xx
459 CONFIG_BCMA_POSSIBLE=y \
460 CONFIG_BCMA_BLOCKIO=y \
461 CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
462 CONFIG_BCMA_HOST_PCI=y \
463 CONFIG_BCMA_HOST_SOC=n \
464 CONFIG_BCMA_DRIVER_MIPS=n \
465 CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
466 CONFIG_BCMA_DRIVER_GMAC_CMN=n \
468 FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
469 AUTOLOAD:=$(call AutoLoad,29,bcma)
472 define KernelPackage/bcma/description
473 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
476 $(eval $(call KernelPackage,bcma))
479 define KernelPackage/rtc-ds1307
480 SUBMENU:=$(OTHER_MENU)
481 TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
482 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
483 DEPENDS:=+kmod-i2c-core +LINUX_4_14:kmod-regmap
484 KCONFIG:=CONFIG_RTC_DRV_DS1307 \
486 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
487 AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
490 define KernelPackage/rtc-ds1307/description
491 Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
492 Epson RX-8025 and various other compatible RTC chips connected via I2C.
495 $(eval $(call KernelPackage,rtc-ds1307))
498 define KernelPackage/rtc-ds1374
499 SUBMENU:=$(OTHER_MENU)
500 TITLE:=Dallas/Maxim DS1374 RTC support
501 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
502 DEPENDS:=+kmod-i2c-core
503 KCONFIG:=CONFIG_RTC_DRV_DS1374 \
504 CONFIG_RTC_DRV_DS1374_WDT=n \
506 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
507 AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
510 define KernelPackage/rtc-ds1374/description
511 Kernel module for Dallas/Maxim DS1374.
514 $(eval $(call KernelPackage,rtc-ds1374))
517 define KernelPackage/rtc-ds1672
518 SUBMENU:=$(OTHER_MENU)
519 TITLE:=Dallas/Maxim DS1672 RTC support
520 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
521 DEPENDS:=+kmod-i2c-core
522 KCONFIG:=CONFIG_RTC_DRV_DS1672 \
524 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
525 AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
528 define KernelPackage/rtc-ds1672/description
529 Kernel module for Dallas/Maxim DS1672 RTC.
532 $(eval $(call KernelPackage,rtc-ds1672))
535 define KernelPackage/rtc-isl1208
536 SUBMENU:=$(OTHER_MENU)
537 TITLE:=Intersil ISL1208 RTC support
538 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
539 DEPENDS:=+kmod-i2c-core
540 KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
542 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
543 AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
546 define KernelPackage/rtc-isl1208/description
547 Kernel module for Intersil ISL1208 RTC.
550 $(eval $(call KernelPackage,rtc-isl1208))
553 define KernelPackage/rtc-pcf8563
554 SUBMENU:=$(OTHER_MENU)
555 TITLE:=Philips PCF8563/Epson RTC8564 RTC support
556 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
557 DEPENDS:=+kmod-i2c-core
558 KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
560 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
561 AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
564 define KernelPackage/rtc-pcf8563/description
565 Kernel module for Philips PCF8563 RTC chip.
566 The Epson RTC8564 should work as well.
569 $(eval $(call KernelPackage,rtc-pcf8563))
572 define KernelPackage/rtc-pcf2123
573 SUBMENU:=$(OTHER_MENU)
574 TITLE:=Philips PCF2123 RTC support
575 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
576 KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
578 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
579 AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
582 define KernelPackage/rtc-pcf2123/description
583 Kernel module for Philips PCF2123 RTC chip
586 $(eval $(call KernelPackage,rtc-pcf2123))
588 define KernelPackage/rtc-pt7c4338
589 SUBMENU:=$(OTHER_MENU)
590 TITLE:=Pericom PT7C4338 RTC support
591 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
592 DEPENDS:=+kmod-i2c-core
593 KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
595 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
596 AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
599 define KernelPackage/rtc-pt7c4338/description
600 Kernel module for Pericom PT7C4338 i2c RTC chip
603 $(eval $(call KernelPackage,rtc-pt7c4338))
605 define KernelPackage/rtc-rs5c372a
606 SUBMENU:=$(OTHER_MENU)
607 TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
608 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
609 DEPENDS:=+kmod-i2c-core
610 KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
612 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
613 AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
616 define KernelPackage/rtc-rs5c372a/description
617 Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
620 $(eval $(call KernelPackage,rtc-rs5c372a))
623 define KernelPackage/mtdtests
624 SUBMENU:=$(OTHER_MENU)
625 TITLE:=MTD subsystem tests
626 KCONFIG:=CONFIG_MTD_TESTS
628 $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
629 $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
630 $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
631 $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
632 $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
633 $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
634 $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
635 $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
638 define KernelPackage/mtdtests/description
639 Kernel modules for MTD subsystem/driver testing
642 $(eval $(call KernelPackage,mtdtests))
645 define KernelPackage/mtdoops
646 SUBMENU:=$(OTHER_MENU)
647 TITLE:=Log panic/oops to an MTD buffer
648 KCONFIG:=CONFIG_MTD_OOPS
649 FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
652 define KernelPackage/mtdoops/description
653 Kernel modules for Log panic/oops to an MTD buffer
656 $(eval $(call KernelPackage,mtdoops))
659 define KernelPackage/mtdram
660 SUBMENU:=$(OTHER_MENU)
661 TITLE:=Test MTD driver using RAM
662 KCONFIG:=CONFIG_MTD_MTDRAM \
663 CONFIG_MTDRAM_TOTAL_SIZE=4096 \
664 CONFIG_MTDRAM_ERASE_SIZE=128
665 FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
668 define KernelPackage/mtdram/description
669 Test MTD driver using RAM
672 $(eval $(call KernelPackage,mtdram))
675 define KernelPackage/serial-8250
676 SUBMENU:=$(OTHER_MENU)
678 KCONFIG:= CONFIG_SERIAL_8250 \
679 CONFIG_SERIAL_8250_PCI \
680 CONFIG_SERIAL_8250_NR_UARTS=16 \
681 CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
682 CONFIG_SERIAL_8250_EXTENDED=y \
683 CONFIG_SERIAL_8250_MANY_PORTS=y \
684 CONFIG_SERIAL_8250_SHARE_IRQ=y \
685 CONFIG_SERIAL_8250_DETECT_IRQ=n \
686 CONFIG_SERIAL_8250_RSA=n
688 $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
689 $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4 \
690 $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko@ge4.4)
691 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
694 define KernelPackage/serial-8250/description
695 Kernel module for 8250 UART based serial ports
698 $(eval $(call KernelPackage,serial-8250))
701 define KernelPackage/serial-8250-exar
702 SUBMENU:=$(OTHER_MENU)
703 TITLE:=Exar 8250 UARTs
704 KCONFIG:= CONFIG_SERIAL_8250_EXAR
705 FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
706 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
707 DEPENDS:=+kmod-serial-8250
710 define KernelPackage/serial-8250-exar/description
711 Kernel module for Exar serial ports
714 $(eval $(call KernelPackage,serial-8250-exar))
717 define KernelPackage/regmap
718 SUBMENU:=$(OTHER_MENU)
719 TITLE:=Generic register map support
720 DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
721 KCONFIG:=CONFIG_REGMAP \
727 $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
728 $(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko \
729 $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
730 AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-mmio regmap-spi)
731 ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
732 ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
733 FILES += $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
738 define KernelPackage/regmap/description
739 Generic register map support
742 $(eval $(call KernelPackage,regmap))
744 define KernelPackage/ikconfig
745 SUBMENU:=$(OTHER_MENU)
746 TITLE:=Kernel configuration via /proc/config.gz
747 KCONFIG:=CONFIG_IKCONFIG \
748 CONFIG_IKCONFIG_PROC=y
749 FILES:=$(LINUX_DIR)/kernel/configs.ko
750 AUTOLOAD:=$(call AutoLoad,70,configs)
753 define KernelPackage/ikconfig/description
754 Kernel configuration via /proc/config.gz
757 $(eval $(call KernelPackage,ikconfig))
760 define KernelPackage/zram
761 SUBMENU:=$(OTHER_MENU)
763 DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
767 CONFIG_ZRAM_DEBUG=n \
768 CONFIG_PGTABLE_MAPPING=n \
769 CONFIG_ZRAM_WRITEBACK=n \
770 CONFIG_ZSMALLOC_STAT=n \
771 CONFIG_ZRAM_LZ4_COMPRESS=y
773 $(LINUX_DIR)/mm/zsmalloc.ko \
774 $(LINUX_DIR)/drivers/block/zram/zram.ko
775 AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
778 define KernelPackage/zram/description
779 Compressed RAM block device support
782 $(eval $(call KernelPackage,zram))
785 define KernelPackage/pps
786 SUBMENU:=$(OTHER_MENU)
789 FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
790 AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
793 define KernelPackage/pps/description
794 PPS (Pulse Per Second) is a special pulse provided by some GPS
795 antennae. Userland can use it to get a high-precision time
799 $(eval $(call KernelPackage,pps))
802 define KernelPackage/pps-gpio
803 SUBMENU:=$(OTHER_MENU)
804 TITLE:=PPS client using GPIO
806 KCONFIG:=CONFIG_PPS_CLIENT_GPIO
807 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
808 AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
811 define KernelPackage/pps-gpio/description
812 Support for a PPS source using GPIO. To be useful you must
813 also register a platform device specifying the GPIO pin and
814 other options, usually in your board setup.
817 $(eval $(call KernelPackage,pps-gpio))
820 define KernelPackage/pps-ldisc
821 SUBMENU:=$(OTHER_MENU)
822 TITLE:=PPS line discipline
824 KCONFIG:=CONFIG_PPS_CLIENT_LDISC
825 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
826 AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
829 define KernelPackage/pps-ldisc/description
830 Support for a PPS source connected with the CD (Carrier
831 Detect) pin of your serial port.
834 $(eval $(call KernelPackage,pps-ldisc))
837 define KernelPackage/ptp
838 SUBMENU:=$(OTHER_MENU)
839 TITLE:=PTP clock support
842 CONFIG_PTP_1588_CLOCK \
843 CONFIG_NET_PTP_CLASSIFY=y
844 FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
845 AUTOLOAD:=$(call AutoLoad,18,ptp,1)
848 define KernelPackage/ptp/description
849 The IEEE 1588 standard defines a method to precisely
850 synchronize distributed clocks over Ethernet networks.
853 $(eval $(call KernelPackage,ptp))
856 define KernelPackage/ptp-gianfar
857 SUBMENU:=$(OTHER_MENU)
858 TITLE:=Freescale Gianfar PTP support
859 DEPENDS:=@TARGET_mpc85xx +kmod-ptp
860 KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
861 FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
862 AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
865 define KernelPackage/ptp-gianfar/description
866 Kernel module for IEEE 1588 support for Freescale
867 Gianfar Ethernet drivers
870 $(eval $(call KernelPackage,ptp-gianfar))
873 define KernelPackage/random-core
874 SUBMENU:=$(OTHER_MENU)
875 TITLE:=Hardware Random Number Generator Core support
876 KCONFIG:=CONFIG_HW_RANDOM
877 FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
880 define KernelPackage/random-core/description
881 Kernel module for the HW random number generator core infrastructure
884 $(eval $(call KernelPackage,random-core))
886 define KernelPackage/random-omap
887 SUBMENU:=$(OTHER_MENU)
888 TITLE:=Hardware Random Number Generator OMAP support
889 KCONFIG:=CONFIG_HW_RANDOM_OMAP
890 FILES:=$(LINUX_DIR)/drivers/char/hw_random/omap-rng.ko
891 DEPENDS:=@TARGET_omap24xx +kmod-random-core
892 AUTOLOAD:=$(call AutoProbe,random-omap)
895 define KernelPackage/random-omap/description
896 Kernel module for the OMAP Random Number Generator
897 found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors.
900 $(eval $(call KernelPackage,random-omap))
902 define KernelPackage/random-tpm
903 SUBMENU:=$(OTHER_MENU)
904 TITLE:=Hardware Random Number Generator TPM support
905 KCONFIG:=CONFIG_HW_RANDOM_TPM
906 FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko
907 DEPENDS:= +kmod-random-core +kmod-tpm
908 AUTOLOAD:=$(call AutoProbe,tpm-rng)
911 define KernelPackage/random-tpm/description
912 Kernel module for the Random Number Generator
913 in the Trusted Platform Module.
916 $(eval $(call KernelPackage,random-tpm))
918 define KernelPackage/thermal
919 SUBMENU:=$(OTHER_MENU)
920 TITLE:=Generic Thermal sysfs driver
921 DEPENDS:=+kmod-hwmon-core
925 CONFIG_THERMAL_OF=y \
926 CONFIG_CPU_THERMAL=y \
927 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
928 CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
929 CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
930 CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
931 CONFIG_THERMAL_GOV_FAIR_SHARE=n \
932 CONFIG_THERMAL_GOV_STEP_WISE=y \
933 CONFIG_THERMAL_GOV_USER_SPACE=n \
934 CONFIG_THERMAL_HWMON=y \
935 CONFIG_THERMAL_EMULATION=n
936 FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
937 AUTOLOAD:=$(call AutoProbe,thermal_sys)
940 define KernelPackage/thermal/description
941 Generic Thermal Sysfs driver offers a generic mechanism for thermal
942 management. Usually it's made up of one or more thermal zone and cooling
946 $(eval $(call KernelPackage,thermal))
949 define KernelPackage/gpio-beeper
950 SUBMENU:=$(OTHER_MENU)
951 TITLE:=GPIO beeper support
952 DEPENDS:=+kmod-input-core
954 CONFIG_INPUT_MISC=y \
955 CONFIG_INPUT_GPIO_BEEPER
957 $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
958 AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
961 define KernelPackage/gpio-beeper/description
962 This enables playing beeps through an GPIO-connected buzzer
965 $(eval $(call KernelPackage,gpio-beeper))
968 define KernelPackage/echo
969 SUBMENU:=$(OTHER_MENU)
970 TITLE:=Line Echo Canceller
972 FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
973 AUTOLOAD:=$(call AutoLoad,50,echo)
976 define KernelPackage/echo/description
977 This driver provides line echo cancelling support for mISDN and
981 $(eval $(call KernelPackage,echo))
984 define KernelPackage/bmp085
985 SUBMENU:=$(OTHER_MENU)
986 TITLE:=BMP085/BMP18x pressure sensor
987 DEPENDS:= +kmod-regmap @!LINUX_3_18 @!LINUX_4_1
988 KCONFIG:= CONFIG_BMP085
989 FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
992 define KernelPackage/bmp085/description
993 This driver adds support for Bosch Sensortec's digital pressure
994 sensors BMP085 and BMP18x.
997 $(eval $(call KernelPackage,bmp085))
1000 define KernelPackage/bmp085-i2c
1001 SUBMENU:=$(OTHER_MENU)
1002 TITLE:=BMP085/BMP18x pressure sensor I2C
1003 DEPENDS:= +kmod-bmp085
1004 KCONFIG:= CONFIG_BMP085_I2C
1005 FILES:= $(LINUX_DIR)/drivers/misc/bmp085-i2c.ko
1006 AUTOLOAD:=$(call AutoProbe,bmp085-i2c)
1008 define KernelPackage/bmp085-i2c/description
1009 This driver adds support for Bosch Sensortec's digital pressure
1010 sensor connected via I2C.
1013 $(eval $(call KernelPackage,bmp085-i2c))
1016 define KernelPackage/bmp085-spi
1017 SUBMENU:=$(OTHER_MENU)
1018 TITLE:=BMP085/BMP18x pressure sensor SPI
1019 DEPENDS:= +kmod-bmp085
1020 KCONFIG:= CONFIG_BMP085_SPI
1021 FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
1022 AUTOLOAD:=$(call AutoProbe,bmp085-spi)
1024 define KernelPackage/bmp085-spi/description
1025 This driver adds support for Bosch Sensortec's digital pressure
1026 sensor connected via SPI.
1029 $(eval $(call KernelPackage,bmp085-spi))
1031 define KernelPackage/tpm
1032 SUBMENU:=$(OTHER_MENU)
1033 TITLE:=TPM Hardware Support
1034 KCONFIG:= CONFIG_TCG_TPM
1035 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
1036 AUTOLOAD:=$(call AutoLoad,10,tpm,1)
1039 define KernelPackage/tpm/description
1040 This enables TPM Hardware Support.
1043 $(eval $(call KernelPackage,tpm))
1045 define KernelPackage/tpm-tis
1046 SUBMENU:=$(OTHER_MENU)
1047 TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
1048 DEPENDS:= @TARGET_x86 +kmod-tpm
1049 KCONFIG:= CONFIG_TCG_TIS
1051 $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
1052 $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
1053 AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
1056 define KernelPackage/tpm-tis/description
1057 If you have a TPM security chip that is compliant with the
1058 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
1059 specification (TPM2.0) say Yes and it will be accessible from
1063 $(eval $(call KernelPackage,tpm-tis))
1065 define KernelPackage/tpm-i2c-atmel
1066 SUBMENU:=$(OTHER_MENU)
1067 TITLE:=TPM I2C Atmel Support
1068 DEPENDS:= +kmod-tpm +kmod-i2c-core
1069 KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
1070 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
1071 AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
1074 define KernelPackage/tpm-i2c-atmel/description
1075 This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
1078 $(eval $(call KernelPackage,tpm-i2c-atmel))
1080 define KernelPackage/tpm-i2c-infineon
1081 SUBMENU:=$(OTHER_MENU)
1082 TITLE:= TPM I2C Infineon driver
1083 DEPENDS:= +kmod-tpm +kmod-i2c-core
1084 KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
1085 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
1086 AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
1089 define KernelPackage/tpm-i2c-infineon/description
1090 This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
1093 $(eval $(call KernelPackage,tpm-i2c-infineon))
1096 define KernelPackage/w83627hf-wdt
1097 SUBMENU:=$(OTHER_MENU)
1098 TITLE:=Winbond 83627HF Watchdog Timer
1099 KCONFIG:=CONFIG_W83627HF_WDT
1100 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko
1101 AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
1104 define KernelPackage/w83627hf-wdt/description
1105 Kernel module for Winbond 83627HF Watchdog Timer
1108 $(eval $(call KernelPackage,w83627hf-wdt))
1111 define KernelPackage/itco-wdt
1112 SUBMENU:=$(OTHER_MENU)
1113 TITLE:=Intel iTCO Watchdog Timer
1114 KCONFIG:=CONFIG_ITCO_WDT \
1115 CONFIG_ITCO_VENDOR_SUPPORT=y
1116 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
1117 $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
1118 AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
1121 define KernelPackage/itco-wdt/description
1122 Kernel module for Intel iTCO Watchdog Timer
1125 $(eval $(call KernelPackage,itco-wdt))
1128 define KernelPackage/it87-wdt
1129 SUBMENU:=$(OTHER_MENU)
1130 TITLE:=ITE IT87 Watchdog Timer
1131 KCONFIG:=CONFIG_IT87_WDT
1132 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/it87_wdt.ko
1133 AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
1134 MODPARAMS.it87-wdt:= \
1139 define KernelPackage/it87-wdt/description
1140 Kernel module for ITE IT87 Watchdog Timer
1143 $(eval $(call KernelPackage,it87-wdt))