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