e279616f206ee3147754fc703f2fc72f808e42df
[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 +!LINUX_3_18:kmod-crypto-cmac +!LINUX_3_18:kmod-regmap-core +!(LINUX_3_18||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_3_18||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_3_18||LINUX_4_9):kmod-regmap-i2c +!(LINUX_3_18||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-pt7c4338
603 SUBMENU:=$(OTHER_MENU)
604 TITLE:=Pericom PT7C4338 RTC support
605 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
606 DEPENDS:=+kmod-i2c-core
607 KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
608 CONFIG_RTC_CLASS=y
609 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
610 AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
611 endef
612
613 define KernelPackage/rtc-pt7c4338/description
614 Kernel module for Pericom PT7C4338 i2c RTC chip
615 endef
616
617 $(eval $(call KernelPackage,rtc-pt7c4338))
618
619 define KernelPackage/rtc-rs5c372a
620 SUBMENU:=$(OTHER_MENU)
621 TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
622 DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
623 DEPENDS:=+kmod-i2c-core
624 KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
625 CONFIG_RTC_CLASS=y
626 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
627 AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
628 endef
629
630 define KernelPackage/rtc-rs5c372a/description
631 Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
632 endef
633
634 $(eval $(call KernelPackage,rtc-rs5c372a))
635
636
637 define KernelPackage/mtdtests
638 SUBMENU:=$(OTHER_MENU)
639 TITLE:=MTD subsystem tests
640 KCONFIG:=CONFIG_MTD_TESTS
641 FILES:=\
642 $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
643 $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
644 $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
645 $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
646 $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
647 $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
648 $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
649 $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
650 endef
651
652 define KernelPackage/mtdtests/description
653 Kernel modules for MTD subsystem/driver testing
654 endef
655
656 $(eval $(call KernelPackage,mtdtests))
657
658
659 define KernelPackage/mtdoops
660 SUBMENU:=$(OTHER_MENU)
661 TITLE:=Log panic/oops to an MTD buffer
662 KCONFIG:=CONFIG_MTD_OOPS
663 FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
664 endef
665
666 define KernelPackage/mtdoops/description
667 Kernel modules for Log panic/oops to an MTD buffer
668 endef
669
670 $(eval $(call KernelPackage,mtdoops))
671
672
673 define KernelPackage/mtdram
674 SUBMENU:=$(OTHER_MENU)
675 TITLE:=Test MTD driver using RAM
676 KCONFIG:=CONFIG_MTD_MTDRAM \
677 CONFIG_MTDRAM_TOTAL_SIZE=4096 \
678 CONFIG_MTDRAM_ERASE_SIZE=128
679 FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
680 endef
681
682 define KernelPackage/mtdram/description
683 Test MTD driver using RAM
684 endef
685
686 $(eval $(call KernelPackage,mtdram))
687
688
689 define KernelPackage/serial-8250
690 SUBMENU:=$(OTHER_MENU)
691 TITLE:=8250 UARTs
692 KCONFIG:= CONFIG_SERIAL_8250 \
693 CONFIG_SERIAL_8250_PCI \
694 CONFIG_SERIAL_8250_NR_UARTS=16 \
695 CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
696 CONFIG_SERIAL_8250_EXTENDED=y \
697 CONFIG_SERIAL_8250_MANY_PORTS=y \
698 CONFIG_SERIAL_8250_SHARE_IRQ=y \
699 CONFIG_SERIAL_8250_DETECT_IRQ=n \
700 CONFIG_SERIAL_8250_RSA=n
701 FILES:= \
702 $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
703 $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4 \
704 $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko@ge4.4)
705 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
706 endef
707
708 define KernelPackage/serial-8250/description
709 Kernel module for 8250 UART based serial ports
710 endef
711
712 $(eval $(call KernelPackage,serial-8250))
713
714
715 define KernelPackage/serial-8250-exar
716 SUBMENU:=$(OTHER_MENU)
717 TITLE:=Exar 8250 UARTs
718 KCONFIG:= CONFIG_SERIAL_8250_EXAR
719 FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
720 AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
721 DEPENDS:=+kmod-serial-8250
722 endef
723
724 define KernelPackage/serial-8250-exar/description
725 Kernel module for Exar serial ports
726 endef
727
728 $(eval $(call KernelPackage,serial-8250-exar))
729
730
731 define KernelPackage/regmap-core
732 SUBMENU:=$(OTHER_MENU)
733 TITLE:=Generic register map support
734 HIDDEN:=1
735 KCONFIG:=CONFIG_REGMAP
736 ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
737 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
738 endif
739 endef
740
741 define KernelPackage/regmap-core/description
742 Generic register map support
743 endef
744
745 $(eval $(call KernelPackage,regmap-core))
746
747
748 define KernelPackage/regmap-spi
749 SUBMENU:=$(OTHER_MENU)
750 TITLE:=SPI register map support
751 DEPENDS:=+kmod-regmap-core
752 HIDDEN:=1
753 KCONFIG:=CONFIG_REGMAP_SPI \
754 CONFIG_SPI=y
755 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
756 endef
757
758 define KernelPackage/regmap-spi/description
759 SPI register map support
760 endef
761
762 $(eval $(call KernelPackage,regmap-spi))
763
764
765 define KernelPackage/regmap-i2c
766 SUBMENU:=$(OTHER_MENU)
767 TITLE:=I2C register map support
768 DEPENDS:=+kmod-regmap-core +kmod-i2c-core
769 HIDDEN:=1
770 KCONFIG:=CONFIG_REGMAP_I2C
771 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
772 endef
773
774 define KernelPackage/regmap-i2c/description
775 I2C register map support
776 endef
777
778 $(eval $(call KernelPackage,regmap-i2c))
779
780
781 define KernelPackage/regmap-mmio
782 SUBMENU:=$(OTHER_MENU)
783 TITLE:=MMIO register map support
784 DEPENDS:=+kmod-regmap-core
785 HIDDEN:=1
786 KCONFIG:=CONFIG_REGMAP_MMIO
787 FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
788 endef
789
790 define KernelPackage/regmap-mmio/description
791 MMIO register map support
792 endef
793
794 $(eval $(call KernelPackage,regmap-mmio))
795
796
797 define KernelPackage/ikconfig
798 SUBMENU:=$(OTHER_MENU)
799 TITLE:=Kernel configuration via /proc/config.gz
800 KCONFIG:=CONFIG_IKCONFIG \
801 CONFIG_IKCONFIG_PROC=y
802 FILES:=$(LINUX_DIR)/kernel/configs.ko
803 AUTOLOAD:=$(call AutoLoad,70,configs)
804 endef
805
806 define KernelPackage/ikconfig/description
807 Kernel configuration via /proc/config.gz
808 endef
809
810 $(eval $(call KernelPackage,ikconfig))
811
812
813 define KernelPackage/zram
814 SUBMENU:=$(OTHER_MENU)
815 TITLE:=ZRAM
816 DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
817 KCONFIG:= \
818 CONFIG_ZSMALLOC \
819 CONFIG_ZRAM \
820 CONFIG_ZRAM_DEBUG=n \
821 CONFIG_PGTABLE_MAPPING=n \
822 CONFIG_ZRAM_WRITEBACK=n \
823 CONFIG_ZSMALLOC_STAT=n \
824 CONFIG_ZRAM_LZ4_COMPRESS=y
825 FILES:= \
826 $(LINUX_DIR)/mm/zsmalloc.ko \
827 $(LINUX_DIR)/drivers/block/zram/zram.ko
828 AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
829 endef
830
831 define KernelPackage/zram/description
832 Compressed RAM block device support
833 endef
834
835 $(eval $(call KernelPackage,zram))
836
837
838 define KernelPackage/pps
839 SUBMENU:=$(OTHER_MENU)
840 TITLE:=PPS support
841 KCONFIG:=CONFIG_PPS
842 FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
843 AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
844 endef
845
846 define KernelPackage/pps/description
847 PPS (Pulse Per Second) is a special pulse provided by some GPS
848 antennae. Userland can use it to get a high-precision time
849 reference.
850 endef
851
852 $(eval $(call KernelPackage,pps))
853
854
855 define KernelPackage/pps-gpio
856 SUBMENU:=$(OTHER_MENU)
857 TITLE:=PPS client using GPIO
858 DEPENDS:=+kmod-pps
859 KCONFIG:=CONFIG_PPS_CLIENT_GPIO
860 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
861 AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
862 endef
863
864 define KernelPackage/pps-gpio/description
865 Support for a PPS source using GPIO. To be useful you must
866 also register a platform device specifying the GPIO pin and
867 other options, usually in your board setup.
868 endef
869
870 $(eval $(call KernelPackage,pps-gpio))
871
872
873 define KernelPackage/pps-ldisc
874 SUBMENU:=$(OTHER_MENU)
875 TITLE:=PPS line discipline
876 DEPENDS:=+kmod-pps
877 KCONFIG:=CONFIG_PPS_CLIENT_LDISC
878 FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
879 AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
880 endef
881
882 define KernelPackage/pps-ldisc/description
883 Support for a PPS source connected with the CD (Carrier
884 Detect) pin of your serial port.
885 endef
886
887 $(eval $(call KernelPackage,pps-ldisc))
888
889
890 define KernelPackage/ptp
891 SUBMENU:=$(OTHER_MENU)
892 TITLE:=PTP clock support
893 DEPENDS:=+kmod-pps
894 KCONFIG:= \
895 CONFIG_PTP_1588_CLOCK \
896 CONFIG_NET_PTP_CLASSIFY=y
897 FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
898 AUTOLOAD:=$(call AutoLoad,18,ptp,1)
899 endef
900
901 define KernelPackage/ptp/description
902 The IEEE 1588 standard defines a method to precisely
903 synchronize distributed clocks over Ethernet networks.
904 endef
905
906 $(eval $(call KernelPackage,ptp))
907
908
909 define KernelPackage/ptp-gianfar
910 SUBMENU:=$(OTHER_MENU)
911 TITLE:=Freescale Gianfar PTP support
912 DEPENDS:=@TARGET_mpc85xx +kmod-ptp @!LINUX_4_19
913 KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
914 FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
915 AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
916 endef
917
918 define KernelPackage/ptp-gianfar/description
919 Kernel module for IEEE 1588 support for Freescale
920 Gianfar Ethernet drivers
921 endef
922
923 $(eval $(call KernelPackage,ptp-gianfar))
924
925 define KernelPackage/ptp-qoriq
926 SUBMENU:=$(OTHER_MENU)
927 TITLE:=Freescale QorIQ PTP support
928 DEPENDS:=@TARGET_mpc85xx +kmod-ptp @LINUX_4_19
929 KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
930 FILES:=$(LINUX_DIR)/drivers/ptp/ptp_qoriq.o
931 AUTOLOAD:=$(call AutoProbe,ptp_qoriq)
932 endef
933
934
935 define KernelPackage/ptp-qoriq/description
936 Kernel module for IEEE 1588 support for Freescale
937 QorIQ Ethernet drivers
938 endef
939
940 $(eval $(call KernelPackage,ptp-qoriq))
941
942 define KernelPackage/random-core
943 SUBMENU:=$(OTHER_MENU)
944 TITLE:=Hardware Random Number Generator Core support
945 KCONFIG:=CONFIG_HW_RANDOM
946 FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
947 endef
948
949 define KernelPackage/random-core/description
950 Kernel module for the HW random number generator core infrastructure
951 endef
952
953 $(eval $(call KernelPackage,random-core))
954
955 define KernelPackage/random-omap
956 SUBMENU:=$(OTHER_MENU)
957 TITLE:=Hardware Random Number Generator OMAP support
958 KCONFIG:=CONFIG_HW_RANDOM_OMAP
959 FILES:=$(LINUX_DIR)/drivers/char/hw_random/omap-rng.ko
960 DEPENDS:=@TARGET_omap24xx +kmod-random-core
961 AUTOLOAD:=$(call AutoProbe,random-omap)
962 endef
963
964 define KernelPackage/random-omap/description
965 Kernel module for the OMAP Random Number Generator
966 found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors.
967 endef
968
969 $(eval $(call KernelPackage,random-omap))
970
971 define KernelPackage/random-tpm
972 SUBMENU:=$(OTHER_MENU)
973 TITLE:=Hardware Random Number Generator TPM support
974 KCONFIG:=CONFIG_HW_RANDOM_TPM
975 FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko
976 DEPENDS:= +kmod-random-core +kmod-tpm @!LINUX_4_19
977 AUTOLOAD:=$(call AutoProbe,tpm-rng)
978 endef
979
980 define KernelPackage/random-tpm/description
981 Kernel module for the Random Number Generator
982 in the Trusted Platform Module.
983 endef
984
985 $(eval $(call KernelPackage,random-tpm))
986
987 define KernelPackage/thermal
988 SUBMENU:=$(OTHER_MENU)
989 TITLE:=Generic Thermal sysfs driver
990 DEPENDS:=+kmod-hwmon-core
991 HIDDEN:=1
992 KCONFIG:= \
993 CONFIG_THERMAL \
994 CONFIG_THERMAL_OF=y \
995 CONFIG_CPU_THERMAL=y \
996 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
997 CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
998 CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
999 CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
1000 CONFIG_THERMAL_GOV_FAIR_SHARE=n \
1001 CONFIG_THERMAL_GOV_STEP_WISE=y \
1002 CONFIG_THERMAL_GOV_USER_SPACE=n \
1003 CONFIG_THERMAL_HWMON=y \
1004 CONFIG_THERMAL_EMULATION=n
1005 FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
1006 AUTOLOAD:=$(call AutoProbe,thermal_sys)
1007 endef
1008
1009 define KernelPackage/thermal/description
1010 Generic Thermal Sysfs driver offers a generic mechanism for thermal
1011 management. Usually it's made up of one or more thermal zone and cooling
1012 device.
1013 endef
1014
1015 $(eval $(call KernelPackage,thermal))
1016
1017
1018 define KernelPackage/gpio-beeper
1019 SUBMENU:=$(OTHER_MENU)
1020 TITLE:=GPIO beeper support
1021 DEPENDS:=+kmod-input-core
1022 KCONFIG:= \
1023 CONFIG_INPUT_MISC=y \
1024 CONFIG_INPUT_GPIO_BEEPER
1025 FILES:= \
1026 $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
1027 AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
1028 endef
1029
1030 define KernelPackage/gpio-beeper/description
1031 This enables playing beeps through an GPIO-connected buzzer
1032 endef
1033
1034 $(eval $(call KernelPackage,gpio-beeper))
1035
1036
1037 define KernelPackage/echo
1038 SUBMENU:=$(OTHER_MENU)
1039 TITLE:=Line Echo Canceller
1040 KCONFIG:=CONFIG_ECHO
1041 FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
1042 AUTOLOAD:=$(call AutoLoad,50,echo)
1043 endef
1044
1045 define KernelPackage/echo/description
1046 This driver provides line echo cancelling support for mISDN and
1047 DAHDI drivers
1048 endef
1049
1050 $(eval $(call KernelPackage,echo))
1051
1052
1053 define KernelPackage/bmp085
1054 SUBMENU:=$(OTHER_MENU)
1055 TITLE:=BMP085/BMP18x pressure sensor
1056 DEPENDS:= +kmod-regmap-core @!LINUX_3_18
1057 KCONFIG:= CONFIG_BMP085
1058 FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
1059 endef
1060
1061 define KernelPackage/bmp085/description
1062 This driver adds support for Bosch Sensortec's digital pressure
1063 sensors BMP085 and BMP18x.
1064 endef
1065
1066 $(eval $(call KernelPackage,bmp085))
1067
1068
1069 define KernelPackage/bmp085-i2c
1070 SUBMENU:=$(OTHER_MENU)
1071 TITLE:=BMP085/BMP18x pressure sensor I2C
1072 DEPENDS:= +kmod-bmp085
1073 KCONFIG:= CONFIG_BMP085_I2C
1074 FILES:= $(LINUX_DIR)/drivers/misc/bmp085-i2c.ko
1075 AUTOLOAD:=$(call AutoProbe,bmp085-i2c)
1076 endef
1077 define KernelPackage/bmp085-i2c/description
1078 This driver adds support for Bosch Sensortec's digital pressure
1079 sensor connected via I2C.
1080 endef
1081
1082 $(eval $(call KernelPackage,bmp085-i2c))
1083
1084
1085 define KernelPackage/bmp085-spi
1086 SUBMENU:=$(OTHER_MENU)
1087 TITLE:=BMP085/BMP18x pressure sensor SPI
1088 DEPENDS:= +kmod-bmp085
1089 KCONFIG:= CONFIG_BMP085_SPI
1090 FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
1091 AUTOLOAD:=$(call AutoProbe,bmp085-spi)
1092 endef
1093 define KernelPackage/bmp085-spi/description
1094 This driver adds support for Bosch Sensortec's digital pressure
1095 sensor connected via SPI.
1096 endef
1097
1098 $(eval $(call KernelPackage,bmp085-spi))
1099
1100 define KernelPackage/tpm
1101 SUBMENU:=$(OTHER_MENU)
1102 TITLE:=TPM Hardware Support
1103 KCONFIG:= CONFIG_TCG_TPM
1104 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
1105 AUTOLOAD:=$(call AutoLoad,10,tpm,1)
1106 endef
1107
1108 define KernelPackage/tpm/description
1109 This enables TPM Hardware Support.
1110 endef
1111
1112 $(eval $(call KernelPackage,tpm))
1113
1114 define KernelPackage/tpm-tis
1115 SUBMENU:=$(OTHER_MENU)
1116 TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
1117 DEPENDS:= @TARGET_x86 +kmod-tpm
1118 KCONFIG:= CONFIG_TCG_TIS
1119 FILES:= \
1120 $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
1121 $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
1122 AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
1123 endef
1124
1125 define KernelPackage/tpm-tis/description
1126 If you have a TPM security chip that is compliant with the
1127 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
1128 specification (TPM2.0) say Yes and it will be accessible from
1129 within Linux.
1130 endef
1131
1132 $(eval $(call KernelPackage,tpm-tis))
1133
1134 define KernelPackage/tpm-i2c-atmel
1135 SUBMENU:=$(OTHER_MENU)
1136 TITLE:=TPM I2C Atmel Support
1137 DEPENDS:= +kmod-tpm +kmod-i2c-core
1138 KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
1139 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
1140 AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
1141 endef
1142
1143 define KernelPackage/tpm-i2c-atmel/description
1144 This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
1145 endef
1146
1147 $(eval $(call KernelPackage,tpm-i2c-atmel))
1148
1149 define KernelPackage/tpm-i2c-infineon
1150 SUBMENU:=$(OTHER_MENU)
1151 TITLE:= TPM I2C Infineon driver
1152 DEPENDS:= +kmod-tpm +kmod-i2c-core
1153 KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
1154 FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
1155 AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
1156 endef
1157
1158 define KernelPackage/tpm-i2c-infineon/description
1159 This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
1160 endef
1161
1162 $(eval $(call KernelPackage,tpm-i2c-infineon))
1163
1164
1165 define KernelPackage/w83627hf-wdt
1166 SUBMENU:=$(OTHER_MENU)
1167 TITLE:=Winbond 83627HF Watchdog Timer
1168 KCONFIG:=CONFIG_W83627HF_WDT
1169 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko
1170 AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
1171 endef
1172
1173 define KernelPackage/w83627hf-wdt/description
1174 Kernel module for Winbond 83627HF Watchdog Timer
1175 endef
1176
1177 $(eval $(call KernelPackage,w83627hf-wdt))
1178
1179
1180 define KernelPackage/itco-wdt
1181 SUBMENU:=$(OTHER_MENU)
1182 TITLE:=Intel iTCO Watchdog Timer
1183 KCONFIG:=CONFIG_ITCO_WDT \
1184 CONFIG_ITCO_VENDOR_SUPPORT=y
1185 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
1186 $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
1187 AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
1188 endef
1189
1190 define KernelPackage/itco-wdt/description
1191 Kernel module for Intel iTCO Watchdog Timer
1192 endef
1193
1194 $(eval $(call KernelPackage,itco-wdt))
1195
1196
1197 define KernelPackage/it87-wdt
1198 SUBMENU:=$(OTHER_MENU)
1199 TITLE:=ITE IT87 Watchdog Timer
1200 KCONFIG:=CONFIG_IT87_WDT
1201 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/it87_wdt.ko
1202 AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
1203 MODPARAMS.it87-wdt:= \
1204 nogameport=1 \
1205 nocir=1
1206 endef
1207
1208 define KernelPackage/it87-wdt/description
1209 Kernel module for ITE IT87 Watchdog Timer
1210 endef
1211
1212 $(eval $(call KernelPackage,it87-wdt))