source: trunk/package/kernel/modules/other.mk @ 27186

Last change on this file since 27186 was 27186, checked in by hauke, 5 years ago

package/kernel: Update version dependencies and kmods for linux 3.0

Also disable rtc-core for now since this changed to a bool, now directly
used in the kernel if enabled.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

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