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

Last change on this file since 27401 was 27401, checked in by blogic, 5 years ago

add kmod definitions for at24(i2c) and at25(spi) eeproms

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