other.mk 17 KB

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