kernel: modules: drop 'AddDepends/bluetooth' calls
[openwrt/staging/dedeckeh.git] / package / kernel / linux / modules / other.mk
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 OTHER_MENU:=Other modules
9
10 WATCHDOG_DIR:=watchdog
11
12
13 define KernelPackage/6lowpan
14 SUBMENU:=$(OTHER_MENU)
15 TITLE:=6LoWPAN shared code
16 KCONFIG:= \
17 CONFIG_6LOWPAN \
18 CONFIG_6LOWPAN_NHC=n
19 FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
20 AUTOLOAD:=$(call AutoProbe,6lowpan)
21 endef
22
23 define KernelPackage/6lowpan/description
24 Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
25 endef
26
27 $(eval $(call KernelPackage,6lowpan))
28
29
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 +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh
34 KCONFIG:= \
35 CONFIG_BT \
36 CONFIG_BT_BREDR=y \
37 CONFIG_BT_DEBUGFS=n \
38 CONFIG_BT_LE=y \
39 CONFIG_BT_RFCOMM \
40 CONFIG_BT_BNEP \
41 CONFIG_BT_HCIBTUSB \
42 CONFIG_BT_HCIBTUSB_BCM=n \
43 CONFIG_BT_HCIUART \
44 CONFIG_BT_HCIUART_BCM=n \
45 CONFIG_BT_HCIUART_INTEL=n \
46 CONFIG_BT_HCIUART_H4 \
47 CONFIG_BT_HCIUART_NOKIA=n \
48 CONFIG_BT_HIDP
49 $(call AddDepends/rfkill)
50 FILES:= \
51 $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
52 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
53 $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
54 $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
55 $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
56 $(LINUX_DIR)/drivers/bluetooth/btusb.ko \
57 $(LINUX_DIR)/drivers/bluetooth/btintel.ko
58 AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
59 endef
60
61 define KernelPackage/bluetooth/description
62 Kernel support for Bluetooth devices
63 endef
64
65 $(eval $(call KernelPackage,bluetooth))
66
67 define KernelPackage/ath3k
68 SUBMENU:=$(OTHER_MENU)
69 TITLE:=ATH3K Kernel Module support
70 DEPENDS:=+kmod-bluetooth +ar3k-firmware
71 KCONFIG:= \
72 CONFIG_BT_ATH3K \
73 CONFIG_BT_HCIUART_ATH3K=y
74 FILES:= \
75 $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
76 AUTOLOAD:=$(call AutoProbe,ath3k)
77 endef
78
79 define KernelPackage/ath3k/description
80 Kernel support for ATH3K Module
81 endef
82
83 $(eval $(call KernelPackage,ath3k))
84
85
86 define KernelPackage/bluetooth-6lowpan
87 SUBMENU:=$(OTHER_MENU)
88 TITLE:=Bluetooth 6LoWPAN support
89 DEPENDS:=+kmod-6lowpan +kmod-bluetooth
90 KCONFIG:=CONFIG_BT_6LOWPAN
91 FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
92 AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
93 endef
94
95 define KernelPackage/bluetooth-6lowpan/description
96 Kernel support for 6LoWPAN over Bluetooth Low Energy devices
97 endef
98
99 $(eval $(call KernelPackage,bluetooth-6lowpan))
100
101
102 define KernelPackage/btmrvl
103 SUBMENU:=$(OTHER_MENU)
104 TITLE:=Marvell Bluetooth Kernel Module support
105 DEPENDS:=+kmod-mmc +kmod-bluetooth +mwifiex-sdio-firmware
106 KCONFIG:= \
107 CONFIG_BT_MRVL \
108 CONFIG_BT_MRVL_SDIO
109 FILES:= \
110 $(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
111 $(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
112 AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
113 endef
114
115 define KernelPackage/btmrvl/description
116 Kernel support for Marvell SDIO Bluetooth Module
117 endef
118
119 $(eval $(call KernelPackage,btmrvl))
120
121
122 define KernelPackage/dma-buf
123 SUBMENU:=$(OTHER_MENU)
124 TITLE:=DMA shared buffer support
125 HIDDEN:=1
126 KCONFIG:=CONFIG_DMA_SHARED_BUFFER
127 ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
128 ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
129 FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
130 endif
131 endif
132 AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
133 endef
134 $(eval $(call KernelPackage,dma-buf))
135
136
137 define KernelPackage/eeprom-93cx6
138 SUBMENU:=$(OTHER_MENU)
139 TITLE:=EEPROM 93CX6 support
140 KCONFIG:=CONFIG_EEPROM_93CX6
141 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
142 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
143 endef
144
145 define KernelPackage/eeprom-93cx6/description
146 Kernel module for EEPROM 93CX6 support
147 endef
148
149 $(eval $(call KernelPackage,eeprom-93cx6))
150
151
152 define KernelPackage/eeprom-at24
153 SUBMENU:=$(OTHER_MENU)
154 TITLE:=EEPROM AT24 support
155 KCONFIG:=CONFIG_EEPROM_AT24
156 DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c
157 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
158 AUTOLOAD:=$(call AutoProbe,at24)
159 endef
160
161 define KernelPackage/eeprom-at24/description
162 Kernel module for most I2C EEPROMs
163 endef
164
165 $(eval $(call KernelPackage,eeprom-at24))
166
167
168 define KernelPackage/eeprom-at25
169 SUBMENU:=$(OTHER_MENU)
170 TITLE:=EEPROM AT25 support
171 KCONFIG:=CONFIG_EEPROM_AT25
172 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
173 AUTOLOAD:=$(call AutoProbe,at25)
174 endef
175
176 define KernelPackage/eeprom-at25/description
177 Kernel module for most SPI EEPROMs
178 endef
179
180 $(eval $(call KernelPackage,eeprom-at25))
181
182
183 define KernelPackage/google-firmware
184 SUBMENU:=$(OTHER_MENU)
185 TITLE:=Google firmware drivers (Coreboot, VPD, Memconsole)
186 KCONFIG:= \
187 CONFIG_GOOGLE_FIRMWARE=y \
188 CONFIG_GOOGLE_COREBOOT_TABLE \
189 CONFIG_GOOGLE_MEMCONSOLE \
190 CONFIG_GOOGLE_MEMCONSOLE_COREBOOT \
191 CONFIG_GOOGLE_VPD
192 FILES:= \
193 $(LINUX_DIR)/drivers/firmware/google/coreboot_table.ko \
194 $(LINUX_DIR)/drivers/firmware/google/memconsole.ko \
195 $(LINUX_DIR)/drivers/firmware/google/memconsole-coreboot.ko \
196 $(LINUX_DIR)/drivers/firmware/google/vpd-sysfs.ko
197 AUTOLOAD:=$(call AutoProbe,coreboot_table memconsole-coreboot vpd-sysfs)
198 endef
199
200 define KernelPackage/google-firmware/description
201 Kernel modules for Google firmware drivers. Useful for examining firmware and
202 boot details on devices using a Google bootloader based on Coreboot. Provides
203 files like /sys/firmware/log and /sys/firmware/vpd.
204 endef
205
206 $(eval $(call KernelPackage,google-firmware))
207
208
209 define KernelPackage/gpio-f7188x
210 SUBMENU:=$(OTHER_MENU)
211 TITLE:=Fintek F718xx/F818xx GPIO Support
212 DEPENDS:=@GPIO_SUPPORT @TARGET_x86
213 KCONFIG:=CONFIG_GPIO_F7188X
214 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-f7188x.ko
215 AUTOLOAD:=$(call AutoProbe,gpio-f7188x)
216 endef
217
218 define KernelPackage/gpio-f7188x/description
219 Kernel module for the GPIOs found on many Fintek Super-IO chips.
220 endef
221
222 $(eval $(call KernelPackage,gpio-f7188x))
223
224
225 define KernelPackage/gpio-mcp23s08
226 SUBMENU:=$(OTHER_MENU)
227 TITLE:=Microchip MCP23xxx I/O expander
228 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
229 KCONFIG:= \
230 CONFIG_GPIO_MCP23S08 \
231 CONFIG_PINCTRL_MCP23S08
232 FILES:= \
233 $(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
234 AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
235 endef
236
237 define KernelPackage/gpio-mcp23s08/description
238 Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
239 endef
240
241 $(eval $(call KernelPackage,gpio-mcp23s08))
242
243
244 define KernelPackage/gpio-nxp-74hc164
245 SUBMENU:=$(OTHER_MENU)
246 TITLE:=NXP 74HC164 GPIO expander support
247 KCONFIG:=CONFIG_GPIO_74X164
248 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-74x164.ko
249 AUTOLOAD:=$(call AutoProbe,gpio-74x164)
250 endef
251
252 define KernelPackage/gpio-nxp-74hc164/description
253 Kernel module for NXP 74HC164 GPIO expander
254 endef
255
256 $(eval $(call KernelPackage,gpio-nxp-74hc164))
257
258 define KernelPackage/gpio-pca953x
259 SUBMENU:=$(OTHER_MENU)
260 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
261 TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
262 KCONFIG:=CONFIG_GPIO_PCA953X
263 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
264 AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
265 endef
266
267 define KernelPackage/gpio-pca953x/description
268 Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
269 PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
270 endef
271
272 $(eval $(call KernelPackage,gpio-pca953x))
273
274 define KernelPackage/gpio-pcf857x
275 SUBMENU:=$(OTHER_MENU)
276 DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
277 TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
278 KCONFIG:=CONFIG_GPIO_PCF857X
279 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
280 AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
281 endef
282
283 define KernelPackage/gpio-pcf857x/description
284 Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
285 endef
286
287 $(eval $(call KernelPackage,gpio-pcf857x))
288
289
290 define KernelPackage/gpio-it87
291 SUBMENU:=$(OTHER_MENU)
292 DEPENDS:=@GPIO_SUPPORT @TARGET_x86
293 TITLE:=GPIO support for IT87xx Super I/O chips
294 KCONFIG:=CONFIG_GPIO_IT87
295 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-it87.ko
296 AUTOLOAD:=$(call AutoLoad,25,gpio-it87,1)
297 endef
298
299 define KernelPackage/gpio-it87/description
300 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
301 supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as
302 well.
303 endef
304
305 $(eval $(call KernelPackage,gpio-it87))
306
307
308 define KernelPackage/gpio-amd-fch
309 SUBMENU:=$(OTHER_MENU)
310 DEPENDS:=@GPIO_SUPPORT @TARGET_x86
311 TITLE:=GPIO support for AMD Fusion Controller Hub (G-series SOCs)
312 KCONFIG:=CONFIG_GPIO_AMD_FCH
313 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-amd-fch.ko
314 AUTOLOAD:=$(call AutoLoad,25,gpio-amd-fch,1)
315 endef
316
317 define KernelPackage/gpio-amd-fch/description
318 This option enables driver for GPIO on AMDs Fusion Controller Hub,
319 as found on G-series SOCs (eg. GX-412TC)
320 endef
321
322 $(eval $(call KernelPackage,gpio-amd-fch))
323
324
325 define KernelPackage/ppdev
326 SUBMENU:=$(OTHER_MENU)
327 TITLE:=Parallel port support
328 KCONFIG:= \
329 CONFIG_PARPORT \
330 CONFIG_PPDEV
331 FILES:= \
332 $(LINUX_DIR)/drivers/parport/parport.ko \
333 $(LINUX_DIR)/drivers/char/ppdev.ko
334 AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
335 endef
336
337 $(eval $(call KernelPackage,ppdev))
338
339
340 define KernelPackage/parport-pc
341 SUBMENU:=$(OTHER_MENU)
342 TITLE:=Parallel port interface (PC-style) support
343 DEPENDS:=+kmod-ppdev
344 KCONFIG:= \
345 CONFIG_KS0108=n \
346 CONFIG_PARPORT_PC \
347 CONFIG_PARPORT_1284=y \
348 CONFIG_PARPORT_PC_FIFO=y \
349 CONFIG_PARPORT_PC_PCMCIA=n \
350 CONFIG_PARPORT_PC_SUPERIO=y \
351 CONFIG_PARPORT_SERIAL=n \
352 CONFIG_PARIDE=n \
353 CONFIG_SCSI_IMM=n \
354 CONFIG_SCSI_PPA=n
355 FILES:= \
356 $(LINUX_DIR)/drivers/parport/parport_pc.ko
357 AUTOLOAD:=$(call AutoLoad,51,parport_pc)
358 endef
359
360 $(eval $(call KernelPackage,parport-pc))
361
362
363 define KernelPackage/lp
364 SUBMENU:=$(OTHER_MENU)
365 TITLE:=Parallel port line printer device support
366 DEPENDS:=+kmod-ppdev
367 KCONFIG:= \
368 CONFIG_PRINTER
369 FILES:= \
370 $(LINUX_DIR)/drivers/char/lp.ko
371 AUTOLOAD:=$(call AutoLoad,52,lp)
372 endef
373
374 $(eval $(call KernelPackage,lp))
375
376
377 define KernelPackage/mmc
378 SUBMENU:=$(OTHER_MENU)
379 TITLE:=MMC/SD Card Support
380 DEPENDS:=@!TARGET_uml
381 KCONFIG:= \
382 CONFIG_MMC \
383 CONFIG_MMC_BLOCK \
384 CONFIG_MMC_DEBUG=n \
385 CONFIG_MMC_UNSAFE_RESUME=n \
386 CONFIG_MMC_BLOCK_BOUNCE=y \
387 CONFIG_MMC_TIFM_SD=n \
388 CONFIG_MMC_WBSD=n \
389 CONFIG_SDIO_UART=n
390 FILES:= \
391 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
392 $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
393 AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
394 endef
395
396 define KernelPackage/mmc/description
397 Kernel support for MMC/SD cards
398 endef
399
400 $(eval $(call KernelPackage,mmc))
401
402
403 define KernelPackage/mvsdio
404 SUBMENU:=$(OTHER_MENU)
405 TITLE:=Marvell MMC/SD/SDIO host driver
406 DEPENDS:=+kmod-mmc @TARGET_kirkwood
407 KCONFIG:= CONFIG_MMC_MVSDIO
408 FILES:= \
409 $(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
410 AUTOLOAD:=$(call AutoProbe,mvsdio,1)
411 endef
412
413 define KernelPackage/mvsdio/description
414 Kernel support for the Marvell SDIO host driver.
415 endef
416
417 $(eval $(call KernelPackage,mvsdio))
418
419
420 define KernelPackage/sdhci
421 SUBMENU:=$(OTHER_MENU)
422 TITLE:=Secure Digital Host Controller Interface support
423 DEPENDS:=+kmod-mmc
424 KCONFIG:= \
425 CONFIG_MMC_SDHCI \
426 CONFIG_MMC_SDHCI_PLTFM \
427 CONFIG_MMC_SDHCI_PCI=n
428 FILES:= \
429 $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
430 $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
431
432 AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
433 endef
434
435 define KernelPackage/sdhci/description
436 Kernel support for SDHCI Hosts
437 endef
438
439 $(eval $(call KernelPackage,sdhci))
440
441
442 define KernelPackage/rfkill
443 SUBMENU:=$(OTHER_MENU)
444 TITLE:=RF switch subsystem support
445 DEPENDS:=@USE_RFKILL +kmod-input-core
446 KCONFIG:= \
447 CONFIG_RFKILL_FULL \
448 CONFIG_RFKILL_INPUT=y \
449 CONFIG_RFKILL_LEDS=y
450 FILES:= \
451 $(LINUX_DIR)/net/rfkill/rfkill.ko
452 AUTOLOAD:=$(call AutoLoad,20,rfkill)
453 endef
454
455 define KernelPackage/rfkill/description
456 Say Y here if you want to have control over RF switches
457 found on many WiFi and Bluetooth cards
458 endef
459
460 $(eval $(call KernelPackage,rfkill))
461
462
463 define KernelPackage/softdog
464 SUBMENU:=$(OTHER_MENU)
465 TITLE:=Software watchdog driver
466 KCONFIG:=CONFIG_SOFT_WATCHDOG \
467 CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
468 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
469 AUTOLOAD:=$(call AutoLoad,50,softdog,1)
470 endef
471
472 define KernelPackage/softdog/description
473 Software watchdog driver
474 endef
475
476 $(eval $(call KernelPackage,softdog))
477
478
479 define KernelPackage/ssb
480 SUBMENU:=$(OTHER_MENU)
481 TITLE:=Silicon Sonics Backplane glue code
482 DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
483 KCONFIG:=\
484 CONFIG_SSB \
485 CONFIG_SSB_B43_PCI_BRIDGE=y \
486 CONFIG_SSB_DRIVER_MIPS=n \
487 CONFIG_SSB_DRIVER_PCICORE=y \
488 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
489 CONFIG_SSB_PCIHOST=y \
490 CONFIG_SSB_PCIHOST_POSSIBLE=y \
491 CONFIG_SSB_POSSIBLE=y \
492 CONFIG_SSB_SPROM=y \
493 CONFIG_SSB_SILENT=y
494 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
495 AUTOLOAD:=$(call AutoLoad,18,ssb,1)
496 endef
497
498 define KernelPackage/ssb/description
499 Silicon Sonics Backplane glue code.
500 endef
501
502 $(eval $(call KernelPackage,ssb))
503
504
505 define KernelPackage/bcma
506 SUBMENU:=$(OTHER_MENU)
507 TITLE:=BCMA support
508 DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
509 KCONFIG:=\
510 CONFIG_BCMA \
511 CONFIG_BCMA_POSSIBLE=y \
512 CONFIG_BCMA_BLOCKIO=y \
513 CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
514 CONFIG_BCMA_HOST_PCI=y \
515 CONFIG_BCMA_HOST_SOC=n \
516 CONFIG_BCMA_DRIVER_MIPS=n \
517 CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
518 CONFIG_BCMA_DRIVER_GMAC_CMN=n \
519 CONFIG_BCMA_DEBUG=n
520 FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
521 AUTOLOAD:=$(call AutoLoad,29,bcma)
522 endef
523
524 define KernelPackage/bcma/description
525 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
526 endef
527
528 $(eval $(call KernelPackage,bcma))
529
530
531 define KernelPackage/rtc-ds1307
532 SUBMENU:=$(OTHER_MENU)
533 TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
534 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
535 DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-hwmon-core
536 KCONFIG:=CONFIG_RTC_DRV_DS1307 \
537 CONFIG_RTC_CLASS=y
538 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
539 AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
540 endef
541
542 define KernelPackage/rtc-ds1307/description
543 Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
544 Epson RX-8025 and various other compatible RTC chips connected via I2C.
545 endef
546
547 $(eval $(call KernelPackage,rtc-ds1307))
548
549
550 define KernelPackage/rtc-ds1374
551 SUBMENU:=$(OTHER_MENU)
552 TITLE:=Dallas/Maxim DS1374 RTC support
553 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
554 DEPENDS:=+kmod-i2c-core
555 KCONFIG:=CONFIG_RTC_DRV_DS1374 \
556 CONFIG_RTC_DRV_DS1374_WDT=n \
557 CONFIG_RTC_CLASS=y
558 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
559 AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
560 endef
561
562 define KernelPackage/rtc-ds1374/description
563 Kernel module for Dallas/Maxim DS1374.
564 endef
565
566 $(eval $(call KernelPackage,rtc-ds1374))
567
568
569 define KernelPackage/rtc-ds1672
570 SUBMENU:=$(OTHER_MENU)
571 TITLE:=Dallas/Maxim DS1672 RTC support
572 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
573 DEPENDS:=+kmod-i2c-core
574 KCONFIG:=CONFIG_RTC_DRV_DS1672 \
575 CONFIG_RTC_CLASS=y
576 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
577 AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
578 endef
579
580 define KernelPackage/rtc-ds1672/description
581 Kernel module for Dallas/Maxim DS1672 RTC.
582 endef
583
584 $(eval $(call KernelPackage,rtc-ds1672))
585
586
587 define KernelPackage/rtc-em3027
588 SUBMENU:=$(OTHER_MENU)
589 TITLE:=Microelectronic EM3027 RTC support
590 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
591 DEPENDS:=+kmod-i2c-core
592 KCONFIG:=CONFIG_RTC_DRV_EM3027 \
593 CONFIG_RTC_CLASS=y
594 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-em3027.ko
595 AUTOLOAD:=$(call AutoProbe,rtc-em3027)
596 endef
597
598 define KernelPackage/rtc-em3027/description
599 Kernel module for Microelectronic EM3027 RTC.
600 endef
601
602 $(eval $(call KernelPackage,rtc-em3027))
603
604
605 define KernelPackage/rtc-isl1208
606 SUBMENU:=$(OTHER_MENU)
607 TITLE:=Intersil ISL1208 RTC support
608 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
609 DEPENDS:=+kmod-i2c-core
610 KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
611 CONFIG_RTC_CLASS=y
612 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
613 AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
614 endef
615
616 define KernelPackage/rtc-isl1208/description
617 Kernel module for Intersil ISL1208 RTC.
618 endef
619
620 $(eval $(call KernelPackage,rtc-isl1208))
621
622
623 define KernelPackage/rtc-pcf8563
624 SUBMENU:=$(OTHER_MENU)
625 TITLE:=Philips PCF8563/Epson RTC8564 RTC support
626 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
627 DEPENDS:=+kmod-i2c-core
628 KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
629 CONFIG_RTC_CLASS=y
630 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
631 AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
632 endef
633
634 define KernelPackage/rtc-pcf8563/description
635 Kernel module for Philips PCF8563 RTC chip.
636 The Epson RTC8564 should work as well.
637 endef
638
639 $(eval $(call KernelPackage,rtc-pcf8563))
640
641
642 define KernelPackage/rtc-pcf2123
643 SUBMENU:=$(OTHER_MENU)
644 TITLE:=Philips PCF2123 RTC support
645 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
646 DEPENDS:=+kmod-regmap-spi
647 KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
648 CONFIG_RTC_CLASS=y
649 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
650 AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
651 endef
652
653 define KernelPackage/rtc-pcf2123/description
654 Kernel module for Philips PCF2123 RTC chip
655 endef
656
657 $(eval $(call KernelPackage,rtc-pcf2123))
658
659 define KernelPackage/rtc-pcf2127
660 SUBMENU:=$(OTHER_MENU)
661 TITLE:=NXP PCF2127 and PCF2129 RTC support
662 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
663 DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
664 KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
665 CONFIG_RTC_CLASS=y
666 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
667 AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
668 endef
669
670 define KernelPackage/rtc-pcf2127/description
671 Kernel module for NXP PCF2127 and PCF2129 RTC chip
672 endef
673
674 $(eval $(call KernelPackage,rtc-pcf2127))
675
676 define KernelPackage/rtc-pt7c4338
677 SUBMENU:=$(OTHER_MENU)
678 TITLE:=Pericom PT7C4338 RTC support
679 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
680 DEPENDS:=+kmod-i2c-core
681 KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
682 CONFIG_RTC_CLASS=y
683 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
684 AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
685 endef
686
687 define KernelPackage/rtc-pt7c4338/description
688 Kernel module for Pericom PT7C4338 i2c RTC chip
689 endef
690
691 $(eval $(call KernelPackage,rtc-pt7c4338))
692
693 define KernelPackage/rtc-rs5c372a
694 SUBMENU:=$(OTHER_MENU)
695 TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
696 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
697 DEPENDS:=+kmod-i2c-core
698 KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
699 CONFIG_RTC_CLASS=y
700 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
701 AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
702 endef
703
704 define KernelPackage/rtc-rs5c372a/description
705 Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
706 endef
707
708 $(eval $(call KernelPackage,rtc-rs5c372a))
709
710 define KernelPackage/rtc-rx8025
711 SUBMENU:=$(OTHER_MENU)
712 TITLE:=Epson RX-8025 / RX-8035
713 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
714 DEPENDS:=+kmod-i2c-core
715 KCONFIG:=CONFIG_RTC_DRV_RX8025 \
716 CONFIG_RTC_CLASS=y
717 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
718 AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
719 endef
720
721 define KernelPackage/rtc-rx8025/description
722 Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
723 endef
724
725 $(eval $(call KernelPackage,rtc-rx8025))
726
727 define KernelPackage/rtc-s35390a
728 SUBMENU:=$(OTHER_MENU)
729 TITLE:=Seico S-35390A
730 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
731 DEPENDS:=+kmod-i2c-core
732 KCONFIG:=CONFIG_RTC_DRV_S35390A \
733 CONFIG_RTC_CLASS=y
734 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko
735 AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1)
736 endef
737
738 define KernelPackage/rtc-s35390a/description
739 Kernel module for Seiko Instruments S-35390A I2C RTC chip
740 endef
741
742 $(eval $(call KernelPackage,rtc-s35390a))
743
744
745 define KernelPackage/mtdtests
746 SUBMENU:=$(OTHER_MENU)
747 TITLE:=MTD subsystem tests
748 KCONFIG:=CONFIG_MTD_TESTS
749 FILES:=\
750 $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
751 $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
752 $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
753 $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
754 $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
755 $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
756 $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
757 $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
758 endef
759
760 define KernelPackage/mtdtests/description
761 Kernel modules for MTD subsystem/driver testing
762 endef
763
764 $(eval $(call KernelPackage,mtdtests))
765
766
767 define KernelPackage/mtdoops
768 SUBMENU:=$(OTHER_MENU)
769 TITLE:=Log panic/oops to an MTD buffer
770 KCONFIG:=CONFIG_MTD_OOPS
771 FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
772 endef
773
774 define KernelPackage/mtdoops/description
775 Kernel modules for Log panic/oops to an MTD buffer
776 endef
777
778 $(eval $(call KernelPackage,mtdoops))
779
780
781 define KernelPackage/mtdram
782 SUBMENU:=$(OTHER_MENU)
783 TITLE:=Test MTD driver using RAM
784 KCONFIG:=CONFIG_MTD_MTDRAM \
785 CONFIG_MTDRAM_TOTAL_SIZE=4096 \
786 CONFIG_MTDRAM_ERASE_SIZE=128
787 FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
788 endef
789
790 define KernelPackage/mtdram/description
791 Test MTD driver using RAM
792 endef
793
794 $(eval $(call KernelPackage,mtdram))
795
796
797 define KernelPackage/ramoops
798 SUBMENU:=$(OTHER_MENU)
799 TITLE:=Ramoops (pstore-ram)
800 DEFAULT:=m if ALL_KMODS
801 KCONFIG:=CONFIG_PSTORE_RAM
802 DEPENDS:=+kmod-pstore +kmod-reed-solomon
803 FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
804 AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
805 endef
806
807 define KernelPackage/ramoops/description
808 Kernel module for pstore-ram (ramoops) crash log storage
809 endef
810
811 $(eval $(call KernelPackage,ramoops))
812
813
814 define KernelPackage/reed-solomon
815 SUBMENU:=$(OTHER_MENU)
816 TITLE:=Reed-Solomon error correction
817 DEFAULT:=m if ALL_KMODS
818 KCONFIG:=CONFIG_REED_SOLOMON \
819 CONFIG_REED_SOLOMON_DEC8=y \
820 CONFIG_REED_SOLOMON_ENC8=y
821 FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
822 AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
823 endef
824
825 define KernelPackage/reed-solomon/description
826 Kernel module for Reed-Solomon error correction
827 endef
828
829 $(eval $(call KernelPackage,reed-solomon))
830
831
832 define KernelPackage/serial-8250
833 SUBMENU:=$(OTHER_MENU)
834 TITLE:=8250 UARTs
835 KCONFIG:= CONFIG_SERIAL_8250 \
836 CONFIG_SERIAL_8250_PCI \
837 CONFIG_SERIAL_8250_NR_UARTS=16 \
838 CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
839 CONFIG_SERIAL_8250_EXTENDED=y \
840 CONFIG_SERIAL_8250_MANY_PORTS=y \
841 CONFIG_SERIAL_8250_SHARE_IRQ=y \
842 CONFIG_SERIAL_8250_DETECT_IRQ=n \
843 CONFIG_SERIAL_8250_RSA=n
844 FILES:= \
845 $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
846 $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
847 $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
848 $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
849 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
850 endef
851
852 define KernelPackage/serial-8250/description
853 Kernel module for 8250 UART based serial ports
854 endef
855
856 $(eval $(call KernelPackage,serial-8250))
857
858
859 define KernelPackage/serial-8250-exar
860 SUBMENU:=$(OTHER_MENU)
861 TITLE:=Exar 8250 UARTs
862 KCONFIG:= CONFIG_SERIAL_8250_EXAR
863 FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
864 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
865 DEPENDS:=+kmod-serial-8250
866 endef
867
868 define KernelPackage/serial-8250-exar/description
869 Kernel module for Exar serial ports
870 endef
871
872 $(eval $(call KernelPackage,serial-8250-exar))
873
874
875 define KernelPackage/regmap-core
876 SUBMENU:=$(OTHER_MENU)
877 TITLE:=Generic register map support
878 HIDDEN:=1
879 KCONFIG:=CONFIG_REGMAP
880 ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
881 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
882 endif
883 endef
884
885 define KernelPackage/regmap-core/description
886 Generic register map support
887 endef
888
889 $(eval $(call KernelPackage,regmap-core))
890
891
892 define KernelPackage/regmap-spi
893 SUBMENU:=$(OTHER_MENU)
894 TITLE:=SPI register map support
895 DEPENDS:=+kmod-regmap-core
896 HIDDEN:=1
897 KCONFIG:=CONFIG_REGMAP_SPI \
898 CONFIG_SPI=y
899 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
900 endef
901
902 define KernelPackage/regmap-spi/description
903 SPI register map support
904 endef
905
906 $(eval $(call KernelPackage,regmap-spi))
907
908
909 define KernelPackage/regmap-i2c
910 SUBMENU:=$(OTHER_MENU)
911 TITLE:=I2C register map support
912 DEPENDS:=+kmod-regmap-core +kmod-i2c-core
913 HIDDEN:=1
914 KCONFIG:=CONFIG_REGMAP_I2C
915 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
916 endef
917
918 define KernelPackage/regmap-i2c/description
919 I2C register map support
920 endef
921
922 $(eval $(call KernelPackage,regmap-i2c))
923
924
925 define KernelPackage/regmap-mmio
926 SUBMENU:=$(OTHER_MENU)
927 TITLE:=MMIO register map support
928 DEPENDS:=+kmod-regmap-core
929 HIDDEN:=1
930 KCONFIG:=CONFIG_REGMAP_MMIO
931 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
932 endef
933
934 define KernelPackage/regmap-mmio/description
935 MMIO register map support
936 endef
937
938 $(eval $(call KernelPackage,regmap-mmio))
939
940
941 define KernelPackage/ikconfig
942 SUBMENU:=$(OTHER_MENU)
943 TITLE:=Kernel configuration via /proc/config.gz
944 KCONFIG:=CONFIG_IKCONFIG \
945 CONFIG_IKCONFIG_PROC=y
946 FILES:=$(LINUX_DIR)/kernel/configs.ko
947 AUTOLOAD:=$(call AutoLoad,70,configs)
948 endef
949
950 define KernelPackage/ikconfig/description
951 Kernel configuration via /proc/config.gz
952 endef
953
954 $(eval $(call KernelPackage,ikconfig))
955
956
957 define KernelPackage/zram
958 SUBMENU:=$(OTHER_MENU)
959 TITLE:=ZRAM
960 KCONFIG:= \
961 CONFIG_ZSMALLOC \
962 CONFIG_ZRAM \
963 CONFIG_ZRAM_DEBUG=n \
964 CONFIG_ZRAM_WRITEBACK=n \
965 CONFIG_ZSMALLOC_STAT=n
966 FILES:= \
967 $(LINUX_DIR)/mm/zsmalloc.ko \
968 $(LINUX_DIR)/drivers/block/zram/zram.ko
969 AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
970 endef
971
972 define KernelPackage/zram/description
973 Compressed RAM block device support
974 endef
975
976 define KernelPackage/zram/config
977 choice
978 prompt "ZRAM Default compressor"
979 default ZRAM_DEF_COMP_LZORLE
980
981 config ZRAM_DEF_COMP_LZORLE
982 bool "lzo-rle"
983 select PACKAGE_kmod-lib-lzo
984
985 config ZRAM_DEF_COMP_LZO
986 bool "lzo"
987 select PACKAGE_kmod-lib-lzo
988
989 config ZRAM_DEF_COMP_LZ4
990 bool "lz4"
991 select PACKAGE_kmod-lib-lz4
992
993 config ZRAM_DEF_COMP_ZSTD
994 bool "zstd"
995 select PACKAGE_kmod-lib-zstd
996
997 endchoice
998 endef
999
1000 $(eval $(call KernelPackage,zram))
1001
1002 define KernelPackage/pps
1003 SUBMENU:=$(OTHER_MENU)
1004 TITLE:=PPS support
1005 KCONFIG:=CONFIG_PPS
1006 FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
1007 AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
1008 endef
1009
1010 define KernelPackage/pps/description
1011 PPS (Pulse Per Second) is a special pulse provided by some GPS
1012 antennae. Userland can use it to get a high-precision time
1013 reference.
1014 endef
1015
1016 $(eval $(call KernelPackage,pps))
1017
1018
1019 define KernelPackage/pps-gpio
1020 SUBMENU:=$(OTHER_MENU)
1021 TITLE:=PPS client using GPIO
1022 DEPENDS:=+kmod-pps
1023 KCONFIG:=CONFIG_PPS_CLIENT_GPIO
1024 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
1025 AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
1026 endef
1027
1028 define KernelPackage/pps-gpio/description
1029 Support for a PPS source using GPIO. To be useful you must
1030 also register a platform device specifying the GPIO pin and
1031 other options, usually in your board setup.
1032 endef
1033
1034 $(eval $(call KernelPackage,pps-gpio))
1035
1036
1037 define KernelPackage/pps-ldisc
1038 SUBMENU:=$(OTHER_MENU)
1039 TITLE:=PPS line discipline
1040 DEPENDS:=+kmod-pps
1041 KCONFIG:=CONFIG_PPS_CLIENT_LDISC
1042 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
1043 AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
1044 endef
1045
1046 define KernelPackage/pps-ldisc/description
1047 Support for a PPS source connected with the CD (Carrier
1048 Detect) pin of your serial port.
1049 endef
1050
1051 $(eval $(call KernelPackage,pps-ldisc))
1052
1053
1054 define KernelPackage/ptp
1055 SUBMENU:=$(OTHER_MENU)
1056 TITLE:=PTP clock support
1057 DEPENDS:=+kmod-pps
1058 KCONFIG:= \
1059 CONFIG_PTP_1588_CLOCK \
1060 CONFIG_NET_PTP_CLASSIFY=y
1061 FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
1062 AUTOLOAD:=$(call AutoLoad,18,ptp,1)
1063 endef
1064
1065 define KernelPackage/ptp/description
1066 The IEEE 1588 standard defines a method to precisely
1067 synchronize distributed clocks over Ethernet networks.
1068 endef
1069
1070 $(eval $(call KernelPackage,ptp))
1071
1072
1073 define KernelPackage/ptp-qoriq
1074 SUBMENU:=$(OTHER_MENU)
1075 TITLE:=Freescale QorIQ PTP support
1076 DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
1077 KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
1078 FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
1079 AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
1080 endef
1081
1082
1083 define KernelPackage/ptp-qoriq/description
1084 Kernel module for IEEE 1588 support for Freescale
1085 QorIQ Ethernet drivers
1086 endef
1087
1088 $(eval $(call KernelPackage,ptp-qoriq))
1089
1090 define KernelPackage/random-core
1091 SUBMENU:=$(OTHER_MENU)
1092 TITLE:=Hardware Random Number Generator Core support
1093 KCONFIG:=CONFIG_HW_RANDOM
1094 FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
1095 endef
1096
1097 define KernelPackage/random-core/description
1098 Kernel module for the HW random number generator core infrastructure
1099 endef
1100
1101 $(eval $(call KernelPackage,random-core))
1102
1103
1104 define KernelPackage/thermal
1105 SUBMENU:=$(OTHER_MENU)
1106 TITLE:=Thermal driver
1107 DEPENDS:=+kmod-hwmon-core
1108 HIDDEN:=1
1109 KCONFIG:= \
1110 CONFIG_THERMAL=y \
1111 CONFIG_THERMAL_OF=y \
1112 CONFIG_CPU_THERMAL=y \
1113 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
1114 CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
1115 CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
1116 CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
1117 CONFIG_THERMAL_GOV_FAIR_SHARE=n \
1118 CONFIG_THERMAL_GOV_STEP_WISE=y \
1119 CONFIG_THERMAL_GOV_USER_SPACE=n \
1120 CONFIG_THERMAL_HWMON=y \
1121 CONFIG_THERMAL_EMULATION=n
1122 endef
1123
1124 define KernelPackage/thermal/description
1125 Thermal driver offers a generic mechanism for thermal management.
1126 Usually it's made up of one or more thermal zone and cooling device.
1127 endef
1128
1129 $(eval $(call KernelPackage,thermal))
1130
1131
1132 define KernelPackage/gpio-beeper
1133 SUBMENU:=$(OTHER_MENU)
1134 TITLE:=GPIO beeper support
1135 DEPENDS:=+kmod-input-core
1136 KCONFIG:= \
1137 CONFIG_INPUT_MISC=y \
1138 CONFIG_INPUT_GPIO_BEEPER
1139 FILES:= \
1140 $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
1141 AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
1142 endef
1143
1144 define KernelPackage/gpio-beeper/description
1145 This enables playing beeps through an GPIO-connected buzzer
1146 endef
1147
1148 $(eval $(call KernelPackage,gpio-beeper))
1149
1150
1151 define KernelPackage/echo
1152 SUBMENU:=$(OTHER_MENU)
1153 TITLE:=Line Echo Canceller
1154 KCONFIG:=CONFIG_ECHO
1155 FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
1156 AUTOLOAD:=$(call AutoLoad,50,echo)
1157 endef
1158
1159 define KernelPackage/echo/description
1160 This driver provides line echo cancelling support for mISDN and
1161 DAHDI drivers
1162 endef
1163
1164 $(eval $(call KernelPackage,echo))
1165
1166
1167 define KernelPackage/keys-encrypted
1168 SUBMENU:=$(OTHER_MENU)
1169 TITLE:=encrypted keys on kernel keyring
1170 DEPENDS:=@KERNEL_KEYS +kmod-crypto-cbc +kmod-crypto-hmac +kmod-crypto-rng \
1171 +kmod-crypto-sha256 +kmod-keys-trusted
1172 KCONFIG:=CONFIG_ENCRYPTED_KEYS
1173 FILES:=$(LINUX_DIR)/security/keys/encrypted-keys/encrypted-keys.ko
1174 AUTOLOAD:=$(call AutoLoad,01,encrypted-keys,1)
1175 endef
1176
1177 define KernelPackage/keys-encrypted/description
1178 This module provides support for create/encrypting/decrypting keys
1179 in the kernel. Encrypted keys are kernel generated random numbers,
1180 which are encrypted/decrypted with a 'master' symmetric key. The
1181 'master' key can be either a trusted-key or user-key type.
1182 Userspace only ever sees/stores encrypted blobs.
1183 endef
1184
1185 $(eval $(call KernelPackage,keys-encrypted))
1186
1187
1188 define KernelPackage/keys-trusted
1189 SUBMENU:=$(OTHER_MENU)
1190 TITLE:=TPM trusted keys on kernel keyring
1191 DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
1192 KCONFIG:=CONFIG_TRUSTED_KEYS
1193 FILES:= \
1194 $(LINUX_DIR)/security/keys/trusted.ko@lt5.10 \
1195 $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko@ge5.10
1196 AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
1197 endef
1198
1199 define KernelPackage/keys-trusted/description
1200 This module provides support for creating, sealing, and unsealing
1201 keys in the kernel. Trusted keys are random number symmetric keys,
1202 generated and RSA-sealed by the TPM. The TPM only unseals the keys,
1203 if the boot PCRs and other criteria match. Userspace will only ever
1204 see encrypted blobs.
1205 endef
1206
1207 $(eval $(call KernelPackage,keys-trusted))
1208
1209
1210 define KernelPackage/tpm
1211 SUBMENU:=$(OTHER_MENU)
1212 TITLE:=TPM Hardware Support
1213 DEPENDS:= +kmod-random-core +(LINUX_5_15):kmod-asn1-decoder \
1214 +(LINUX_5_15):kmod-asn1-encoder +(LINUX_5_15):kmod-oid-registry
1215 KCONFIG:= CONFIG_TCG_TPM
1216 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
1217 AUTOLOAD:=$(call AutoLoad,10,tpm,1)
1218 endef
1219
1220 define KernelPackage/tpm/description
1221 This enables TPM Hardware Support.
1222 endef
1223
1224 $(eval $(call KernelPackage,tpm))
1225
1226 define KernelPackage/tpm-tis
1227 SUBMENU:=$(OTHER_MENU)
1228 TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
1229 DEPENDS:= @TARGET_x86 +kmod-tpm
1230 KCONFIG:= CONFIG_TCG_TIS
1231 FILES:= \
1232 $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
1233 $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
1234 AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
1235 endef
1236
1237 define KernelPackage/tpm-tis/description
1238 If you have a TPM security chip that is compliant with the
1239 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
1240 specification (TPM2.0) say Yes and it will be accessible from
1241 within Linux.
1242 endef
1243
1244 $(eval $(call KernelPackage,tpm-tis))
1245
1246 define KernelPackage/tpm-i2c-atmel
1247 SUBMENU:=$(OTHER_MENU)
1248 TITLE:=TPM I2C Atmel Support
1249 DEPENDS:= +kmod-tpm +kmod-i2c-core
1250 KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
1251 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
1252 AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
1253 endef
1254
1255 define KernelPackage/tpm-i2c-atmel/description
1256 This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
1257 endef
1258
1259 $(eval $(call KernelPackage,tpm-i2c-atmel))
1260
1261 define KernelPackage/tpm-i2c-infineon
1262 SUBMENU:=$(OTHER_MENU)
1263 TITLE:= TPM I2C Infineon driver
1264 DEPENDS:= +kmod-tpm +kmod-i2c-core
1265 KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
1266 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
1267 AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
1268 endef
1269
1270 define KernelPackage/tpm-i2c-infineon/description
1271 This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
1272 endef
1273
1274 $(eval $(call KernelPackage,tpm-i2c-infineon))
1275
1276
1277 define KernelPackage/w83627hf-wdt
1278 SUBMENU:=$(OTHER_MENU)
1279 TITLE:=Winbond 83627HF Watchdog Timer
1280 KCONFIG:=CONFIG_W83627HF_WDT
1281 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko
1282 AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
1283 endef
1284
1285 define KernelPackage/w83627hf-wdt/description
1286 Kernel module for Winbond 83627HF Watchdog Timer
1287 endef
1288
1289 $(eval $(call KernelPackage,w83627hf-wdt))
1290
1291
1292 define KernelPackage/itco-wdt
1293 SUBMENU:=$(OTHER_MENU)
1294 TITLE:=Intel iTCO Watchdog Timer
1295 KCONFIG:=CONFIG_ITCO_WDT \
1296 CONFIG_ITCO_VENDOR_SUPPORT=y
1297 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
1298 $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
1299 AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
1300 endef
1301
1302 define KernelPackage/itco-wdt/description
1303 Kernel module for Intel iTCO Watchdog Timer
1304 endef
1305
1306 $(eval $(call KernelPackage,itco-wdt))
1307
1308
1309 define KernelPackage/it87-wdt
1310 SUBMENU:=$(OTHER_MENU)
1311 TITLE:=ITE IT87 Watchdog Timer
1312 KCONFIG:=CONFIG_IT87_WDT
1313 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/it87_wdt.ko
1314 AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
1315 MODPARAMS.it87-wdt:= \
1316 nogameport=1 \
1317 nocir=1
1318 endef
1319
1320 define KernelPackage/it87-wdt/description
1321 Kernel module for ITE IT87 Watchdog Timer
1322 endef
1323
1324 $(eval $(call KernelPackage,it87-wdt))
1325
1326
1327 define KernelPackage/f71808e-wdt
1328 SUBMENU:=$(OTHER_MENU)
1329 TITLE:=Fintek F718xx/F818xx Watchdog Timer
1330 DEPENDS:=@TARGET_x86
1331 KCONFIG:=CONFIG_F71808E_WDT
1332 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/f71808e_wdt.ko
1333 AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
1334 endef
1335
1336 define KernelPackage/f71808e-wdt/description
1337 Kernel module for the watchdog timer found on many Fintek Super-IO chips.
1338 endef
1339
1340 $(eval $(call KernelPackage,f71808e-wdt))