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
16 KCONFIG:=CONFIG_6LOWPAN
17 FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
18 AUTOLOAD:=$(call AutoProbe,6lowpan)
21 define KernelPackage/6lowpan/description
22 Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
25 $(eval $(call KernelPackage,6lowpan))
28 define KernelPackage/bluetooth
29 SUBMENU:=$(OTHER_MENU)
30 TITLE:=Bluetooth support
31 DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-lib-crc16 +kmod-hid
38 CONFIG_BLUEZ_HCIUART \
49 CONFIG_BT_HCIUART_H4 \
52 $(call AddDepends/rfkill)
54 $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
55 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
56 $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
57 $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
58 $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
59 $(LINUX_DIR)/drivers/bluetooth/btusb.ko
60 AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
63 define KernelPackage/bluetooth/description
64 Kernel support for Bluetooth devices
67 $(eval $(call KernelPackage,bluetooth))
70 define KernelPackage/bluetooth_6lowpan
71 SUBMENU:=$(OTHER_MENU)
72 TITLE:=Bluetooth 6LoWPAN support
73 DEPENDS:=+kmod-6lowpan +kmod-bluetooth
74 KCONFIG:=CONFIG_BT_6LOWPAN
75 FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
76 AUTOLOAD:=$(call AutoProbe,bluetooth)
79 define KernelPackage/bluetooth_6lowpan/description
80 Kernel support for 6LoWPAN over Bluetooth Low Energy devices
83 $(eval $(call KernelPackage,bluetooth_6lowpan))
86 define KernelPackage/bluetooth-hci-h4p
87 SUBMENU:=$(OTHER_MENU)
88 TITLE:=HCI driver with H4 Nokia extensions
89 DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
90 KCONFIG:=CONFIG_BT_HCIH4P
91 FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
92 AUTOLOAD:=$(call AutoProbe,hci_h4p)
95 define KernelPackage/bluetooth-hci-h4p/description
96 HCI driver with H4 Nokia extensions
99 $(eval $(call KernelPackage,bluetooth-hci-h4p))
102 define KernelPackage/eeprom-93cx6
103 SUBMENU:=$(OTHER_MENU)
104 TITLE:=EEPROM 93CX6 support
105 KCONFIG:=CONFIG_EEPROM_93CX6
106 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
107 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
110 define KernelPackage/eeprom-93cx6/description
111 Kernel module for EEPROM 93CX6 support
114 $(eval $(call KernelPackage,eeprom-93cx6))
117 define KernelPackage/eeprom-at24
118 SUBMENU:=$(OTHER_MENU)
119 TITLE:=EEPROM AT24 support
120 KCONFIG:=CONFIG_EEPROM_AT24
121 DEPENDS:=+kmod-i2c-core
122 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
123 AUTOLOAD:=$(call AutoProbe,at24)
126 define KernelPackage/eeprom-at24/description
127 Kernel module for most I2C EEPROMs
130 $(eval $(call KernelPackage,eeprom-at24))
133 define KernelPackage/eeprom-at25
134 SUBMENU:=$(OTHER_MENU)
135 TITLE:=EEPROM AT25 support
136 KCONFIG:=CONFIG_EEPROM_AT25
137 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
138 AUTOLOAD:=$(call AutoProbe,at25)
141 define KernelPackage/eeprom-at25/description
142 Kernel module for most SPI EEPROMs
145 $(eval $(call KernelPackage,eeprom-at25))
148 define KernelPackage/gpio-dev
149 SUBMENU:=$(OTHER_MENU)
150 TITLE:=Generic GPIO char device support
151 DEPENDS:=@GPIO_SUPPORT
152 KCONFIG:=CONFIG_GPIO_DEVICE
153 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
154 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
157 define KernelPackage/gpio-dev/description
158 Kernel module to allows control of GPIO pins using a character device.
161 $(eval $(call KernelPackage,gpio-dev))
164 define KernelPackage/gpio-mcp23s08
165 SUBMENU:=$(OTHER_MENU)
166 TITLE:=Microchip MCP23xxx I/O expander
167 DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
168 KCONFIG:=CONFIG_GPIO_MCP23S08
169 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
170 AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
173 define KernelPackage/gpio-mcp23s08/description
174 Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
177 $(eval $(call KernelPackage,gpio-mcp23s08))
180 define KernelPackage/gpio-nxp-74hc164
181 SUBMENU:=$(OTHER_MENU)
182 TITLE:=NXP 74HC164 GPIO expander support
183 KCONFIG:=CONFIG_GPIO_NXP_74HC164
184 FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
185 AUTOLOAD:=$(call AutoProbe,nxp_74hc164)
188 define KernelPackage/gpio-nxp-74hc164/description
189 Kernel module for NXP 74HC164 GPIO expander
192 $(eval $(call KernelPackage,gpio-nxp-74hc164))
194 define KernelPackage/gpio-pca953x
195 SUBMENU:=$(OTHER_MENU)
196 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
197 TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
198 KCONFIG:=CONFIG_GPIO_PCA953X
199 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
200 AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
203 define KernelPackage/gpio-pca953x/description
204 Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
205 PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
208 $(eval $(call KernelPackage,gpio-pca953x))
210 define KernelPackage/gpio-pcf857x
211 SUBMENU:=$(OTHER_MENU)
212 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
213 TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
214 KCONFIG:=CONFIG_GPIO_PCF857X
215 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
216 AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
219 define KernelPackage/gpio-pcf857x/description
220 Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
223 $(eval $(call KernelPackage,gpio-pcf857x))
225 define KernelPackage/iio-core
226 SUBMENU:=$(OTHER_MENU)
227 TITLE:=Industrial IO core
230 CONFIG_IIO_BUFFER=y \
231 CONFIG_IIO_KFIFO_BUF \
232 CONFIG_IIO_TRIGGER=y \
233 CONFIG_IIO_TRIGGERED_BUFFER
235 $(LINUX_DIR)/drivers/iio/industrialio.ko \
236 $(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko) \
237 $(LINUX_DIR)/drivers/iio/kfifo_buf.ko
238 AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
241 define KernelPackage/iio-core/description
242 The industrial I/O subsystem provides a unified framework for
243 drivers for many different types of embedded sensors using a
244 number of different physical interfaces (i2c, spi, etc)
247 $(eval $(call KernelPackage,iio-core))
250 define KernelPackage/iio-ad799x
251 SUBMENU:=$(OTHER_MENU)
252 DEPENDS:=kmod-i2c-core kmod-iio-core
253 TITLE:=Analog Devices AD799x ADC driver
255 CONFIG_AD799X_RING_BUFFER=y \
258 $(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko@lt3.16 \
259 $(LINUX_DIR)/drivers/iio/adc/ad799x.ko@ge3.16
260 AUTOLOAD:=$(call AutoLoad,56,ad799x)
263 define KernelPackage/iio-ad799x/description
264 support for Analog Devices:
265 ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
266 i2c analog to digital converters (ADC).
269 $(eval $(call KernelPackage,iio-ad799x))
272 define KernelPackage/iio-dht11
273 SUBMENU:=$(OTHER_MENU)
274 DEPENDS:=kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
275 TITLE:=DHT11 (and compatible) humidity and temperature sensors
278 FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
279 AUTOLOAD:=$(call AutoLoad,56,dht11)
282 define KernelPackage/iio-dht11/description
283 support for DHT11 and DHT22 digitial humidity and temperature sensors
284 attached at GPIO lines. You will need a custom device tree file to
285 specify the GPIO line to use.
288 $(eval $(call KernelPackage,iio-dht11))
291 define KernelPackage/lp
292 SUBMENU:=$(OTHER_MENU)
293 TITLE:=Parallel port and line printer support
300 $(LINUX_DIR)/drivers/parport/parport.ko \
301 $(LINUX_DIR)/drivers/char/lp.ko \
302 $(LINUX_DIR)/drivers/char/ppdev.ko
303 AUTOLOAD:=$(call AutoLoad,50,parport lp)
306 $(eval $(call KernelPackage,lp))
309 define KernelPackage/mmc
310 SUBMENU:=$(OTHER_MENU)
311 TITLE:=MMC/SD Card Support
316 CONFIG_MMC_UNSAFE_RESUME=n \
317 CONFIG_MMC_BLOCK_BOUNCE=y \
318 CONFIG_MMC_TIFM_SD=n \
322 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
323 $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
324 AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
327 define KernelPackage/mmc/description
328 Kernel support for MMC/SD cards
331 $(eval $(call KernelPackage,mmc))
334 define KernelPackage/sdhci
335 SUBMENU:=$(OTHER_MENU)
336 TITLE:=Secure Digital Host Controller Interface support
340 CONFIG_MMC_SDHCI_PLTFM \
341 CONFIG_MMC_SDHCI_PCI=n
343 $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
344 $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
346 AUTOLOAD:=$(call AutoProbe,sdhci sdhci-pltfm,1)
349 define KernelPackage/sdhci/description
350 Kernel support for SDHCI Hosts
353 $(eval $(call KernelPackage,sdhci))
356 define KernelPackage/oprofile
357 SUBMENU:=$(OTHER_MENU)
358 TITLE:=OProfile profiling support
359 KCONFIG:=CONFIG_OPROFILE
360 FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
361 DEPENDS:=@KERNEL_PROFILING
364 define KernelPackage/oprofile/description
365 Kernel module for support for oprofile system profiling
368 $(eval $(call KernelPackage,oprofile))
371 define KernelPackage/rfkill
372 SUBMENU:=$(OTHER_MENU)
373 TITLE:=RF switch subsystem support
374 DEPENDS:=@USE_RFKILL +kmod-input-core
377 CONFIG_RFKILL_INPUT=y \
378 CONFIG_RFKILL_LEDS=y \
381 $(LINUX_DIR)/net/rfkill/rfkill.ko
382 AUTOLOAD:=$(call AutoLoad,20,rfkill)
385 define KernelPackage/rfkill/description
386 Say Y here if you want to have control over RF switches
387 found on many WiFi and Bluetooth cards
390 $(eval $(call KernelPackage,rfkill))
393 define KernelPackage/softdog
394 SUBMENU:=$(OTHER_MENU)
395 TITLE:=Software watchdog driver
396 KCONFIG:=CONFIG_SOFT_WATCHDOG
397 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
398 AUTOLOAD:=$(call AutoLoad,50,softdog)
401 define KernelPackage/softdog/description
402 Software watchdog driver
405 $(eval $(call KernelPackage,softdog))
408 define KernelPackage/ssb
409 SUBMENU:=$(OTHER_MENU)
410 TITLE:=Silicon Sonics Backplane glue code
411 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
414 CONFIG_SSB_B43_PCI_BRIDGE=y \
415 CONFIG_SSB_DRIVER_MIPS=n \
416 CONFIG_SSB_DRIVER_PCICORE=y \
417 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
418 CONFIG_SSB_PCIHOST=y \
419 CONFIG_SSB_PCIHOST_POSSIBLE=y \
420 CONFIG_SSB_POSSIBLE=y \
423 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
424 AUTOLOAD:=$(call AutoLoad,18,ssb,1)
427 define KernelPackage/ssb/description
428 Silicon Sonics Backplane glue code.
431 $(eval $(call KernelPackage,ssb))
434 define KernelPackage/bcma
435 SUBMENU:=$(OTHER_MENU)
437 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
440 CONFIG_BCMA_POSSIBLE=y \
441 CONFIG_BCMA_BLOCKIO=y \
442 CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
443 CONFIG_BCMA_HOST_PCI=y \
444 CONFIG_BCMA_HOST_SOC=n \
445 CONFIG_BCMA_DRIVER_MIPS=n \
446 CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
447 CONFIG_BCMA_DRIVER_GMAC_CMN=n \
449 FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
450 AUTOLOAD:=$(call AutoLoad,29,bcma)
453 define KernelPackage/bcma/description
454 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
457 $(eval $(call KernelPackage,bcma))
460 define KernelPackage/wdt-omap
461 SUBMENU:=$(OTHER_MENU)
462 TITLE:=OMAP Watchdog timer
463 DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
464 KCONFIG:=CONFIG_OMAP_WATCHDOG
465 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
466 AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko,1)
469 define KernelPackage/wdt-omap/description
470 Kernel module for TI omap watchdog timer
473 $(eval $(call KernelPackage,wdt-omap))
476 define KernelPackage/wdt-orion
477 SUBMENU:=$(OTHER_MENU)
478 TITLE:=Marvell Orion Watchdog timer
479 DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
480 KCONFIG:=CONFIG_ORION_WATCHDOG
481 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
482 AUTOLOAD:=$(call AutoLoad,50,orion_wdt,1)
485 define KernelPackage/wdt-orion/description
486 Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer
489 $(eval $(call KernelPackage,wdt-orion))
492 define KernelPackage/booke-wdt
493 SUBMENU:=$(OTHER_MENU)
494 TITLE:=PowerPC Book-E Watchdog Timer
495 DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
496 KCONFIG:=CONFIG_BOOKE_WDT
497 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
498 AUTOLOAD:=$(call AutoLoad,50,booke_wdt,1)
501 define KernelPackage/booke-wdt/description
502 Kernel module for PowerPC Book-E Watchdog Timer
505 $(eval $(call KernelPackage,booke-wdt))
508 define KernelPackage/rtc-ds1307
509 SUBMENU:=$(OTHER_MENU)
510 TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
511 DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
512 KCONFIG:=CONFIG_RTC_DRV_DS1307
513 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
514 AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
517 define KernelPackage/rtc-ds1307/description
518 Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
519 Epson RX-8025 and various other compatible RTC chips connected via I2C.
522 $(eval $(call KernelPackage,rtc-ds1307))
525 define KernelPackage/rtc-ds1672
526 SUBMENU:=$(OTHER_MENU)
527 TITLE:=Dallas/Maxim DS1672 RTC support
528 DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
529 KCONFIG:=CONFIG_RTC_DRV_DS1672
530 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
531 AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
534 define KernelPackage/rtc-ds1672/description
535 Kernel module for Dallas/Maxim DS1672 RTC.
538 $(eval $(call KernelPackage,rtc-ds1672))
541 define KernelPackage/rtc-isl1208
542 SUBMENU:=$(OTHER_MENU)
543 TITLE:=Intersil ISL1208 RTC support
544 DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
545 KCONFIG:=CONFIG_RTC_DRV_ISL1208
546 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
547 AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
550 define KernelPackage/rtc-isl1208/description
551 Kernel module for Intersil ISL1208 RTC.
554 $(eval $(call KernelPackage,rtc-isl1208))
557 define KernelPackage/rtc-marvell
558 SUBMENU:=$(OTHER_MENU)
559 TITLE:=Marvell SoC built-in RTC support
560 DEPENDS:=@RTC_SUPPORT @TARGET_kirkwood||TARGET_orion||TARGET_mvebu
561 KCONFIG:=CONFIG_RTC_DRV_MV
562 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
563 AUTOLOAD:=$(call AutoProbe,rtc-mv)
566 define KernelPackage/rtc-marvell/description
567 Kernel module for Marvell SoC built-in RTC.
570 $(eval $(call KernelPackage,rtc-marvell))
573 define KernelPackage/rtc-armada38x
574 SUBMENU:=$(OTHER_MENU)
575 TITLE:=Marvell Armada 38x SoC built-in RTC support
576 DEPENDS:=@RTC_SUPPORT @TARGET_mvebu
577 KCONFIG:=CONFIG_RTC_DRV_ARMADA38X
578 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-armada38x.ko
579 AUTOLOAD:=$(call AutoProbe,rtc-armada38x)
582 define KernelPackage/rtc-armada38x/description
583 Kernel module for Marvell Armada 38x SoC built-in RTC.
586 $(eval $(call KernelPackage,rtc-armada38x))
589 define KernelPackage/rtc-pcf8563
590 SUBMENU:=$(OTHER_MENU)
591 TITLE:=Philips PCF8563/Epson RTC8564 RTC support
592 DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
593 KCONFIG:=CONFIG_RTC_DRV_PCF8563
594 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
595 AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
598 define KernelPackage/rtc-pcf8563/description
599 Kernel module for Philips PCF8563 RTC chip.
600 The Epson RTC8564 should work as well.
603 $(eval $(call KernelPackage,rtc-pcf8563))
606 define KernelPackage/rtc-pcf2123
607 SUBMENU:=$(OTHER_MENU)
608 TITLE:=Philips PCF2123 RTC support
609 DEPENDS:=@RTC_SUPPORT
610 KCONFIG:=CONFIG_RTC_DRV_PCF2123
611 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
612 AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
615 define KernelPackage/rtc-pcf2123/description
616 Kernel module for Philips PCF2123 RTC chip
619 $(eval $(call KernelPackage,rtc-pcf2123))
621 define KernelPackage/rtc-pt7c4338
622 SUBMENU:=$(OTHER_MENU)
623 TITLE:=Pericom PT7C4338 RTC support
624 DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
625 KCONFIG:=CONFIG_RTC_DRV_PT7C4338
626 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
627 AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
630 define KernelPackage/rtc-pt7c4338/description
631 Kernel module for Pericom PT7C4338 i2c RTC chip
634 $(eval $(call KernelPackage,rtc-pt7c4338))
637 define KernelPackage/mtdtests
638 SUBMENU:=$(OTHER_MENU)
639 TITLE:=MTD subsystem tests
640 KCONFIG:=CONFIG_MTD_TESTS
643 $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
644 $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
645 $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
646 $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
647 $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
648 $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
649 $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
650 $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
653 define KernelPackage/mtdtests/description
654 Kernel modules for MTD subsystem/driver testing
657 $(eval $(call KernelPackage,mtdtests))
660 define KernelPackage/nand
661 SUBMENU:=$(OTHER_MENU)
662 TITLE:=NAND flash support
663 KCONFIG:=CONFIG_MTD_NAND \
664 CONFIG_MTD_NAND_IDS \
667 $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
668 $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
669 $(LINUX_DIR)/drivers/mtd/nand/nand.ko
670 AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
673 define KernelPackage/nand/description
674 Kernel module for NAND support
677 $(eval $(call KernelPackage,nand))
680 define KernelPackage/nandsim
681 SUBMENU:=$(OTHER_MENU)
682 TITLE:=NAND simulator
684 KCONFIG:=CONFIG_MTD_NAND_NANDSIM
685 FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
688 define KernelPackage/nandsim/description
689 Kernel module for NAND flash simulation.
692 $(eval $(call KernelPackage,nandsim))
694 define KernelPackage/serial-8250
695 SUBMENU:=$(OTHER_MENU)
697 KCONFIG:= CONFIG_SERIAL_8250 \
698 CONFIG_SERIAL_8250_NR_UARTS=16 \
699 CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
700 CONFIG_SERIAL_8250_EXTENDED=y \
701 CONFIG_SERIAL_8250_MANY_PORTS=y \
702 CONFIG_SERIAL_8250_SHARE_IRQ=y \
703 CONFIG_SERIAL_8250_DETECT_IRQ=n \
704 CONFIG_SERIAL_8250_RSA=n
705 FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
708 define KernelPackage/serial-8250/description
709 Kernel module for 8250 UART based serial ports
712 $(eval $(call KernelPackage,serial-8250))
715 define KernelPackage/regmap
716 SUBMENU:=$(OTHER_MENU)
717 TITLE:=Generic register map support
718 DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
719 KCONFIG:=CONFIG_REGMAP \
724 $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
725 $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
726 $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
727 AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
730 define KernelPackage/regmap/description
731 Generic register map support
734 $(eval $(call KernelPackage,regmap))
736 define KernelPackage/ikconfig
737 SUBMENU:=$(OTHER_MENU)
738 TITLE:=Kernel configuration via /proc/config.gz
739 KCONFIG:=CONFIG_IKCONFIG \
740 CONFIG_IKCONFIG_PROC=y
741 FILES:=$(LINUX_DIR)/kernel/configs.ko
742 AUTOLOAD:=$(call AutoLoad,70,configs)
745 define KernelPackage/ikconfig/description
746 Kernel configuration via /proc/config.gz
749 $(eval $(call KernelPackage,ikconfig))
752 define KernelPackage/zram
753 SUBMENU:=$(OTHER_MENU)
755 DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
759 CONFIG_ZRAM_DEBUG=n \
760 CONFIG_PGTABLE_MAPPING=n \
761 CONFIG_ZSMALLOC_STAT=n \
762 CONFIG_ZRAM_LZ4_COMPRESS=y
764 $(LINUX_DIR)/mm/zsmalloc.ko \
765 $(LINUX_DIR)/drivers/block/zram/zram.ko
766 AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
769 define KernelPackage/zram/description
770 Compressed RAM block device support
773 $(eval $(call KernelPackage,zram))
776 define KernelPackage/mvsdio
777 SUBMENU:=$(OTHER_MENU)
778 TITLE:=Marvell SDIO support
779 DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
780 KCONFIG:=CONFIG_MMC_MVSDIO
781 FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
782 AUTOLOAD:=$(call AutoProbe,mvsdio)
785 define KernelPackage/mvsdio/description
786 Kernel support for the Marvell SDIO controller
789 $(eval $(call KernelPackage,mvsdio))
792 define KernelPackage/pps
793 SUBMENU:=$(OTHER_MENU)
796 FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
797 AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
800 define KernelPackage/pps/description
801 PPS (Pulse Per Second) is a special pulse provided by some GPS
802 antennae. Userland can use it to get a high-precision time
806 $(eval $(call KernelPackage,pps))
809 define KernelPackage/pps-gpio
810 SUBMENU:=$(OTHER_MENU)
811 TITLE:=PPS client using GPIO
813 KCONFIG:=CONFIG_PPS_CLIENT_GPIO
814 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
815 AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
818 define KernelPackage/pps-gpio/description
819 Support for a PPS source using GPIO. To be useful you must
820 also register a platform device specifying the GPIO pin and
821 other options, usually in your board setup.
824 $(eval $(call KernelPackage,pps-gpio))
827 define KernelPackage/ptp
828 SUBMENU:=$(OTHER_MENU)
829 TITLE:=PTP clock support
831 KCONFIG:=CONFIG_PTP_1588_CLOCK
832 FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
833 AUTOLOAD:=$(call AutoLoad,18,ptp,1)
836 define KernelPackage/ptp/description
837 The IEEE 1588 standard defines a method to precisely
838 synchronize distributed clocks over Ethernet networks.
841 $(eval $(call KernelPackage,ptp))
844 define KernelPackage/ptp-gianfar
845 SUBMENU:=$(OTHER_MENU)
846 TITLE:=Freescale Gianfar PTP support
847 DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
848 KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
849 FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
850 AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
853 define KernelPackage/ptp-gianfar/description
854 Kernel module for IEEE 1588 support for Freescale
855 Gianfar Ethernet drivers
858 $(eval $(call KernelPackage,ptp-gianfar))
861 define KernelPackage/random-core
862 SUBMENU:=$(OTHER_MENU)
863 TITLE:=Hardware Random Number Generator Core support
864 KCONFIG:=CONFIG_HW_RANDOM
865 FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
868 define KernelPackage/random-core/description
869 Kernel module for the HW random number generator core infrastructure
872 $(eval $(call KernelPackage,random-core))
875 define KernelPackage/thermal
876 SUBMENU:=$(OTHER_MENU)
877 TITLE:=Generic Thermal sysfs driver
878 DEPENDS:=+kmod-hwmon-core
882 CONFIG_THERMAL_OF=y \
883 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
884 CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
885 CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
886 CONFIG_THERMAL_GOV_FAIR_SHARE=n \
887 CONFIG_THERMAL_GOV_STEP_WISE=y \
888 CONFIG_THERMAL_GOV_USER_SPACE=n \
889 CONFIG_THERMAL_HWMON=y \
890 CONFIG_THERMAL_EMULATION=n
891 FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
892 AUTOLOAD:=$(call AutoProbe,thermal_sys)
895 define KernelPackage/thermal/description
896 Generic Thermal Sysfs driver offers a generic mechanism for thermal
897 management. Usually it's made up of one or more thermal zone and cooling
901 $(eval $(call KernelPackage,thermal))
904 define KernelPackage/thermal-armada
905 SUBMENU:=$(OTHER_MENU)
906 TITLE:=Armada 370/XP thermal management
907 DEPENDS:=@TARGET_mvebu +kmod-thermal
908 KCONFIG:=CONFIG_ARMADA_THERMAL
909 FILES:=$(LINUX_DIR)/drivers/thermal/armada_thermal.ko
910 AUTOLOAD:=$(call AutoProbe,armada_thermal)
913 define KernelPackage/thermal-armada/description
914 Enable this module if you want to have support for thermal management
915 controller present in Armada 370 and Armada XP SoC.
918 $(eval $(call KernelPackage,thermal-armada))
921 define KernelPackage/thermal-imx
922 SUBMENU:=$(OTHER_MENU)
923 TITLE:=Temperature sensor driver for Freescale i.MX SoCs
924 DEPENDS:=@TARGET_imx6 +kmod-thermal
926 CONFIG_CPU_THERMAL=y \
928 FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko
929 AUTOLOAD:=$(call AutoProbe,imx_thermal)
932 define KernelPackage/thermal-imx/description
933 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
934 It supports one critical trip point and one passive trip point. The
935 cpufreq is used as the cooling device to throttle CPUs when the
936 passive trip is crossed.
939 $(eval $(call KernelPackage,thermal-imx))
942 define KernelPackage/thermal-kirkwood
943 SUBMENU:=$(OTHER_MENU)
944 TITLE:=Temperature sensor on Marvell Kirkwood SoCs
945 DEPENDS:=@TARGET_kirkwood +kmod-thermal
946 KCONFIG:=CONFIG_KIRKWOOD_THERMAL
947 FILES:=$(LINUX_DIR)/drivers/thermal/kirkwood_thermal.ko
948 AUTOLOAD:=$(call AutoProbe,kirkwood_thermal)
951 define KernelPackage/thermal-kirkwood/description
952 Support for the Kirkwood thermal sensor driver into the Linux thermal
953 framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
956 $(eval $(call KernelPackage,thermal-kirkwood))
959 define KernelPackage/gpio-beeper
960 SUBMENU:=$(OTHER_MENU)
961 TITLE:=GPIO beeper support
962 DEPENDS:=+kmod-input-core
964 CONFIG_INPUT_MISC=y \
965 CONFIG_INPUT_GPIO_BEEPER
967 $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
968 AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
971 define KernelPackage/gpio-beeper/description
972 This enables playing beeps through an GPIO-connected buzzer
975 $(eval $(call KernelPackage,gpio-beeper))
978 define KernelPackage/echo
979 SUBMENU:=$(OTHER_MENU)
980 TITLE:=Line Echo Canceller
982 FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
983 AUTOLOAD:=$(call AutoLoad,50,echo)
986 define KernelPackage/echo/description
987 This driver provides line echo cancelling support for mISDN and
991 $(eval $(call KernelPackage,echo))