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