package/kernel: enable kmod-ata-core & kmod-scsi-core on x86
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006-2011 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/bluetooth
14 SUBMENU:=$(OTHER_MENU)
15 TITLE:=Bluetooth support
16 DEPENDS:=@USB_SUPPORT +kmod-usb-core
17 KCONFIG:= \
18 CONFIG_BLUEZ \
19 CONFIG_BLUEZ_L2CAP \
20 CONFIG_BLUEZ_SCO \
21 CONFIG_BLUEZ_RFCOMM \
22 CONFIG_BLUEZ_BNEP \
23 CONFIG_BLUEZ_HCIUART \
24 CONFIG_BLUEZ_HCIUSB \
25 CONFIG_BLUEZ_HIDP \
26 CONFIG_BT \
27 CONFIG_BT_L2CAP=y \
28 CONFIG_BT_SCO=y \
29 CONFIG_BT_RFCOMM \
30 CONFIG_BT_BNEP \
31 CONFIG_BT_HCIBTUSB \
32 CONFIG_BT_HCIUSB \
33 CONFIG_BT_HCIUART \
34 CONFIG_BT_HCIUART_H4 \
35 CONFIG_BT_HIDP \
36 CONFIG_HID_SUPPORT=y
37 $(call AddDepends/crc16)
38 $(call AddDepends/hid)
39 $(call AddDepends/rfkill)
40 FILES:= \
41 $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
42 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
43 $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
44 $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
45 $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
46 $(LINUX_DIR)/drivers/bluetooth/btusb.ko
47 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.39)),1)
48 AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
49 else
50 FILES+= \
51 $(LINUX_DIR)/net/bluetooth/l2cap.ko \
52 $(LINUX_DIR)/net/bluetooth/sco.ko
53 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
54 endif
55 endef
56
57 define KernelPackage/bluetooth/description
58 Kernel support for Bluetooth devices
59 endef
60
61 $(eval $(call KernelPackage,bluetooth))
62
63
64 define KernelPackage/bluetooth-hci-h4p
65 SUBMENU:=$(OTHER_MENU)
66 TITLE:=HCI driver with H4 Nokia extensions
67 DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
68 KCONFIG:=CONFIG_BT_HCIH4P
69 FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
70 AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
71 endef
72
73 define KernelPackage/bluetooth-hci-h4p/description
74 HCI driver with H4 Nokia extensions
75 endef
76
77 $(eval $(call KernelPackage,bluetooth-hci-h4p))
78
79
80 define KernelPackage/cpu-msr
81 SUBMENU:=$(OTHER_MENU)
82 TITLE:=x86 CPU MSR support
83 DEPENDS:=@TARGET_x86
84 KCONFIG:=CONFIG_X86_MSR
85 FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
86 AUTOLOAD:=$(call AutoLoad,20,msr)
87 endef
88
89 define KernelPackage/cpu-msr/description
90 Kernel module for Model Specific Registers support in x86 CPUs
91 endef
92
93 $(eval $(call KernelPackage,cpu-msr))
94
95
96 define KernelPackage/eeprom-93cx6
97 SUBMENU:=$(OTHER_MENU)
98 TITLE:=EEPROM 93CX6 support
99 KCONFIG:=CONFIG_EEPROM_93CX6
100 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
101 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
102 endef
103
104 define KernelPackage/eeprom-93cx6/description
105 Kernel module for EEPROM 93CX6 support
106 endef
107
108 $(eval $(call KernelPackage,eeprom-93cx6))
109
110
111 define KernelPackage/eeprom-at24
112 SUBMENU:=$(OTHER_MENU)
113 TITLE:=EEPROM AT24 support
114 KCONFIG:=CONFIG_EEPROM_AT24
115 DEPENDS:=+kmod-i2c-core
116 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
117 AUTOLOAD:=$(call AutoLoad,60,at24)
118 endef
119
120 define KernelPackage/eeprom-at24/description
121 Kernel module for most I2C EEPROMs
122 endef
123
124 $(eval $(call KernelPackage,eeprom-at24))
125
126
127 define KernelPackage/eeprom-at25
128 SUBMENU:=$(OTHER_MENU)
129 TITLE:=EEPROM AT25 support
130 KCONFIG:=CONFIG_EEPROM_AT25
131 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
132 AUTOLOAD:=$(call AutoLoad,61,at25)
133 endef
134
135 define KernelPackage/eeprom-at25/description
136 Kernel module for most SPI EEPROMs
137 endef
138
139 $(eval $(call KernelPackage,eeprom-at25))
140
141
142 define KernelPackage/gpio-cs5535
143 SUBMENU:=$(OTHER_MENU)
144 TITLE:=AMD CS5535/CS5536 GPIO driver
145 DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
146 KCONFIG:=CONFIG_CS5535_GPIO
147 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
148 AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
149 endef
150
151 define KernelPackage/gpio-cs5535/description
152 This package contains the AMD CS5535/CS5536 GPIO driver
153 endef
154
155 $(eval $(call KernelPackage,gpio-cs5535))
156
157
158 define KernelPackage/gpio-cs5535-new
159 SUBMENU:=$(OTHER_MENU)
160 TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
161 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
162 KCONFIG:=CONFIG_GPIO_CS5535
163 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1)
164 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko
165 AUTOLOAD:=$(call AutoLoad,50,gpio-cs5535)
166 else
167 FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
168 AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
169 endif
170 endef
171
172 define KernelPackage/gpio-cs5535-new/description
173 This package contains the new AMD CS5535/CS5536 GPIO driver
174 endef
175
176 $(eval $(call KernelPackage,gpio-cs5535-new))
177
178
179 define KernelPackage/gpio-dev
180 SUBMENU:=$(OTHER_MENU)
181 TITLE:=Generic GPIO char device support
182 DEPENDS:=@GPIO_SUPPORT
183 KCONFIG:=CONFIG_GPIO_DEVICE
184 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
185 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
186 endef
187
188 define KernelPackage/gpio-dev/description
189 Kernel module to allows control of GPIO pins using a character device.
190 endef
191
192 $(eval $(call KernelPackage,gpio-dev))
193
194
195 define KernelPackage/gpio-nsc
196 SUBMENU:=$(OTHER_MENU)
197 TITLE:=Natsemi GPIO support
198 DEPENDS:=@TARGET_x86
199 KCONFIG:=CONFIG_NSC_GPIO
200 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
201 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
202 endef
203
204 define KernelPackage/gpio-nsc/description
205 Kernel module for Natsemi GPIO
206 endef
207
208 $(eval $(call KernelPackage,gpio-nsc))
209
210
211 define KernelPackage/gpio-pc8736x
212 SUBMENU:=$(OTHER_MENU)
213 TITLE:=PC8736x GPIO support
214 DEPENDS:=@TARGET_x86
215 KCONFIG:=CONFIG_PC8736x_GPIO
216 FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
217 AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
218 endef
219
220 define KernelPackage/gpio-pc8736x/description
221 Kernel module for PC8736x GPIO
222 endef
223
224 $(eval $(call KernelPackage,gpio-pc8736x))
225
226
227 define KernelPackage/gpio-scx200
228 SUBMENU:=$(OTHER_MENU)
229 TITLE:=Natsemi SCX200 GPIO support
230 DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
231 KCONFIG:=CONFIG_SCx200_GPIO
232 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
233 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
234 endef
235
236 define KernelPackage/gpio-scx200/description
237 Kernel module for SCX200 GPIO
238 endef
239
240 $(eval $(call KernelPackage,gpio-scx200))
241
242 define KernelPackage/gpio-nxp-74hc164
243 SUBMENU:=$(OTHER_MENU)
244 TITLE:=NXP 74HC164 GPIO expander support
245 DEPENDS:=@TARGET_brcm63xx
246 KCONFIG:=CONFIG_GPIO_NXP_74HC164
247 FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
248 AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
249 endef
250
251 define KernelPackage/gpio-nxp-74hc164/description
252 Kernel module for NXP 74HC164 GPIO expander
253 endef
254
255 $(eval $(call KernelPackage,gpio-nxp-74hc164))
256
257 define KernelPackage/hid
258 SUBMENU:=$(OTHER_MENU)
259 TITLE:=HID Devices
260 KCONFIG:=CONFIG_HID
261 FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
262 AUTOLOAD:=$(call AutoLoad,61,hid)
263 $(call AddDepends/input,+kmod-input-evdev)
264 endef
265
266 define KernelPackage/hid/description
267 Kernel modules for HID devices
268 endef
269
270 $(eval $(call KernelPackage,hid))
271
272
273 define KernelPackage/input-core
274 SUBMENU:=$(OTHER_MENU)
275 TITLE:=Input device core
276 KCONFIG:=CONFIG_INPUT
277 FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
278 AUTOLOAD:=$(call AutoLoad,19,input-core)
279 endef
280
281 define KernelPackage/input-core/description
282 Kernel modules for support of input device
283 endef
284
285 $(eval $(call KernelPackage,input-core))
286
287
288 define KernelPackage/input-evdev
289 SUBMENU:=$(OTHER_MENU)
290 TITLE:=Input event device
291 KCONFIG:=CONFIG_INPUT_EVDEV
292 FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
293 AUTOLOAD:=$(call AutoLoad,60,evdev)
294 $(call AddDepends/input)
295 endef
296
297 define KernelPackage/input-evdev/description
298 Kernel modules for support of input device events
299 endef
300
301 $(eval $(call KernelPackage,input-evdev))
302
303
304 define KernelPackage/input-gpio-buttons
305 SUBMENU:=$(OTHER_MENU)
306 TITLE:=Polled GPIO buttons input device
307 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
308 KCONFIG:= \
309 CONFIG_INPUT_GPIO_BUTTONS \
310 CONFIG_INPUT_MISC=y
311 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
312 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
313 endef
314
315 define KernelPackage/input-gpio-buttons/description
316 Kernel module for support polled GPIO buttons input device
317 endef
318
319 $(eval $(call KernelPackage,input-gpio-buttons))
320
321
322 define KernelPackage/input-gpio-keys
323 SUBMENU:=$(OTHER_MENU)
324 TITLE:=GPIO key support
325 DEPENDS:= @GPIO_SUPPORT
326 KCONFIG:= \
327 CONFIG_KEYBOARD_GPIO \
328 CONFIG_INPUT_KEYBOARD=y
329 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
330 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
331 $(call AddDepends/input)
332 endef
333
334 define KernelPackage/input-gpio-keys/description
335 This driver implements support for buttons connected
336 to GPIO pins of various CPUs (and some other chips).
337 endef
338
339 $(eval $(call KernelPackage,input-gpio-keys))
340
341
342 define KernelPackage/input-gpio-keys-polled
343 SUBMENU:=$(OTHER_MENU)
344 TITLE:=Polled GPIO key support
345 DEPENDS:=@GPIO_SUPPORT @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_34||LINUX_2_6_35||LINUX_2_6_36) +kmod-input-polldev
346 KCONFIG:= \
347 CONFIG_KEYBOARD_GPIO_POLLED \
348 CONFIG_INPUT_KEYBOARD=y
349 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
350 AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
351 $(call AddDepends/input)
352 endef
353
354 define KernelPackage/input-gpio-keys-polled/description
355 Kernel module for support polled GPIO keys input device
356 endef
357
358 $(eval $(call KernelPackage,input-gpio-keys-polled))
359
360
361 define KernelPackage/input-gpio-encoder
362 SUBMENU:=$(OTHER_MENU)
363 TITLE:=GPIO rotay encoder
364 KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
365 FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
366 AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
367 $(call AddDepends/input,@GPIO_SUPPORT)
368 endef
369
370 define KernelPackage/gpio-encoder/description
371 Kernel module to use rotary encoders connected to GPIO pins
372 endef
373
374 $(eval $(call KernelPackage,input-gpio-encoder))
375
376
377 define KernelPackage/input-joydev
378 SUBMENU:=$(OTHER_MENU)
379 TITLE:=Joystick device support
380 KCONFIG:=CONFIG_INPUT_JOYDEV
381 FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
382 AUTOLOAD:=$(call AutoLoad,62,joydev)
383 $(call AddDepends/input)
384 endef
385
386 define KernelPackage/input-joydev/description
387 Kernel module for joystick support
388 endef
389
390 $(eval $(call KernelPackage,input-joydev))
391
392
393 define KernelPackage/input-polldev
394 SUBMENU:=$(OTHER_MENU)
395 TITLE:=Polled Input device support
396 KCONFIG:=CONFIG_INPUT_POLLDEV
397 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
398 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
399 $(call AddDepends/input)
400 endef
401
402 define KernelPackage/input-polldev/description
403 Kernel module for support of polled input devices
404 endef
405
406 $(eval $(call KernelPackage,input-polldev))
407
408
409 define KernelPackage/lp
410 SUBMENU:=$(OTHER_MENU)
411 TITLE:=Parallel port and line printer support
412 DEPENDS:=@BROKEN
413 KCONFIG:= \
414 CONFIG_PARPORT \
415 CONFIG_PRINTER \
416 CONFIG_PPDEV
417 FILES:= \
418 $(LINUX_DIR)/drivers/parport/parport.ko \
419 $(LINUX_DIR)/drivers/char/lp.ko \
420 $(LINUX_DIR)/drivers/char/ppdev.ko
421 AUTOLOAD:=$(call AutoLoad,50,parport lp)
422 endef
423
424 $(eval $(call KernelPackage,lp))
425
426
427 define KernelPackage/mmc
428 SUBMENU:=$(OTHER_MENU)
429 TITLE:=MMC/SD Card Support
430 KCONFIG:= \
431 CONFIG_MMC \
432 CONFIG_MMC_BLOCK \
433 CONFIG_MMC_DEBUG=n \
434 CONFIG_MMC_UNSAFE_RESUME=n \
435 CONFIG_MMC_BLOCK_BOUNCE=y \
436 CONFIG_MMC_SDHCI=n \
437 CONFIG_MMC_TIFM_SD=n \
438 CONFIG_MMC_WBSD=n \
439 CONFIG_SDIO_UART=n
440 FILES:= \
441 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
442 $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
443 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
444 endef
445
446 define KernelPackage/mmc/description
447 Kernel support for MMC/SD cards
448 endef
449
450 $(eval $(call KernelPackage,mmc))
451
452
453 define KernelPackage/mmc-atmelmci
454 SUBMENU:=$(OTHER_MENU)
455 TITLE:=Amtel MMC Support
456 DEPENDS:=@TARGET_avr32 +kmod-mmc
457 KCONFIG:=CONFIG_MMC_ATMELMCI
458 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
459 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
460 endef
461
462 define KernelPackage/mmc-atmelmci/description
463 Kernel support for Atmel Multimedia Card Interface.
464 endef
465
466 $(eval $(call KernelPackage,mmc-atmelmci,1))
467
468
469 define KernelPackage/oprofile
470 SUBMENU:=$(OTHER_MENU)
471 TITLE:=OProfile profiling support
472 KCONFIG:=CONFIG_OPROFILE
473 FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
474 DEPENDS:=@KERNEL_PROFILING
475 endef
476
477 define KernelPackage/oprofile/description
478 Kernel module for support for oprofile system profiling.
479 endef
480
481 $(eval $(call KernelPackage,oprofile))
482
483
484 define KernelPackage/rfkill
485 SUBMENU:=$(OTHER_MENU)
486 TITLE:=RF switch subsystem support
487 KCONFIG:= \
488 CONFIG_RFKILL \
489 CONFIG_RFKILL_INPUT=y \
490 CONFIG_RFKILL_LEDS=y
491 ifeq ($(CONFIG_LINUX_2_6_30),)
492 FILES:= \
493 $(LINUX_DIR)/net/rfkill/rfkill.ko
494 AUTOLOAD:=$(call AutoLoad,20,rfkill)
495 else
496 FILES:= \
497 $(LINUX_DIR)/net/rfkill/rfkill.ko \
498 $(LINUX_DIR)/net/rfkill/rfkill-input.ko
499 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
500 endif
501 $(call SetDepends/rfkill)
502 endef
503
504 define KernelPackage/rfkill/description
505 Say Y here if you want to have control over RF switches
506 found on many WiFi and Bluetooth cards.
507 endef
508
509 $(eval $(call KernelPackage,rfkill))
510
511
512 define KernelPackage/softdog
513 SUBMENU:=$(OTHER_MENU)
514 TITLE:=Software watchdog driver
515 KCONFIG:=CONFIG_SOFT_WATCHDOG
516 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
517 AUTOLOAD:=$(call AutoLoad,50,softdog)
518 endef
519
520 define KernelPackage/softdog/description
521 Software watchdog driver
522 endef
523
524 $(eval $(call KernelPackage,softdog))
525
526
527 define KernelPackage/ssb
528 SUBMENU:=$(OTHER_MENU)
529 TITLE:=Silicon Sonics Backplane glue code
530 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
531 KCONFIG:=\
532 CONFIG_SSB \
533 CONFIG_SSB_B43_PCI_BRIDGE=y \
534 CONFIG_SSB_DRIVER_MIPS=n \
535 CONFIG_SSB_DRIVER_PCICORE=y \
536 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
537 CONFIG_SSB_PCIHOST=y \
538 CONFIG_SSB_PCIHOST_POSSIBLE=y \
539 CONFIG_SSB_POSSIBLE=y \
540 CONFIG_SSB_SPROM=y \
541 CONFIG_SSB_SILENT=y
542 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
543 AUTOLOAD:=$(call AutoLoad,29,ssb)
544 endef
545
546 define KernelPackage/ssb/description
547 Silicon Sonics Backplane glue code.
548 endef
549
550 $(eval $(call KernelPackage,ssb))
551
552
553 define KernelPackage/bcma
554 SUBMENU:=$(OTHER_MENU)
555 TITLE:=BCMA support
556 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
557 KCONFIG:=\
558 CONFIG_BCMA \
559 CONFIG_BCMA_POSSIBLE=y \
560 CONFIG_BCMA_BLOCKIO=y \
561 CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
562 CONFIG_BCMA_HOST_PCI=y \
563 CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
564 CONFIG_BCMA_DEBUG=n
565 FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
566 AUTOLOAD:=$(call AutoLoad,29,bcma)
567 endef
568
569 define KernelPackage/bcma/description
570 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
571 endef
572
573 $(eval $(call KernelPackage,bcma))
574
575
576 define KernelPackage/wdt-geode
577 SUBMENU:=$(OTHER_MENU)
578 TITLE:=Geode/LX Watchdog timer
579 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
580 KCONFIG:=CONFIG_GEODE_WDT
581 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
582 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
583 endef
584
585 define KernelPackage/wdt-geode/description
586 Kernel module for Geode watchdog timer.
587 endef
588
589 $(eval $(call KernelPackage,wdt-geode))
590
591
592 define KernelPackage/cs5535-clockevt
593 SUBMENU:=$(OTHER_MENU)
594 TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
595 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
596 KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
597 FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
598 AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
599 endef
600
601 define KernelPackage/cs5535-clockevt/description
602 Kernel module for CS5535/6 high-res clock event source
603 endef
604
605 $(eval $(call KernelPackage,cs5535-clockevt))
606
607
608 define KernelPackage/cs5535-mfgpt
609 SUBMENU:=$(OTHER_MENU)
610 TITLE:=CS5535/6 Multifunction General Purpose Timer
611 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
612 KCONFIG:=CONFIG_CS5535_MFGPT
613 FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
614 AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
615 endef
616
617 define KernelPackage/cs5535-mfgpt/description
618 Kernel module for CS5535/6 multifunction general purpose timer.
619 endef
620
621 $(eval $(call KernelPackage,cs5535-mfgpt))
622
623
624 define KernelPackage/cs5535-mfd
625 SUBMENU:=$(OTHER_MENU)
626 TITLE:=CS5535/6 Multifunction General Purpose Driver
627 DEPENDS:=@TARGET_x86
628 KCONFIG:=CONFIG_MFD_CS5535
629 FILES:= \
630 $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
631 $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
632 AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
633 endef
634
635 define KernelPackage/cs5535-mfd/description
636 Core driver for CS5535/CS5536 MFD functions.
637 endef
638
639 $(eval $(call KernelPackage,cs5535-mfd))
640
641
642 define KernelPackage/wdt-omap
643 SUBMENU:=$(OTHER_MENU)
644 TITLE:=OMAP Watchdog timer
645 DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
646 KCONFIG:=CONFIG_OMAP_WATCHDOG
647 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
648 AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
649 endef
650
651 define KernelPackage/wdt-omap/description
652 Kernel module for TI omap watchdog timer.
653 endef
654
655 $(eval $(call KernelPackage,wdt-omap))
656
657
658 define KernelPackage/wdt-orion
659 SUBMENU:=$(OTHER_MENU)
660 TITLE:=Marvell Orion Watchdog timer
661 DEPENDS:=@TARGET_orion
662 KCONFIG:=CONFIG_ORION_WATCHDOG
663 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
664 AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
665 endef
666
667 define KernelPackage/wdt-orion/description
668 Kernel module for Marvell orion watchdog timer.
669 endef
670
671 $(eval $(call KernelPackage,wdt-orion))
672
673
674 define KernelPackage/wdt-sc520
675 SUBMENU:=$(OTHER_MENU)
676 TITLE:=Natsemi SC520 Watchdog support
677 DEPENDS:=@TARGET_x86
678 KCONFIG:=CONFIG_SC520_WDT
679 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
680 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
681 endef
682
683 define KernelPackage/wdt-sc520/description
684 Kernel module for SC520 Watchdog
685 endef
686
687 $(eval $(call KernelPackage,wdt-sc520))
688
689
690 define KernelPackage/wdt-scx200
691 SUBMENU:=$(OTHER_MENU)
692 TITLE:=Natsemi SCX200 Watchdog support
693 DEPENDS:=@TARGET_x86
694 KCONFIG:=CONFIG_SCx200_WDT
695 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
696 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
697 endef
698
699 define KernelPackage/wdt-scx200/description
700 Kernel module for SCX200 Watchdog
701 endef
702
703 $(eval $(call KernelPackage,wdt-scx200))
704
705 define KernelPackage/pwm
706 SUBMENU:=$(OTHER_MENU)
707 TITLE:=PWM generic API
708 KCONFIG:=CONFIG_GENERIC_PWM
709 FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
710 AUTOLOAD:=$(call AutoLoad,50,pwm)
711 endef
712
713 define KernelPackage/pwm/description
714 Kernel module that implement a generic PWM API
715 endef
716
717 $(eval $(call KernelPackage,pwm))
718
719
720 define KernelPackage/pwm-gpio
721 SUBMENU:=$(OTHER_MENU)
722 TITLE:=PWM over GPIO
723 DEPENDS:=+kmod-pwm
724 KCONFIG:=CONFIG_GPIO_PWM
725 FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
726 AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
727 endef
728
729 define KernelPackage/pwm-gpio/description
730 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
731 endef
732
733 $(eval $(call KernelPackage,pwm-gpio))
734
735 define KernelPackage/rtc-core
736 SUBMENU:=$(OTHER_MENU)
737 DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN
738 TITLE:=Real Time Clock class support
739 KCONFIG:=CONFIG_RTC_CLASS
740 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
741 AUTOLOAD:=$(call AutoLoad,29,rtc-core)
742 endef
743
744 define KernelPackage/rtc-core/description
745 Generic RTC class support.
746 endef
747
748 $(eval $(call KernelPackage,rtc-core))
749
750 define KernelPackage/rtc-pcf8563
751 SUBMENU:=$(OTHER_MENU)
752 TITLE:=Philips PCF8563/Epson RTC8564 RTC support
753 DEPENDS:=+kmod-rtc-core
754 KCONFIG:=CONFIG_RTC_DRV_PCF8563
755 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
756 AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
757 endef
758
759 define KernelPackage/rtc-pcf8563/description
760 Kernel module for Philips PCF8563 RTC chip.
761 The Epson RTC8564 should work as well.
762 endef
763
764 $(eval $(call KernelPackage,rtc-pcf8563))
765
766
767 define KernelPackage/n810bm
768 SUBMENU:=$(OTHER_MENU)
769 TITLE:=Nokia N810 battery management driver
770 DEPENDS:=@TARGET_omap24xx
771 KCONFIG:=CONFIG_N810BM
772 FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
773 AUTOLOAD:=$(call AutoLoad,01,n810bm)
774 endef
775
776 define KernelPackage/n810bm/description
777 Nokia N810 battery management driver.
778 Controls battery power management and battery charging.
779 endef
780
781 $(eval $(call KernelPackage,n810bm))
This page took 0.073426 seconds and 5 git commands to generate.