Add patch for linux-3.0 as well.
[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 \
28 CONFIG_BT_SCO \
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 SetDepends/hid)
264 $(call AddDepends/input,+kmod-input-evdev)
265 endef
266
267 define KernelPackage/hid/description
268 Kernel modules for HID devices
269 endef
270
271 $(eval $(call KernelPackage,hid))
272
273
274 define KernelPackage/input-core
275 SUBMENU:=$(OTHER_MENU)
276 TITLE:=Input device core
277 KCONFIG:=CONFIG_INPUT
278 $(call SetDepends/input)
279 FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
280 AUTOLOAD:=$(call AutoLoad,19,input-core)
281 endef
282
283 define KernelPackage/input-core/description
284 Kernel modules for support of input device
285 endef
286
287 $(eval $(call KernelPackage,input-core))
288
289
290 define KernelPackage/input-evdev
291 SUBMENU:=$(OTHER_MENU)
292 TITLE:=Input event device
293 KCONFIG:=CONFIG_INPUT_EVDEV
294 FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
295 AUTOLOAD:=$(call AutoLoad,60,evdev)
296 $(call AddDepends/input)
297 endef
298
299 define KernelPackage/input-evdev/description
300 Kernel modules for support of input device events
301 endef
302
303 $(eval $(call KernelPackage,input-evdev))
304
305
306 define KernelPackage/input-gpio-buttons
307 SUBMENU:=$(OTHER_MENU)
308 TITLE:=Polled GPIO buttons input device
309 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
310 KCONFIG:= \
311 CONFIG_INPUT_GPIO_BUTTONS \
312 CONFIG_INPUT_MISC=y
313 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
314 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
315 endef
316
317 define KernelPackage/input-gpio-buttons/description
318 Kernel module for support polled GPIO buttons input device
319 endef
320
321 $(eval $(call KernelPackage,input-gpio-buttons))
322
323
324 define KernelPackage/input-gpio-keys
325 SUBMENU:=$(OTHER_MENU)
326 TITLE:=GPIO key support
327 DEPENDS:= @GPIO_SUPPORT
328 KCONFIG:= \
329 CONFIG_KEYBOARD_GPIO \
330 CONFIG_INPUT_KEYBOARD=y
331 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
332 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
333 $(call AddDepends/input)
334 endef
335
336 define KernelPackage/input-gpio-keys/description
337 This driver implements support for buttons connected
338 to GPIO pins of various CPUs (and some other chips).
339 endef
340
341 $(eval $(call KernelPackage,input-gpio-keys))
342
343
344 define KernelPackage/input-gpio-keys-polled
345 SUBMENU:=$(OTHER_MENU)
346 TITLE:=Polled GPIO key support
347 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
348 KCONFIG:= \
349 CONFIG_KEYBOARD_GPIO_POLLED \
350 CONFIG_INPUT_KEYBOARD=y
351 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
352 AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
353 $(call AddDepends/input)
354 endef
355
356 define KernelPackage/input-gpio-keys-polled/description
357 Kernel module for support polled GPIO keys input device
358 endef
359
360 $(eval $(call KernelPackage,input-gpio-keys-polled))
361
362
363 define KernelPackage/input-gpio-encoder
364 SUBMENU:=$(OTHER_MENU)
365 TITLE:=GPIO rotay encoder
366 KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
367 FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
368 AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
369 $(call AddDepends/input,@GPIO_SUPPORT)
370 endef
371
372 define KernelPackage/gpio-encoder/description
373 Kernel module to use rotary encoders connected to GPIO pins
374 endef
375
376 $(eval $(call KernelPackage,input-gpio-encoder))
377
378
379 define KernelPackage/input-joydev
380 SUBMENU:=$(OTHER_MENU)
381 TITLE:=Joystick device support
382 KCONFIG:=CONFIG_INPUT_JOYDEV
383 FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
384 AUTOLOAD:=$(call AutoLoad,62,joydev)
385 $(call AddDepends/input)
386 endef
387
388 define KernelPackage/input-joydev/description
389 Kernel module for joystick support
390 endef
391
392 $(eval $(call KernelPackage,input-joydev))
393
394
395 define KernelPackage/input-polldev
396 SUBMENU:=$(OTHER_MENU)
397 TITLE:=Polled Input device support
398 KCONFIG:=CONFIG_INPUT_POLLDEV
399 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
400 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
401 $(call AddDepends/input)
402 endef
403
404 define KernelPackage/input-polldev/description
405 Kernel module for support of polled input devices
406 endef
407
408 $(eval $(call KernelPackage,input-polldev))
409
410
411 define KernelPackage/lp
412 SUBMENU:=$(OTHER_MENU)
413 TITLE:=Parallel port and line printer support
414 DEPENDS:=@BROKEN
415 KCONFIG:= \
416 CONFIG_PARPORT \
417 CONFIG_PRINTER \
418 CONFIG_PPDEV
419 FILES:= \
420 $(LINUX_DIR)/drivers/parport/parport.ko \
421 $(LINUX_DIR)/drivers/char/lp.ko \
422 $(LINUX_DIR)/drivers/char/ppdev.ko
423 AUTOLOAD:=$(call AutoLoad,50,parport lp)
424 endef
425
426 $(eval $(call KernelPackage,lp))
427
428
429 define KernelPackage/mmc
430 SUBMENU:=$(OTHER_MENU)
431 TITLE:=MMC/SD Card Support
432 KCONFIG:= \
433 CONFIG_MMC \
434 CONFIG_MMC_BLOCK \
435 CONFIG_MMC_DEBUG=n \
436 CONFIG_MMC_UNSAFE_RESUME=n \
437 CONFIG_MMC_BLOCK_BOUNCE=y \
438 CONFIG_MMC_SDHCI=n \
439 CONFIG_MMC_TIFM_SD=n \
440 CONFIG_MMC_WBSD=n \
441 CONFIG_SDIO_UART=n
442 FILES:= \
443 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
444 $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
445 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
446 endef
447
448 define KernelPackage/mmc/description
449 Kernel support for MMC/SD cards
450 endef
451
452 $(eval $(call KernelPackage,mmc))
453
454
455 define KernelPackage/mmc-atmelmci
456 SUBMENU:=$(OTHER_MENU)
457 TITLE:=Amtel MMC Support
458 DEPENDS:=@TARGET_avr32 +kmod-mmc
459 KCONFIG:=CONFIG_MMC_ATMELMCI
460 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
461 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
462 endef
463
464 define KernelPackage/mmc-atmelmci/description
465 Kernel support for Atmel Multimedia Card Interface.
466 endef
467
468 $(eval $(call KernelPackage,mmc-atmelmci,1))
469
470
471 define KernelPackage/oprofile
472 SUBMENU:=$(OTHER_MENU)
473 TITLE:=OProfile profiling support
474 KCONFIG:=CONFIG_OPROFILE
475 FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
476 DEPENDS:=@KERNEL_PROFILING
477 endef
478
479 define KernelPackage/oprofile/description
480 Kernel module for support for oprofile system profiling.
481 endef
482
483 $(eval $(call KernelPackage,oprofile))
484
485
486 define KernelPackage/rfkill
487 SUBMENU:=$(OTHER_MENU)
488 TITLE:=RF switch subsystem support
489 KCONFIG:= \
490 CONFIG_RFKILL \
491 CONFIG_RFKILL_INPUT=y \
492 CONFIG_RFKILL_LEDS=y
493 ifeq ($(CONFIG_LINUX_2_6_30),)
494 FILES:= \
495 $(LINUX_DIR)/net/rfkill/rfkill.ko
496 AUTOLOAD:=$(call AutoLoad,20,rfkill)
497 else
498 FILES:= \
499 $(LINUX_DIR)/net/rfkill/rfkill.ko \
500 $(LINUX_DIR)/net/rfkill/rfkill-input.ko
501 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
502 endif
503 $(call SetDepends/rfkill)
504 endef
505
506 define KernelPackage/rfkill/description
507 Say Y here if you want to have control over RF switches
508 found on many WiFi and Bluetooth cards.
509 endef
510
511 $(eval $(call KernelPackage,rfkill))
512
513
514 define KernelPackage/softdog
515 SUBMENU:=$(OTHER_MENU)
516 TITLE:=Software watchdog driver
517 KCONFIG:=CONFIG_SOFT_WATCHDOG
518 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
519 AUTOLOAD:=$(call AutoLoad,50,softdog)
520 endef
521
522 define KernelPackage/softdog/description
523 Software watchdog driver
524 endef
525
526 $(eval $(call KernelPackage,softdog))
527
528
529 define KernelPackage/ssb
530 SUBMENU:=$(OTHER_MENU)
531 TITLE:=Silicon Sonics Backplane glue code
532 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
533 KCONFIG:=\
534 CONFIG_SSB \
535 CONFIG_SSB_B43_PCI_BRIDGE=y \
536 CONFIG_SSB_DRIVER_MIPS=n \
537 CONFIG_SSB_DRIVER_PCICORE=y \
538 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
539 CONFIG_SSB_PCIHOST=y \
540 CONFIG_SSB_PCIHOST_POSSIBLE=y \
541 CONFIG_SSB_POSSIBLE=y \
542 CONFIG_SSB_SPROM=y \
543 CONFIG_SSB_SILENT=y
544 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
545 AUTOLOAD:=$(call AutoLoad,29,ssb)
546 endef
547
548 define KernelPackage/ssb/description
549 Silicon Sonics Backplane glue code.
550 endef
551
552 $(eval $(call KernelPackage,ssb))
553
554
555 define KernelPackage/bcma
556 SUBMENU:=$(OTHER_MENU)
557 TITLE:=BCMA support
558 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
559 KCONFIG:=\
560 CONFIG_BCMA \
561 CONFIG_BCMA_POSSIBLE=y \
562 CONFIG_BCMA_BLOCKIO=y \
563 CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
564 CONFIG_BCMA_HOST_PCI=y \
565 CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
566 CONFIG_BCMA_DEBUG=n
567 FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
568 AUTOLOAD:=$(call AutoLoad,29,bcma)
569 endef
570
571 define KernelPackage/bcma/description
572 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
573 endef
574
575 $(eval $(call KernelPackage,bcma))
576
577
578 define KernelPackage/wdt-geode
579 SUBMENU:=$(OTHER_MENU)
580 TITLE:=Geode/LX Watchdog timer
581 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
582 KCONFIG:=CONFIG_GEODE_WDT
583 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
584 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
585 endef
586
587 define KernelPackage/wdt-geode/description
588 Kernel module for Geode watchdog timer.
589 endef
590
591 $(eval $(call KernelPackage,wdt-geode))
592
593
594 define KernelPackage/cs5535-clockevt
595 SUBMENU:=$(OTHER_MENU)
596 TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
597 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
598 KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
599 FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
600 AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
601 endef
602
603 define KernelPackage/cs5535-clockevt/description
604 Kernel module for CS5535/6 high-res clock event source
605 endef
606
607 $(eval $(call KernelPackage,cs5535-clockevt))
608
609
610 define KernelPackage/cs5535-mfgpt
611 SUBMENU:=$(OTHER_MENU)
612 TITLE:=CS5535/6 Multifunction General Purpose Timer
613 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
614 KCONFIG:=CONFIG_CS5535_MFGPT
615 FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
616 AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
617 endef
618
619 define KernelPackage/cs5535-mfgpt/description
620 Kernel module for CS5535/6 multifunction general purpose timer.
621 endef
622
623 $(eval $(call KernelPackage,cs5535-mfgpt))
624
625
626 define KernelPackage/cs5535-mfd
627 SUBMENU:=$(OTHER_MENU)
628 TITLE:=CS5535/6 Multifunction General Purpose Driver
629 DEPENDS:=@TARGET_x86
630 KCONFIG:=CONFIG_MFD_CS5535
631 FILES:= \
632 $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
633 $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
634 AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
635 endef
636
637 define KernelPackage/cs5535-mfd/description
638 Core driver for CS5535/CS5536 MFD functions.
639 endef
640
641 $(eval $(call KernelPackage,cs5535-mfd))
642
643
644 define KernelPackage/wdt-omap
645 SUBMENU:=$(OTHER_MENU)
646 TITLE:=OMAP Watchdog timer
647 DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
648 KCONFIG:=CONFIG_OMAP_WATCHDOG
649 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
650 AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
651 endef
652
653 define KernelPackage/wdt-omap/description
654 Kernel module for TI omap watchdog timer.
655 endef
656
657 $(eval $(call KernelPackage,wdt-omap))
658
659
660 define KernelPackage/wdt-orion
661 SUBMENU:=$(OTHER_MENU)
662 TITLE:=Marvell Orion Watchdog timer
663 DEPENDS:=@TARGET_orion
664 KCONFIG:=CONFIG_ORION_WATCHDOG
665 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
666 AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
667 endef
668
669 define KernelPackage/wdt-orion/description
670 Kernel module for Marvell orion watchdog timer.
671 endef
672
673 $(eval $(call KernelPackage,wdt-orion))
674
675
676 define KernelPackage/wdt-sc520
677 SUBMENU:=$(OTHER_MENU)
678 TITLE:=Natsemi SC520 Watchdog support
679 DEPENDS:=@TARGET_x86
680 KCONFIG:=CONFIG_SC520_WDT
681 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
682 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
683 endef
684
685 define KernelPackage/wdt-sc520/description
686 Kernel module for SC520 Watchdog
687 endef
688
689 $(eval $(call KernelPackage,wdt-sc520))
690
691
692 define KernelPackage/wdt-scx200
693 SUBMENU:=$(OTHER_MENU)
694 TITLE:=Natsemi SCX200 Watchdog support
695 DEPENDS:=@TARGET_x86
696 KCONFIG:=CONFIG_SCx200_WDT
697 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
698 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
699 endef
700
701 define KernelPackage/wdt-scx200/description
702 Kernel module for SCX200 Watchdog
703 endef
704
705 $(eval $(call KernelPackage,wdt-scx200))
706
707 define KernelPackage/pwm
708 SUBMENU:=$(OTHER_MENU)
709 TITLE:=PWM generic API
710 KCONFIG:=CONFIG_GENERIC_PWM
711 FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
712 AUTOLOAD:=$(call AutoLoad,50,pwm)
713 endef
714
715 define KernelPackage/pwm/description
716 Kernel module that implement a generic PWM API
717 endef
718
719 $(eval $(call KernelPackage,pwm))
720
721
722 define KernelPackage/pwm-gpio
723 SUBMENU:=$(OTHER_MENU)
724 TITLE:=PWM over GPIO
725 DEPENDS:=+kmod-pwm
726 KCONFIG:=CONFIG_GPIO_PWM
727 FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
728 AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
729 endef
730
731 define KernelPackage/pwm-gpio/description
732 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
733 endef
734
735 $(eval $(call KernelPackage,pwm-gpio))
736
737 define KernelPackage/rtc-core
738 SUBMENU:=$(OTHER_MENU)
739 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
740 TITLE:=Real Time Clock class support
741 KCONFIG:=CONFIG_RTC_CLASS
742 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
743 AUTOLOAD:=$(call AutoLoad,29,rtc-core)
744 endef
745
746 define KernelPackage/rtc-core/description
747 Generic RTC class support.
748 endef
749
750 $(eval $(call KernelPackage,rtc-core))
751
752 define KernelPackage/rtc-pcf8563
753 SUBMENU:=$(OTHER_MENU)
754 TITLE:=Philips PCF8563/Epson RTC8564 RTC support
755 DEPENDS:=+kmod-rtc-core
756 KCONFIG:=CONFIG_RTC_DRV_PCF8563
757 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
758 AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
759 endef
760
761 define KernelPackage/rtc-pcf8563/description
762 Kernel module for Philips PCF8563 RTC chip.
763 The Epson RTC8564 should work as well.
764 endef
765
766 $(eval $(call KernelPackage,rtc-pcf8563))
767
768
769 define KernelPackage/n810bm
770 SUBMENU:=$(OTHER_MENU)
771 TITLE:=Nokia N810 battery management driver
772 DEPENDS:=@TARGET_omap24xx
773 KCONFIG:=CONFIG_N810BM
774 FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
775 AUTOLOAD:=$(call AutoLoad,01,n810bm)
776 endef
777
778 define KernelPackage/n810bm/description
779 Nokia N810 battery management driver.
780 Controls battery power management and battery charging.
781 endef
782
783 $(eval $(call KernelPackage,n810bm))
This page took 0.091083 seconds and 5 git commands to generate.