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