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_4_4
:kmod-regmap
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 \
60 $(call AddDepends
/rfkill
)
62 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.ko \
63 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.ko \
64 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.ko \
65 $(LINUX_DIR
)/net
/bluetooth
/hidp
/hidp.ko \
66 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.ko \
67 $(LINUX_DIR
)/drivers
/bluetooth
/btusb.ko
68 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,4.1.0)),1)
70 $(LINUX_DIR
)/drivers
/bluetooth
/btintel.ko
72 AUTOLOAD
:=$(call AutoProbe
,bluetooth rfcomm bnep hidp hci_uart btusb
)
75 define KernelPackage
/bluetooth
/description
76 Kernel support for Bluetooth devices
79 $(eval
$(call KernelPackage
,bluetooth
))
81 define KernelPackage
/ath3k
82 SUBMENU
:=$(OTHER_MENU
)
83 TITLE
:=ATH3K Kernel Module support
84 DEPENDS
:=+kmod-bluetooth
+ar3k-firmware
87 CONFIG_BT_HCIUART_ATH3K
=y
88 $(call AddDepends
/bluetooth
)
90 $(LINUX_DIR
)/drivers
/bluetooth
/ath3k.ko
91 AUTOLOAD
:=$(call AutoProbe
,ath3k
)
94 define KernelPackage
/ath3k
/description
95 Kernel support for ATH3K Module
98 $(eval
$(call KernelPackage
,ath3k
))
101 define KernelPackage
/bluetooth_6lowpan
102 SUBMENU
:=$(OTHER_MENU
)
103 TITLE
:=Bluetooth
6LoWPAN support
104 DEPENDS
:=+kmod-6lowpan
+kmod-bluetooth
105 KCONFIG
:=CONFIG_BT_6LOWPAN
106 FILES
:=$(LINUX_DIR
)/net
/bluetooth
/bluetooth_6lowpan.ko
107 AUTOLOAD
:=$(call AutoProbe
,bluetooth_6lowpan
)
110 define KernelPackage
/bluetooth_6lowpan
/description
111 Kernel support for
6LoWPAN over Bluetooth Low Energy devices
114 $(eval
$(call KernelPackage
,bluetooth_6lowpan
))
117 define KernelPackage
/dma-buf
118 SUBMENU
:=$(OTHER_MENU
)
119 TITLE
:=DMA shared buffer support
121 KCONFIG
:=CONFIG_DMA_SHARED_BUFFER
122 FILES
:=$(LINUX_DIR
)/drivers
/dma-buf
/dma-shared-buffer.ko
123 AUTOLOAD
:=$(call AutoLoad
,20,dma-shared-buffer
)
125 $(eval
$(call KernelPackage
,dma-buf
))
128 define KernelPackage
/eeprom-93cx6
129 SUBMENU
:=$(OTHER_MENU
)
130 TITLE
:=EEPROM
93CX6 support
131 KCONFIG
:=CONFIG_EEPROM_93CX6
132 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/eeprom_93cx6.ko
133 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
136 define KernelPackage
/eeprom-93cx6
/description
137 Kernel module for EEPROM
93CX6 support
140 $(eval
$(call KernelPackage
,eeprom-93cx6
))
143 define KernelPackage
/eeprom-at24
144 SUBMENU
:=$(OTHER_MENU
)
145 TITLE
:=EEPROM AT24 support
146 KCONFIG
:=CONFIG_EEPROM_AT24
147 DEPENDS
:=+kmod-i2c-core
148 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/at24.ko
149 AUTOLOAD
:=$(call AutoProbe
,at24
)
152 define KernelPackage
/eeprom-at24
/description
153 Kernel module for most I2C EEPROMs
156 $(eval
$(call KernelPackage
,eeprom-at24
))
159 define KernelPackage
/eeprom-at25
160 SUBMENU
:=$(OTHER_MENU
)
161 TITLE
:=EEPROM AT25 support
162 KCONFIG
:=CONFIG_EEPROM_AT25
163 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/at25.ko
164 AUTOLOAD
:=$(call AutoProbe
,at25
)
167 define KernelPackage
/eeprom-at25
/description
168 Kernel module for most SPI EEPROMs
171 $(eval
$(call KernelPackage
,eeprom-at25
))
174 define KernelPackage
/gpio-dev
175 SUBMENU
:=$(OTHER_MENU
)
176 TITLE
:=Generic GPIO char device support
177 DEPENDS
:=@GPIO_SUPPORT
178 KCONFIG
:=CONFIG_GPIO_DEVICE
179 FILES
:=$(LINUX_DIR
)/drivers
/char
/gpio_dev.ko
180 AUTOLOAD
:=$(call AutoLoad
,40,gpio_dev
)
183 define KernelPackage
/gpio-dev
/description
184 Kernel module to allows control of GPIO pins using a character device.
187 $(eval
$(call KernelPackage
,gpio-dev
))
190 define KernelPackage
/gpio-mcp23s08
191 SUBMENU
:=$(OTHER_MENU
)
192 TITLE
:=Microchip MCP23xxx I
/O expander
193 DEPENDS
:=@GPIO_SUPPORT
+PACKAGE_kmod-i2c-core
:kmod-i2c-core
194 KCONFIG
:=CONFIG_GPIO_MCP23S08
195 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-mcp23s08.ko
196 AUTOLOAD
:=$(call AutoLoad
,40,gpio-mcp23s08
)
199 define KernelPackage
/gpio-mcp23s08
/description
200 Kernel module for Microchip MCP23xxx SPI
/I2C I
/O expander
203 $(eval
$(call KernelPackage
,gpio-mcp23s08
))
206 define KernelPackage
/gpio-nxp-74hc164
207 SUBMENU
:=$(OTHER_MENU
)
208 TITLE
:=NXP
74HC164 GPIO expander support
209 KCONFIG
:=CONFIG_GPIO_NXP_74HC164
210 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/nxp_74hc164.ko
211 AUTOLOAD
:=$(call AutoProbe
,nxp_74hc164
)
214 define KernelPackage
/gpio-nxp-74hc164
/description
215 Kernel module for NXP
74HC164 GPIO expander
218 $(eval
$(call KernelPackage
,gpio-nxp-74hc164
))
220 define KernelPackage
/gpio-pca953x
221 SUBMENU
:=$(OTHER_MENU
)
222 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-core
223 TITLE
:=PCA95xx
, TCA64xx
, and MAX7310 I
/O ports
224 KCONFIG
:=CONFIG_GPIO_PCA953X
225 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-pca953x.ko
226 AUTOLOAD
:=$(call AutoLoad
,55,gpio-pca953x
)
229 define KernelPackage
/gpio-pca953x
/description
230 Kernel module for MAX731
{0,2,3,5}, PCA6107
, PCA953
{4-9}, PCA955
{4-7},
231 PCA957
{4,5} and TCA64
{08,16} I2C GPIO expanders
234 $(eval
$(call KernelPackage
,gpio-pca953x
))
236 define KernelPackage
/gpio-pcf857x
237 SUBMENU
:=$(OTHER_MENU
)
238 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-core
239 TITLE
:=PCX857x
, PCA967x and MAX732X I2C GPIO expanders
240 KCONFIG
:=CONFIG_GPIO_PCF857X
241 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-pcf857x.ko
242 AUTOLOAD
:=$(call AutoLoad
,55,gpio-pcf857x
)
245 define KernelPackage
/gpio-pcf857x
/description
246 Kernel module for PCF857x
, PCA
{85,96}7x
, and MAX732
[89] I2C GPIO expanders
249 $(eval
$(call KernelPackage
,gpio-pcf857x
))
251 define KernelPackage
/iio-core
252 SUBMENU
:=$(OTHER_MENU
)
253 TITLE
:=Industrial IO core
256 CONFIG_IIO_BUFFER
=y \
257 CONFIG_IIO_KFIFO_BUF \
258 CONFIG_IIO_TRIGGER
=y \
259 CONFIG_IIO_TRIGGERED_BUFFER
261 $(LINUX_DIR
)/drivers
/iio
/industrialio.ko \
262 $(if
$(CONFIG_IIO_TRIGGERED_BUFFER
),$(LINUX_DIR
)/drivers
/iio
/industrialio-triggered-buffer.ko@lt4.4
) \
263 $(if
$(CONFIG_IIO_TRIGGERED_BUFFER
),$(LINUX_DIR
)/drivers
/iio
/buffer
/industrialio-triggered-buffer.ko@ge4.4
) \
264 $(LINUX_DIR
)/drivers
/iio
/kfifo_buf.ko@lt4.4 \
265 $(LINUX_DIR
)/drivers
/iio
/buffer
/kfifo_buf.ko@ge4.4
266 AUTOLOAD
:=$(call AutoLoad
,55,industrialio kfifo_buf industrialio-triggered-buffer
)
269 define KernelPackage
/iio-core
/description
270 The industrial I
/O subsystem provides a unified framework for
271 drivers for many different types of embedded sensors using a
272 number of different physical interfaces
(i2c
, spi
, etc
)
275 $(eval
$(call KernelPackage
,iio-core
))
278 define KernelPackage
/iio-ad799x
279 SUBMENU
:=$(OTHER_MENU
)
280 DEPENDS
:=kmod-i2c-core kmod-iio-core
281 TITLE
:=Analog Devices AD799x ADC driver
283 CONFIG_AD799X_RING_BUFFER
=y \
285 FILES
:=$(LINUX_DIR
)/drivers
/iio
/adc
/ad799x.ko
286 AUTOLOAD
:=$(call AutoLoad
,56,ad799x
)
289 define KernelPackage
/iio-ad799x
/description
290 support for Analog Devices
:
291 ad7991
, ad7995
, ad7999
, ad7992
, ad7993
, ad7994
, ad7997
, ad7998
292 i2c analog to digital converters
(ADC
).
295 $(eval
$(call KernelPackage
,iio-ad799x
))
298 define KernelPackage
/iio-dht11
299 SUBMENU
:=$(OTHER_MENU
)
300 DEPENDS
:=kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
301 TITLE
:=DHT11
(and compatible
) humidity and temperature sensors
304 FILES
:=$(LINUX_DIR
)/drivers
/iio
/humidity
/dht11.ko
305 AUTOLOAD
:=$(call AutoLoad
,56,dht11
)
308 define KernelPackage
/iio-dht11
/description
309 support for DHT11 and DHT22 digitial humidity and temperature sensors
310 attached at GPIO lines. You will need a custom device tree file to
311 specify the GPIO line to use.
314 $(eval
$(call KernelPackage
,iio-dht11
))
317 define KernelPackage
/lp
318 SUBMENU
:=$(OTHER_MENU
)
319 TITLE
:=Parallel port and line printer support
325 $(LINUX_DIR
)/drivers
/parport
/parport.ko \
326 $(LINUX_DIR
)/drivers
/char
/lp.ko \
327 $(LINUX_DIR
)/drivers
/char
/ppdev.ko
328 AUTOLOAD
:=$(call AutoLoad
,50,parport lp ppdev
)
331 $(eval
$(call KernelPackage
,lp
))
334 define KernelPackage
/mmc
335 SUBMENU
:=$(OTHER_MENU
)
336 TITLE
:=MMC
/SD Card Support
341 CONFIG_MMC_UNSAFE_RESUME
=n \
342 CONFIG_MMC_BLOCK_BOUNCE
=y \
343 CONFIG_MMC_TIFM_SD
=n \
347 $(LINUX_DIR
)/drivers
/mmc
/core
/mmc_core.ko \
348 $(LINUX_DIR
)/drivers
/mmc
/card
/mmc_block.ko
349 AUTOLOAD
:=$(call AutoProbe
,mmc_core mmc_block
,1)
352 define KernelPackage
/mmc
/description
353 Kernel support for MMC
/SD cards
356 $(eval
$(call KernelPackage
,mmc
))
359 define KernelPackage
/sdhci
360 SUBMENU
:=$(OTHER_MENU
)
361 TITLE
:=Secure Digital Host Controller Interface support
365 CONFIG_MMC_SDHCI_PLTFM \
366 CONFIG_MMC_SDHCI_PCI
=n
368 $(LINUX_DIR
)/drivers
/mmc
/host
/sdhci.ko \
369 $(LINUX_DIR
)/drivers
/mmc
/host
/sdhci-pltfm.ko
371 AUTOLOAD
:=$(call AutoProbe
,sdhci-pltfm
,1)
374 define KernelPackage
/sdhci
/description
375 Kernel support for SDHCI Hosts
378 $(eval
$(call KernelPackage
,sdhci
))
381 define KernelPackage
/rfkill
382 SUBMENU
:=$(OTHER_MENU
)
383 TITLE
:=RF switch subsystem support
384 DEPENDS
:=@USE_RFKILL
+kmod-input-core
387 CONFIG_RFKILL_INPUT
=y \
390 $(LINUX_DIR
)/net
/rfkill
/rfkill.ko
391 AUTOLOAD
:=$(call AutoLoad
,20,rfkill
)
394 define KernelPackage
/rfkill
/description
395 Say Y here if you want to have control over RF switches
396 found on many WiFi and Bluetooth cards
399 $(eval
$(call KernelPackage
,rfkill
))
402 define KernelPackage
/softdog
403 SUBMENU
:=$(OTHER_MENU
)
404 TITLE
:=Software watchdog driver
405 KCONFIG
:=CONFIG_SOFT_WATCHDOG
406 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/softdog.ko
407 AUTOLOAD
:=$(call AutoLoad
,50,softdog
,1)
410 define KernelPackage
/softdog
/description
411 Software watchdog driver
414 $(eval
$(call KernelPackage
,softdog
))
417 define KernelPackage
/ssb
418 SUBMENU
:=$(OTHER_MENU
)
419 TITLE
:=Silicon Sonics Backplane glue code
420 DEPENDS
:=@PCI_SUPPORT @
!TARGET_brcm47xx @
!TARGET_brcm63xx
423 CONFIG_SSB_B43_PCI_BRIDGE
=y \
424 CONFIG_SSB_DRIVER_MIPS
=n \
425 CONFIG_SSB_DRIVER_PCICORE
=y \
426 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE
=y \
427 CONFIG_SSB_PCIHOST
=y \
428 CONFIG_SSB_PCIHOST_POSSIBLE
=y \
429 CONFIG_SSB_POSSIBLE
=y \
432 FILES
:=$(LINUX_DIR
)/drivers
/ssb
/ssb.ko
433 AUTOLOAD
:=$(call AutoLoad
,18,ssb
,1)
436 define KernelPackage
/ssb
/description
437 Silicon Sonics Backplane glue code.
440 $(eval
$(call KernelPackage
,ssb
))
443 define KernelPackage
/bcma
444 SUBMENU
:=$(OTHER_MENU
)
446 DEPENDS
:=@PCI_SUPPORT @
!TARGET_brcm47xx @
!TARGET_bcm53xx
449 CONFIG_BCMA_POSSIBLE
=y \
450 CONFIG_BCMA_BLOCKIO
=y \
451 CONFIG_BCMA_HOST_PCI_POSSIBLE
=y \
452 CONFIG_BCMA_HOST_PCI
=y \
453 CONFIG_BCMA_HOST_SOC
=n \
454 CONFIG_BCMA_DRIVER_MIPS
=n \
455 CONFIG_BCMA_DRIVER_PCI_HOSTMODE
=n \
456 CONFIG_BCMA_DRIVER_GMAC_CMN
=n \
458 FILES
:=$(LINUX_DIR
)/drivers
/bcma
/bcma.ko
459 AUTOLOAD
:=$(call AutoLoad
,29,bcma
)
462 define KernelPackage
/bcma
/description
463 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
466 $(eval
$(call KernelPackage
,bcma
))
469 define KernelPackage
/rtc-ds1307
470 SUBMENU
:=$(OTHER_MENU
)
471 TITLE
:=Dallas
/Maxim DS1307
(and compatible
) RTC support
472 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
473 DEPENDS
:=+kmod-i2c-core
474 KCONFIG
:=CONFIG_RTC_DRV_DS1307 \
476 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-ds1307.ko
477 AUTOLOAD
:=$(call AutoProbe
,rtc-ds1307
)
480 define KernelPackage
/rtc-ds1307
/description
481 Kernel module for Dallas
/Maxim DS1307
/DS1337
/DS1338
/DS1340
/DS1388
/DS3231
,
482 Epson RX-8025 and various other compatible RTC chips connected via I2C.
485 $(eval
$(call KernelPackage
,rtc-ds1307
))
488 define KernelPackage
/rtc-ds1374
489 SUBMENU
:=$(OTHER_MENU
)
490 TITLE
:=Dallas
/Maxim DS1374 RTC support
491 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
492 DEPENDS
:=+kmod-i2c-core
493 KCONFIG
:=CONFIG_RTC_DRV_DS1374 \
494 CONFIG_RTC_DRV_DS1374_WDT
=n \
496 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-ds1374.ko
497 AUTOLOAD
:=$(call AutoProbe
,rtc-ds1374
)
500 define KernelPackage
/rtc-ds1374
/description
501 Kernel module for Dallas
/Maxim DS1374.
504 $(eval
$(call KernelPackage
,rtc-ds1374
))
507 define KernelPackage
/rtc-ds1672
508 SUBMENU
:=$(OTHER_MENU
)
509 TITLE
:=Dallas
/Maxim DS1672 RTC support
510 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
511 DEPENDS
:=+kmod-i2c-core
512 KCONFIG
:=CONFIG_RTC_DRV_DS1672 \
514 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-ds1672.ko
515 AUTOLOAD
:=$(call AutoProbe
,rtc-ds1672
)
518 define KernelPackage
/rtc-ds1672
/description
519 Kernel module for Dallas
/Maxim DS1672 RTC.
522 $(eval
$(call KernelPackage
,rtc-ds1672
))
525 define KernelPackage
/rtc-isl1208
526 SUBMENU
:=$(OTHER_MENU
)
527 TITLE
:=Intersil ISL1208 RTC support
528 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
529 DEPENDS
:=+kmod-i2c-core
530 KCONFIG
:=CONFIG_RTC_DRV_ISL1208 \
532 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-isl1208.ko
533 AUTOLOAD
:=$(call AutoProbe
,rtc-isl1208
)
536 define KernelPackage
/rtc-isl1208
/description
537 Kernel module for Intersil ISL1208 RTC.
540 $(eval
$(call KernelPackage
,rtc-isl1208
))
543 define KernelPackage
/rtc-pcf8563
544 SUBMENU
:=$(OTHER_MENU
)
545 TITLE
:=Philips PCF8563
/Epson RTC8564 RTC support
546 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
547 DEPENDS
:=+kmod-i2c-core
548 KCONFIG
:=CONFIG_RTC_DRV_PCF8563 \
550 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pcf8563.ko
551 AUTOLOAD
:=$(call AutoProbe
,rtc-pcf8563
)
554 define KernelPackage
/rtc-pcf8563
/description
555 Kernel module for Philips PCF8563 RTC chip.
556 The Epson RTC8564 should work
as well.
559 $(eval
$(call KernelPackage
,rtc-pcf8563
))
562 define KernelPackage
/rtc-pcf2123
563 SUBMENU
:=$(OTHER_MENU
)
564 TITLE
:=Philips PCF2123 RTC support
565 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
566 KCONFIG
:=CONFIG_RTC_DRV_PCF2123 \
568 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pcf2123.ko
569 AUTOLOAD
:=$(call AutoProbe
,rtc-pcf2123
)
572 define KernelPackage
/rtc-pcf2123
/description
573 Kernel module for Philips PCF2123 RTC chip
576 $(eval
$(call KernelPackage
,rtc-pcf2123
))
578 define KernelPackage
/rtc-pt7c4338
579 SUBMENU
:=$(OTHER_MENU
)
580 TITLE
:=Pericom PT7C4338 RTC support
581 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
582 DEPENDS
:=+kmod-i2c-core
583 KCONFIG
:=CONFIG_RTC_DRV_PT7C4338 \
585 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pt7c4338.ko
586 AUTOLOAD
:=$(call AutoProbe
,rtc-pt7c4338
)
589 define KernelPackage
/rtc-pt7c4338
/description
590 Kernel module for Pericom PT7C4338 i2c RTC chip
593 $(eval
$(call KernelPackage
,rtc-pt7c4338
))
595 define KernelPackage
/rtc-rs5c372a
596 SUBMENU
:=$(OTHER_MENU
)
597 TITLE
:=Ricoh R2025S
/D
, RS5C372A
/B
, RV5C386
, RV5C387A
598 DEFAULT
:=m if ALL_KMODS
&& RTC_SUPPORT
599 DEPENDS
:=+kmod-i2c-core
600 KCONFIG
:=CONFIG_RTC_DRV_RS5C372 \
602 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-rs5c372.ko
603 AUTOLOAD
:=$(call AutoLoad
,50,rtc-rs5c372
,1)
606 define KernelPackage
/rtc-rs5c372a
/description
607 Kernel module for Ricoh R2025S
/D
, RS5C372A
/B
, RV5C386
, RV5C387A RTC on chip module
610 $(eval
$(call KernelPackage
,rtc-rs5c372a
))
613 define KernelPackage
/mtdtests
614 SUBMENU
:=$(OTHER_MENU
)
615 TITLE
:=MTD subsystem tests
616 KCONFIG
:=CONFIG_MTD_TESTS
618 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_nandecctest.ko \
619 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_oobtest.ko \
620 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_pagetest.ko \
621 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_readtest.ko \
622 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_speedtest.ko \
623 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_stresstest.ko \
624 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_subpagetest.ko \
625 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_torturetest.ko
628 define KernelPackage
/mtdtests
/description
629 Kernel modules for MTD subsystem
/driver testing
632 $(eval
$(call KernelPackage
,mtdtests
))
635 define KernelPackage
/serial-8250
636 SUBMENU
:=$(OTHER_MENU
)
638 KCONFIG
:= CONFIG_SERIAL_8250 \
639 CONFIG_SERIAL_8250_NR_UARTS
=16 \
640 CONFIG_SERIAL_8250_RUNTIME_UARTS
=16 \
641 CONFIG_SERIAL_8250_EXTENDED
=y \
642 CONFIG_SERIAL_8250_MANY_PORTS
=y \
643 CONFIG_SERIAL_8250_SHARE_IRQ
=y \
644 CONFIG_SERIAL_8250_DETECT_IRQ
=n \
645 CONFIG_SERIAL_8250_RSA
=n
647 $(LINUX_DIR
)/drivers
/tty
/serial
/8250/8250.ko \
648 $(LINUX_DIR
)/drivers
/tty
/serial
/8250/8250_base.ko@ge4.4
651 define KernelPackage
/serial-8250
/description
652 Kernel module for
8250 UART based serial ports
655 $(eval
$(call KernelPackage
,serial-8250
))
658 define KernelPackage
/regmap
659 SUBMENU
:=$(OTHER_MENU
)
660 TITLE
:=Generic register map support
661 DEPENDS
:=+kmod-lib-lzo
+kmod-i2c-core
662 KCONFIG
:=CONFIG_REGMAP \
668 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-core.ko \
669 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-i2c.ko \
670 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-mmio.ko \
671 $(if
$(CONFIG_SPI
),$(LINUX_DIR
)/drivers
/base
/regmap
/regmap-spi.ko
)
672 AUTOLOAD
:=$(call AutoLoad
,21,regmap-core regmap-i2c regmap-mmio regmap-spi
)
675 define KernelPackage
/regmap
/description
676 Generic register map support
679 $(eval
$(call KernelPackage
,regmap
))
681 define KernelPackage
/ikconfig
682 SUBMENU
:=$(OTHER_MENU
)
683 TITLE
:=Kernel configuration via
/proc
/config.gz
684 KCONFIG
:=CONFIG_IKCONFIG \
685 CONFIG_IKCONFIG_PROC
=y
686 FILES
:=$(LINUX_DIR
)/kernel
/configs.ko
687 AUTOLOAD
:=$(call AutoLoad
,70,configs
)
690 define KernelPackage
/ikconfig
/description
691 Kernel configuration via
/proc
/config.gz
694 $(eval
$(call KernelPackage
,ikconfig
))
697 define KernelPackage
/zram
698 SUBMENU
:=$(OTHER_MENU
)
700 DEPENDS
:=+kmod-lib-lzo
+kmod-lib-lz4
704 CONFIG_ZRAM_DEBUG
=n \
705 CONFIG_PGTABLE_MAPPING
=n \
706 CONFIG_ZSMALLOC_STAT
=n \
707 CONFIG_ZRAM_LZ4_COMPRESS
=y
709 $(LINUX_DIR
)/mm
/zsmalloc.ko \
710 $(LINUX_DIR
)/drivers
/block
/zram
/zram.ko
711 AUTOLOAD
:=$(call AutoLoad
,20,zsmalloc zram
)
714 define KernelPackage
/zram
/description
715 Compressed RAM block device support
718 $(eval
$(call KernelPackage
,zram
))
721 define KernelPackage
/pps
722 SUBMENU
:=$(OTHER_MENU
)
725 FILES
:=$(LINUX_DIR
)/drivers
/pps
/pps_core.ko
726 AUTOLOAD
:=$(call AutoLoad
,17,pps_core
,1)
729 define KernelPackage
/pps
/description
730 PPS
(Pulse Per Second
) is a special pulse provided by some GPS
731 antennae. Userland can use it to
get a high-precision time
735 $(eval
$(call KernelPackage
,pps
))
738 define KernelPackage
/pps-gpio
739 SUBMENU
:=$(OTHER_MENU
)
740 TITLE
:=PPS client using GPIO
742 KCONFIG
:=CONFIG_PPS_CLIENT_GPIO
743 FILES
:=$(LINUX_DIR
)/drivers
/pps
/clients
/pps-gpio.ko
744 AUTOLOAD
:=$(call AutoLoad
,18,pps-gpio
,1)
747 define KernelPackage
/pps-gpio
/description
748 Support for a PPS source using GPIO. To be useful you must
749 also register a platform device specifying the GPIO pin and
750 other options
, usually in your board setup.
753 $(eval
$(call KernelPackage
,pps-gpio
))
756 define KernelPackage
/pps-ldisc
757 SUBMENU
:=$(OTHER_MENU
)
758 TITLE
:=PPS line discipline
760 KCONFIG
:=CONFIG_PPS_CLIENT_LDISC
761 FILES
:=$(LINUX_DIR
)/drivers
/pps
/clients
/pps-ldisc.ko
762 AUTOLOAD
:=$(call AutoLoad
,18,pps-ldisc
,1)
765 define KernelPackage
/pps-ldisc
/description
766 Support for a PPS source connected with the CD
(Carrier
767 Detect
) pin of your serial port.
770 $(eval
$(call KernelPackage
,pps-ldisc
))
773 define KernelPackage
/ptp
774 SUBMENU
:=$(OTHER_MENU
)
775 TITLE
:=PTP clock support
778 CONFIG_PTP_1588_CLOCK \
779 CONFIG_NET_PTP_CLASSIFY
=y
780 FILES
:=$(LINUX_DIR
)/drivers
/ptp
/ptp.ko
781 AUTOLOAD
:=$(call AutoLoad
,18,ptp
,1)
784 define KernelPackage
/ptp
/description
785 The IEEE
1588 standard defines a method to precisely
786 synchronize distributed clocks over Ethernet networks.
789 $(eval
$(call KernelPackage
,ptp
))
792 define KernelPackage
/ptp-gianfar
793 SUBMENU
:=$(OTHER_MENU
)
794 TITLE
:=Freescale Gianfar PTP support
795 DEPENDS
:=@TARGET_mpc85xx
+kmod-ptp
796 KCONFIG
:=CONFIG_PTP_1588_CLOCK_GIANFAR
797 FILES
:=$(LINUX_DIR
)/drivers
/net
/ethernet
/freescale
/gianfar_ptp.ko
798 AUTOLOAD
:=$(call AutoProbe
,gianfar_ptp
)
801 define KernelPackage
/ptp-gianfar
/description
802 Kernel module for IEEE
1588 support for Freescale
803 Gianfar Ethernet drivers
806 $(eval
$(call KernelPackage
,ptp-gianfar
))
809 define KernelPackage
/random-core
810 SUBMENU
:=$(OTHER_MENU
)
811 TITLE
:=Hardware Random Number Generator Core support
812 KCONFIG
:=CONFIG_HW_RANDOM
813 FILES
:=$(LINUX_DIR
)/drivers
/char
/hw_random
/rng-core.ko
816 define KernelPackage
/random-core
/description
817 Kernel module for the HW random number generator core infrastructure
820 $(eval
$(call KernelPackage
,random-core
))
822 define KernelPackage
/random-omap
823 SUBMENU
:=$(OTHER_MENU
)
824 TITLE
:=Hardware Random Number Generator OMAP support
825 KCONFIG
:=CONFIG_HW_RANDOM_OMAP
826 FILES
:=$(LINUX_DIR
)/drivers
/char
/hw_random
/omap-rng.ko
827 DEPENDS
:=@TARGET_omap24xx
+kmod-random-core
828 AUTOLOAD
:=$(call AutoProbe
,random-omap
)
831 define KernelPackage
/random-omap
/description
832 Kernel module for the OMAP Random Number Generator
833 found on OMAP16xx
, OMAP2
/3/4/5 and AM33xx
/AM43xx multimedia processors.
836 $(eval
$(call KernelPackage
,random-omap
))
838 define KernelPackage
/thermal
839 SUBMENU
:=$(OTHER_MENU
)
840 TITLE
:=Generic Thermal sysfs driver
841 DEPENDS
:=+kmod-hwmon-core
845 CONFIG_THERMAL_OF
=y \
846 CONFIG_CPU_THERMAL
=y \
847 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE
=y \
848 CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE
=n \
849 CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE
=n \
850 CONFIG_THERMAL_GOV_FAIR_SHARE
=n \
851 CONFIG_THERMAL_GOV_STEP_WISE
=y \
852 CONFIG_THERMAL_GOV_USER_SPACE
=n \
853 CONFIG_THERMAL_HWMON
=y \
854 CONFIG_THERMAL_EMULATION
=n
855 FILES
:=$(LINUX_DIR
)/drivers
/thermal
/thermal_sys.ko
856 AUTOLOAD
:=$(call AutoProbe
,thermal_sys
)
859 define KernelPackage
/thermal
/description
860 Generic Thermal Sysfs driver offers a generic mechanism for thermal
861 management. Usually it
's made up of one or more thermal zone and cooling
865 $(eval $(call KernelPackage,thermal))
868 define KernelPackage/gpio-beeper
869 SUBMENU:=$(OTHER_MENU)
870 TITLE:=GPIO beeper support
871 DEPENDS:=+kmod-input-core
873 CONFIG_INPUT_MISC=y \
874 CONFIG_INPUT_GPIO_BEEPER
876 $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
877 AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
880 define KernelPackage/gpio-beeper/description
881 This enables playing beeps through an GPIO-connected buzzer
884 $(eval $(call KernelPackage,gpio-beeper))
887 define KernelPackage/echo
888 SUBMENU:=$(OTHER_MENU)
889 TITLE:=Line Echo Canceller
891 FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
892 AUTOLOAD:=$(call AutoLoad,50,echo)
895 define KernelPackage/echo/description
896 This driver provides line echo cancelling support for mISDN and
900 $(eval $(call KernelPackage,echo))
903 define KernelPackage/bmp085
904 SUBMENU:=$(OTHER_MENU)
905 TITLE:=BMP085/BMP18x pressure sensor
906 DEPENDS:= +kmod-regmap @!LINUX_3_18 @!LINUX_4_1
907 KCONFIG:= CONFIG_BMP085
908 FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
911 define KernelPackage/bmp085/description
912 This driver adds support for Bosch Sensortec's digital pressure
913 sensors BMP085 and BMP18x.
916 $(eval
$(call KernelPackage
,bmp085
))
919 define KernelPackage
/bmp085-i2c
920 SUBMENU
:=$(OTHER_MENU
)
921 TITLE
:=BMP085
/BMP18x pressure sensor I2C
922 DEPENDS
:= +kmod-bmp085
923 KCONFIG
:= CONFIG_BMP085_I2C
924 FILES
:= $(LINUX_DIR
)/drivers
/misc
/bmp085-i2c.ko
925 AUTOLOAD
:=$(call AutoProbe
,bmp085-i2c
)
927 define KernelPackage
/bmp085-i2c
/description
928 This driver adds support for Bosch Sensortec
's digital pressure
929 sensor connected via I2C.
932 $(eval $(call KernelPackage,bmp085-i2c))
935 define KernelPackage/bmp085-spi
936 SUBMENU:=$(OTHER_MENU)
937 TITLE:=BMP085/BMP18x pressure sensor SPI
938 DEPENDS:= +kmod-bmp085
939 KCONFIG:= CONFIG_BMP085_SPI
940 FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
941 AUTOLOAD:=$(call AutoProbe,bmp085-spi)
943 define KernelPackage/bmp085-spi/description
944 This driver adds support for Bosch Sensortec's digital pressure
945 sensor connected via SPI.
948 $(eval
$(call KernelPackage
,bmp085-spi
))