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