other.mk 18 KB

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