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