other.mk 16 KB

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