other.mk 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924
  1. #
  2. # Copyright (C) 2006-2012 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/6lowpan-iphc
  10. USBMENU:=$(OTHER_MENU)
  11. TITLE:=6lowpan shared code
  12. DEPENDS:=@LINUX_3_14
  13. KCONFIG:=CONFIG_6LOWPAN_IPHC
  14. HIDDEN:=1
  15. FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan_iphc.ko
  16. AUTOLOAD:=$(call Autoprobe,6lowpan_iphc)
  17. endef
  18. define KernelPackage/6lowpan-iphc/description
  19. Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
  20. endef
  21. $(eval $(call KernelPackage,6lowpan-iphc))
  22. define KernelPackage/bluetooth
  23. SUBMENU:=$(OTHER_MENU)
  24. TITLE:=Bluetooth support
  25. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +LINUX_3_14:kmod-6lowpan-iphc
  26. KCONFIG:= \
  27. CONFIG_BLUEZ \
  28. CONFIG_BLUEZ_L2CAP \
  29. CONFIG_BLUEZ_SCO \
  30. CONFIG_BLUEZ_RFCOMM \
  31. CONFIG_BLUEZ_BNEP \
  32. CONFIG_BLUEZ_HCIUART \
  33. CONFIG_BLUEZ_HCIUSB \
  34. CONFIG_BLUEZ_HIDP \
  35. CONFIG_BT \
  36. CONFIG_BT_L2CAP=y \
  37. CONFIG_BT_SCO=y \
  38. CONFIG_BT_RFCOMM \
  39. CONFIG_BT_BNEP \
  40. CONFIG_BT_HCIBTUSB \
  41. CONFIG_BT_HCIUSB \
  42. CONFIG_BT_HCIUART \
  43. CONFIG_BT_HCIUART_H4 \
  44. CONFIG_BT_HIDP \
  45. CONFIG_HID_SUPPORT=y
  46. $(call AddDepends/crc16)
  47. $(call AddDepends/hid)
  48. $(call AddDepends/rfkill)
  49. FILES:= \
  50. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  51. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  52. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  53. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  54. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  55. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  56. AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
  57. endef
  58. define KernelPackage/bluetooth/description
  59. Kernel support for Bluetooth devices
  60. endef
  61. $(eval $(call KernelPackage,bluetooth))
  62. define KernelPackage/bluetooth-hci-h4p
  63. SUBMENU:=$(OTHER_MENU)
  64. TITLE:=HCI driver with H4 Nokia extensions
  65. DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
  66. KCONFIG:=CONFIG_BT_HCIH4P
  67. FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
  68. AUTOLOAD:=$(call AutoProbe,hci_h4p)
  69. endef
  70. define KernelPackage/bluetooth-hci-h4p/description
  71. HCI driver with H4 Nokia extensions
  72. endef
  73. $(eval $(call KernelPackage,bluetooth-hci-h4p))
  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/eeprom-at24
  86. SUBMENU:=$(OTHER_MENU)
  87. TITLE:=EEPROM AT24 support
  88. KCONFIG:=CONFIG_EEPROM_AT24
  89. DEPENDS:=+kmod-i2c-core
  90. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  91. AUTOLOAD:=$(call AutoProbe,at24)
  92. endef
  93. define KernelPackage/eeprom-at24/description
  94. Kernel module for most I2C EEPROMs
  95. endef
  96. $(eval $(call KernelPackage,eeprom-at24))
  97. define KernelPackage/eeprom-at25
  98. SUBMENU:=$(OTHER_MENU)
  99. TITLE:=EEPROM AT25 support
  100. KCONFIG:=CONFIG_EEPROM_AT25
  101. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  102. AUTOLOAD:=$(call AutoProbe,at25)
  103. endef
  104. define KernelPackage/eeprom-at25/description
  105. Kernel module for most SPI EEPROMs
  106. endef
  107. $(eval $(call KernelPackage,eeprom-at25))
  108. define KernelPackage/gpio-dev
  109. SUBMENU:=$(OTHER_MENU)
  110. TITLE:=Generic GPIO char device support
  111. DEPENDS:=@GPIO_SUPPORT
  112. KCONFIG:=CONFIG_GPIO_DEVICE
  113. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  114. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  115. endef
  116. define KernelPackage/gpio-dev/description
  117. Kernel module to allows control of GPIO pins using a character device.
  118. endef
  119. $(eval $(call KernelPackage,gpio-dev))
  120. define KernelPackage/gpio-mcp23s08
  121. SUBMENU:=$(OTHER_MENU)
  122. TITLE:=Microchip MCP23xxx I/O expander
  123. DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
  124. KCONFIG:=CONFIG_GPIO_MCP23S08
  125. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
  126. AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
  127. endef
  128. define KernelPackage/gpio-mcp23s08/description
  129. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  130. endef
  131. $(eval $(call KernelPackage,gpio-mcp23s08))
  132. define KernelPackage/gpio-nxp-74hc164
  133. SUBMENU:=$(OTHER_MENU)
  134. TITLE:=NXP 74HC164 GPIO expander support
  135. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  136. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  137. AUTOLOAD:=$(call AutoProbe,nxp_74hc164)
  138. endef
  139. define KernelPackage/gpio-nxp-74hc164/description
  140. Kernel module for NXP 74HC164 GPIO expander
  141. endef
  142. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  143. define KernelPackage/gpio-pca953x
  144. SUBMENU:=$(OTHER_MENU)
  145. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  146. TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
  147. KCONFIG:=CONFIG_GPIO_PCA953X
  148. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
  149. AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
  150. endef
  151. define KernelPackage/gpio-pca953x/description
  152. Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
  153. PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
  154. endef
  155. $(eval $(call KernelPackage,gpio-pca953x))
  156. define KernelPackage/gpio-pcf857x
  157. SUBMENU:=$(OTHER_MENU)
  158. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  159. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  160. KCONFIG:=CONFIG_GPIO_PCF857X
  161. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  162. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  163. endef
  164. define KernelPackage/gpio-pcf857x/description
  165. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  166. endef
  167. $(eval $(call KernelPackage,gpio-pcf857x))
  168. define KernelPackage/iio-core
  169. SUBMENU:=$(OTHER_MENU)
  170. DEPENDS:=@!LINUX_3_3 @!LINUX_3_6
  171. TITLE:=Industrial IO core
  172. KCONFIG:= \
  173. CONFIG_IIO \
  174. CONFIG_IIO_BUFFER=y \
  175. CONFIG_IIO_KFIFO_BUF \
  176. CONFIG_IIO_TRIGGER=y \
  177. CONFIG_IIO_TRIGGERED_BUFFER
  178. FILES:= \
  179. $(LINUX_DIR)/drivers/iio/industrialio.ko \
  180. $(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko) \
  181. $(LINUX_DIR)/drivers/iio/kfifo_buf.ko
  182. AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
  183. endef
  184. define KernelPackage/iio-core/description
  185. The industrial I/O subsystem provides a unified framework for
  186. drivers for many different types of embedded sensors using a
  187. number of different physical interfaces (i2c, spi, etc)
  188. endef
  189. $(eval $(call KernelPackage,iio-core))
  190. define KernelPackage/iio-ad799x
  191. SUBMENU:=$(OTHER_MENU)
  192. DEPENDS:=kmod-i2c-core kmod-iio-core
  193. TITLE:=Analog Devices AD799x ADC driver
  194. KCONFIG:= \
  195. CONFIG_AD799X_RING_BUFFER=y \
  196. CONFIG_AD799X
  197. FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko
  198. AUTOLOAD:=$(call AutoLoad,56,ad799x)
  199. endef
  200. define KernelPackage/iio-ad799x/description
  201. support for Analog Devices:
  202. ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
  203. i2c analog to digital converters (ADC). WARNING! This driver is still staging!
  204. endef
  205. $(eval $(call KernelPackage,iio-ad799x))
  206. define KernelPackage/lp
  207. SUBMENU:=$(OTHER_MENU)
  208. TITLE:=Parallel port and line printer support
  209. DEPENDS:=@BROKEN
  210. KCONFIG:= \
  211. CONFIG_PARPORT \
  212. CONFIG_PRINTER \
  213. CONFIG_PPDEV
  214. FILES:= \
  215. $(LINUX_DIR)/drivers/parport/parport.ko \
  216. $(LINUX_DIR)/drivers/char/lp.ko \
  217. $(LINUX_DIR)/drivers/char/ppdev.ko
  218. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  219. endef
  220. $(eval $(call KernelPackage,lp))
  221. define KernelPackage/mmc
  222. SUBMENU:=$(OTHER_MENU)
  223. TITLE:=MMC/SD Card Support
  224. KCONFIG:= \
  225. CONFIG_MMC \
  226. CONFIG_MMC_BLOCK \
  227. CONFIG_MMC_DEBUG=n \
  228. CONFIG_MMC_UNSAFE_RESUME=n \
  229. CONFIG_MMC_BLOCK_BOUNCE=y \
  230. CONFIG_MMC_TIFM_SD=n \
  231. CONFIG_MMC_WBSD=n \
  232. CONFIG_SDIO_UART=n
  233. FILES:= \
  234. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  235. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  236. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  237. endef
  238. define KernelPackage/mmc/description
  239. Kernel support for MMC/SD cards
  240. endef
  241. $(eval $(call KernelPackage,mmc))
  242. define KernelPackage/sdhci
  243. SUBMENU:=$(OTHER_MENU)
  244. TITLE:=Secure Digital Host Controller Interface support
  245. DEPENDS:=+kmod-mmc
  246. KCONFIG:= \
  247. CONFIG_MMC_SDHCI \
  248. CONFIG_MMC_SDHCI_PLTFM \
  249. CONFIG_MMC_SDHCI_PCI=n
  250. FILES:= \
  251. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  252. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  253. AUTOLOAD:=$(call AutoProbe,sdhci sdhci-pltfm,1)
  254. endef
  255. define KernelPackage/sdhci/description
  256. Kernel support for SDHCI Hosts
  257. endef
  258. $(eval $(call KernelPackage,sdhci))
  259. define KernelPackage/oprofile
  260. SUBMENU:=$(OTHER_MENU)
  261. TITLE:=OProfile profiling support
  262. KCONFIG:=CONFIG_OPROFILE
  263. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  264. DEPENDS:=@KERNEL_PROFILING
  265. endef
  266. define KernelPackage/oprofile/description
  267. Kernel module for support for oprofile system profiling
  268. endef
  269. $(eval $(call KernelPackage,oprofile))
  270. define KernelPackage/rfkill
  271. SUBMENU:=$(OTHER_MENU)
  272. TITLE:=RF switch subsystem support
  273. DEPENDS:=@USE_RFKILL +kmod-input-core
  274. KCONFIG:= \
  275. CONFIG_RFKILL \
  276. CONFIG_RFKILL_INPUT=y \
  277. CONFIG_RFKILL_LEDS=y \
  278. CONFIG_RFKILL_GPIO=y
  279. FILES:= \
  280. $(LINUX_DIR)/net/rfkill/rfkill.ko
  281. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  282. endef
  283. define KernelPackage/rfkill/description
  284. Say Y here if you want to have control over RF switches
  285. found on many WiFi and Bluetooth cards
  286. endef
  287. $(eval $(call KernelPackage,rfkill))
  288. define KernelPackage/softdog
  289. SUBMENU:=$(OTHER_MENU)
  290. TITLE:=Software watchdog driver
  291. KCONFIG:=CONFIG_SOFT_WATCHDOG
  292. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  293. AUTOLOAD:=$(call AutoLoad,50,softdog)
  294. endef
  295. define KernelPackage/softdog/description
  296. Software watchdog driver
  297. endef
  298. $(eval $(call KernelPackage,softdog))
  299. define KernelPackage/ssb
  300. SUBMENU:=$(OTHER_MENU)
  301. TITLE:=Silicon Sonics Backplane glue code
  302. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  303. KCONFIG:=\
  304. CONFIG_SSB \
  305. CONFIG_SSB_B43_PCI_BRIDGE=y \
  306. CONFIG_SSB_DRIVER_MIPS=n \
  307. CONFIG_SSB_DRIVER_PCICORE=y \
  308. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  309. CONFIG_SSB_PCIHOST=y \
  310. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  311. CONFIG_SSB_POSSIBLE=y \
  312. CONFIG_SSB_SPROM=y \
  313. CONFIG_SSB_SILENT=y
  314. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  315. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  316. endef
  317. define KernelPackage/ssb/description
  318. Silicon Sonics Backplane glue code.
  319. endef
  320. $(eval $(call KernelPackage,ssb))
  321. define KernelPackage/bcma
  322. SUBMENU:=$(OTHER_MENU)
  323. TITLE:=BCMA support
  324. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  325. KCONFIG:=\
  326. CONFIG_BCMA \
  327. CONFIG_BCMA_POSSIBLE=y \
  328. CONFIG_BCMA_BLOCKIO=y \
  329. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  330. CONFIG_BCMA_HOST_PCI=y \
  331. CONFIG_BCMA_HOST_SOC=n \
  332. CONFIG_BCMA_DRIVER_MIPS=n \
  333. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  334. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  335. CONFIG_BCMA_DEBUG=n
  336. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  337. AUTOLOAD:=$(call AutoLoad,29,bcma)
  338. endef
  339. define KernelPackage/bcma/description
  340. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  341. endef
  342. $(eval $(call KernelPackage,bcma))
  343. define KernelPackage/wdt-omap
  344. SUBMENU:=$(OTHER_MENU)
  345. TITLE:=OMAP Watchdog timer
  346. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  347. KCONFIG:=CONFIG_OMAP_WATCHDOG
  348. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  349. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  350. endef
  351. define KernelPackage/wdt-omap/description
  352. Kernel module for TI omap watchdog timer
  353. endef
  354. $(eval $(call KernelPackage,wdt-omap))
  355. define KernelPackage/wdt-orion
  356. SUBMENU:=$(OTHER_MENU)
  357. TITLE:=Marvell Orion Watchdog timer
  358. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
  359. KCONFIG:=CONFIG_ORION_WATCHDOG
  360. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  361. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  362. endef
  363. define KernelPackage/wdt-orion/description
  364. Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer
  365. endef
  366. $(eval $(call KernelPackage,wdt-orion))
  367. define KernelPackage/booke-wdt
  368. SUBMENU:=$(OTHER_MENU)
  369. TITLE:=PowerPC Book-E Watchdog Timer
  370. DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
  371. KCONFIG:=CONFIG_BOOKE_WDT
  372. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
  373. AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
  374. endef
  375. define KernelPackage/booke-wdt/description
  376. Kernel module for PowerPC Book-E Watchdog Timer
  377. endef
  378. $(eval $(call KernelPackage,booke-wdt))
  379. define KernelPackage/pwm
  380. SUBMENU:=$(OTHER_MENU)
  381. TITLE:=PWM generic API
  382. KCONFIG:=CONFIG_GENERIC_PWM
  383. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  384. endef
  385. define KernelPackage/pwm/description
  386. Kernel module that implement a generic PWM API
  387. endef
  388. $(eval $(call KernelPackage,pwm))
  389. define KernelPackage/pwm-gpio
  390. SUBMENU:=$(OTHER_MENU)
  391. TITLE:=PWM over GPIO
  392. DEPENDS:=+kmod-pwm
  393. KCONFIG:=CONFIG_GPIO_PWM
  394. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  395. AUTOLOAD:=$(call AutoProbe,gpio-pwm)
  396. endef
  397. define KernelPackage/pwm-gpio/description
  398. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  399. endef
  400. $(eval $(call KernelPackage,pwm-gpio))
  401. define KernelPackage/rtc-ds1672
  402. SUBMENU:=$(OTHER_MENU)
  403. TITLE:=Dallas/Maxim DS1672 RTC support
  404. $(call AddDepends/rtc)
  405. DEPENDS+=+kmod-i2c-core
  406. KCONFIG:=CONFIG_RTC_DRV_DS1672
  407. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  408. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  409. endef
  410. define KernelPackage/rtc-ds1672/description
  411. Kernel module for Dallas/Maxim DS1672 RTC.
  412. endef
  413. $(eval $(call KernelPackage,rtc-ds1672))
  414. define KernelPackage/rtc-isl1208
  415. SUBMENU:=$(OTHER_MENU)
  416. TITLE:=Intersil ISL1208 RTC support
  417. $(call AddDepends/rtc)
  418. DEPENDS+=+kmod-i2c-core
  419. KCONFIG:=CONFIG_RTC_DRV_ISL1208
  420. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  421. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  422. endef
  423. define KernelPackage/rtc-isl1208/description
  424. Kernel module for Intersil ISL1208 RTC.
  425. endef
  426. $(eval $(call KernelPackage,rtc-isl1208))
  427. define KernelPackage/rtc-marvell
  428. SUBMENU:=$(OTHER_MENU)
  429. TITLE:=Marvell SoC built-in RTC support
  430. $(call AddDepends/rtc)
  431. DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
  432. KCONFIG:=CONFIG_RTC_DRV_MV
  433. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  434. AUTOLOAD:=$(call AutoProbe,rtc-mv)
  435. endef
  436. define KernelPackage/rtc-marvell/description
  437. Kernel module for Marvell SoC built-in RTC.
  438. endef
  439. $(eval $(call KernelPackage,rtc-marvell))
  440. define KernelPackage/rtc-pcf8563
  441. SUBMENU:=$(OTHER_MENU)
  442. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  443. $(call AddDepends/rtc,+kmod-i2c-core)
  444. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  445. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  446. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  447. endef
  448. define KernelPackage/rtc-pcf8563/description
  449. Kernel module for Philips PCF8563 RTC chip.
  450. The Epson RTC8564 should work as well.
  451. endef
  452. $(eval $(call KernelPackage,rtc-pcf8563))
  453. define KernelPackage/rtc-pcf2123
  454. SUBMENU:=$(OTHER_MENU)
  455. TITLE:=Philips PCF2123 RTC support
  456. $(call AddDepends/rtc)
  457. KCONFIG:=CONFIG_RTC_DRV_PCF2123
  458. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  459. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  460. endef
  461. define KernelPackage/rtc-pcf2123/description
  462. Kernel module for Philips PCF2123 RTC chip
  463. endef
  464. $(eval $(call KernelPackage,rtc-pcf2123))
  465. define KernelPackage/rtc-pt7c4338
  466. SUBMENU:=$(OTHER_MENU)
  467. TITLE:=Pericom PT7C4338 RTC support
  468. $(call AddDepends/rtc,+kmod-i2c-core)
  469. KCONFIG:=CONFIG_RTC_DRV_PT7C4338
  470. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  471. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  472. endef
  473. define KernelPackage/rtc-pt7c4338/description
  474. Kernel module for Pericom PT7C4338 i2c RTC chip
  475. endef
  476. $(eval $(call KernelPackage,rtc-pt7c4338))
  477. define KernelPackage/mtdtests
  478. SUBMENU:=$(OTHER_MENU)
  479. TITLE:=MTD subsystem tests
  480. KCONFIG:=CONFIG_MTD_TESTS
  481. DEPENDS:=+kmod-nand
  482. FILES:=\
  483. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  484. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  485. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  486. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  487. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  488. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  489. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  490. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  491. endef
  492. define KernelPackage/mtdtests/description
  493. Kernel modules for MTD subsystem/driver testing
  494. endef
  495. $(eval $(call KernelPackage,mtdtests))
  496. define KernelPackage/nand
  497. SUBMENU:=$(OTHER_MENU)
  498. TITLE:=NAND flash support
  499. KCONFIG:=CONFIG_MTD_NAND \
  500. CONFIG_MTD_NAND_IDS \
  501. CONFIG_MTD_NAND_ECC
  502. FILES:= \
  503. $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
  504. $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
  505. $(LINUX_DIR)/drivers/mtd/nand/nand.ko
  506. AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
  507. endef
  508. define KernelPackage/nand/description
  509. Kernel module for NAND support
  510. endef
  511. $(eval $(call KernelPackage,nand))
  512. define KernelPackage/nandsim
  513. SUBMENU:=$(OTHER_MENU)
  514. TITLE:=NAND simulator
  515. DEPENDS:=+kmod-nand
  516. KCONFIG:=CONFIG_MTD_NAND_NANDSIM
  517. FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
  518. endef
  519. define KernelPackage/nandsim/description
  520. Kernel module for NAND flash simulation.
  521. endef
  522. $(eval $(call KernelPackage,nandsim))
  523. define KernelPackage/serial-8250
  524. SUBMENU:=$(OTHER_MENU)
  525. TITLE:=8250 UARTs
  526. KCONFIG:= CONFIG_SERIAL_8250 \
  527. CONFIG_SERIAL_8250_NR_UARTS=16 \
  528. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  529. CONFIG_SERIAL_8250_EXTENDED=y \
  530. CONFIG_SERIAL_8250_MANY_PORTS=y \
  531. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  532. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  533. CONFIG_SERIAL_8250_RSA=n
  534. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),$(if $(call kernel_patchver_le,3.8),_core)).ko
  535. endef
  536. define KernelPackage/serial-8250/description
  537. Kernel module for 8250 UART based serial ports
  538. endef
  539. $(eval $(call KernelPackage,serial-8250))
  540. define KernelPackage/regmap
  541. SUBMENU:=$(OTHER_MENU)
  542. TITLE:=Generic register map support
  543. DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
  544. KCONFIG:=CONFIG_REGMAP \
  545. CONFIG_REGMAP_SPI \
  546. CONFIG_REGMAP_I2C \
  547. CONFIG_SPI=y
  548. FILES:= \
  549. $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
  550. $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  551. $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
  552. AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
  553. endef
  554. define KernelPackage/regmap/description
  555. Generic register map support
  556. endef
  557. $(eval $(call KernelPackage,regmap))
  558. define KernelPackage/ikconfig
  559. SUBMENU:=$(OTHER_MENU)
  560. TITLE:=Kernel configuration via /proc/config.gz
  561. KCONFIG:=CONFIG_IKCONFIG \
  562. CONFIG_IKCONFIG_PROC=y
  563. FILES:=$(LINUX_DIR)/kernel/configs.ko
  564. AUTOLOAD:=$(call AutoLoad,70,configs)
  565. endef
  566. define KernelPackage/ikconfig/description
  567. Kernel configuration via /proc/config.gz
  568. endef
  569. $(eval $(call KernelPackage,ikconfig))
  570. define KernelPackage/zram
  571. SUBMENU:=$(OTHER_MENU)
  572. TITLE:=ZRAM
  573. DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo
  574. KCONFIG:= \
  575. CONFIG_ZSMALLOC \
  576. CONFIG_ZRAM \
  577. CONFIG_ZRAM_DEBUG=n \
  578. CONFIG_PGTABLE_MAPPING=n
  579. ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.14.0)),1)
  580. FILES:=\
  581. $(LINUX_DIR)/mm/zsmalloc.ko \
  582. $(LINUX_DIR)/drivers/block/zram/zram.ko
  583. else
  584. FILES:= \
  585. $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \
  586. $(LINUX_DIR)/drivers/staging/zram/zram.ko
  587. endif
  588. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  589. endef
  590. define KernelPackage/zram/description
  591. Compressed RAM block device support
  592. endef
  593. $(eval $(call KernelPackage,zram))
  594. define KernelPackage/mvsdio
  595. SUBMENU:=$(OTHER_MENU)
  596. TITLE:=Marvell SDIO support
  597. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
  598. KCONFIG:=CONFIG_MMC_MVSDIO
  599. FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
  600. AUTOLOAD:=$(call AutoProbe,mvsdio)
  601. endef
  602. define KernelPacakge/mvsdio/description
  603. Kernel support for the Marvell SDIO controller
  604. endef
  605. $(eval $(call KernelPackage,mvsdio))
  606. define KernelPackage/pps
  607. SUBMENU:=$(OTHER_MENU)
  608. TITLE:=PPS support
  609. KCONFIG:=CONFIG_PPS
  610. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  611. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  612. endef
  613. define KernelPacakge/pps/description
  614. PPS (Pulse Per Second) is a special pulse provided by some GPS
  615. antennae. Userland can use it to get a high-precision time
  616. reference.
  617. endef
  618. $(eval $(call KernelPackage,pps))
  619. define KernelPackage/pps-gpio
  620. SUBMENU:=$(OTHER_MENU)
  621. TITLE:=PPS client using GPIO
  622. DEPENDS:=+kmod-pps
  623. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  624. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  625. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  626. endef
  627. define KernelPacakge/pps-gpio/description
  628. Support for a PPS source using GPIO. To be useful you must
  629. also register a platform device specifying the GPIO pin and
  630. other options, usually in your board setup.
  631. endef
  632. $(eval $(call KernelPackage,pps-gpio))
  633. define KernelPackage/ptp
  634. SUBMENU:=$(OTHER_MENU)
  635. TITLE:=PTP clock support
  636. DEPENDS:=+kmod-pps
  637. KCONFIG:=CONFIG_PTP_1588_CLOCK
  638. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  639. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  640. endef
  641. define KernelPacakge/ptp/description
  642. The IEEE 1588 standard defines a method to precisely
  643. synchronize distributed clocks over Ethernet networks.
  644. endef
  645. $(eval $(call KernelPackage,ptp))
  646. define KernelPackage/ptp-gianfar
  647. SUBMENU:=$(OTHER_MENU)
  648. TITLE:=Freescale Gianfar PTP support
  649. DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
  650. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  651. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  652. AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
  653. endef
  654. define KernelPacakge/ptp-gianfar/description
  655. Kernel module for IEEE 1588 support for Freescale
  656. Gianfar Ethernet drivers
  657. endef
  658. $(eval $(call KernelPackage,ptp-gianfar))
  659. define KernelPackage/random-core
  660. SUBMENU:=$(OTHER_MENU)
  661. TITLE:=Hardware Random Number Generator Core support
  662. KCONFIG:=CONFIG_HW_RANDOM
  663. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  664. endef
  665. define KernelPackage/random-core/description
  666. Kernel module for the HW random number generator core infrastructure
  667. endef
  668. $(eval $(call KernelPackage,random-core))
  669. define KernelPackage/thermal
  670. SUBMENU:=$(OTHER_MENU)
  671. TITLE:=Generic Thermal sysfs driver
  672. DEPENDS:=+kmod-hwmon-core
  673. HIDDEN:=1
  674. KCONFIG:= \
  675. CONFIG_THERMAL \
  676. CONFIG_THERMAL_OF=y \
  677. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  678. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  679. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  680. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  681. CONFIG_THERMAL_GOV_STEP_WISE=y \
  682. CONFIG_THERMAL_GOV_USER_SPACE=n \
  683. CONFIG_THERMAL_EMULATION=n
  684. FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
  685. AUTOLOAD:=$(call AutoProbe,thermal_sys)
  686. endef
  687. define KernelPackage/thermal/description
  688. Generic Thermal Sysfs driver offers a generic mechanism for thermal
  689. management. Usually it's made up of one or more thermal zone and cooling
  690. device.
  691. endef
  692. $(eval $(call KernelPackage,thermal))
  693. define KernelPackage/thermal-armada
  694. SUBMENU:=$(OTHER_MENU)
  695. TITLE:=Armada 370/XP thermal management
  696. DEPENDS:=@TARGET_mvebu +kmod-thermal
  697. KCONFIG:=CONFIG_ARMADA_THERMAL
  698. FILES:=$(LINUX_DIR)/drivers/thermal/armada_thermal.ko
  699. AUTOLOAD:=$(call AutoProbe,armada_thermal)
  700. endef
  701. define KernelPackage/thermal-armada/description
  702. Enable this module if you want to have support for thermal management
  703. controller present in Armada 370 and Armada XP SoC.
  704. endef
  705. $(eval $(call KernelPackage,thermal-armada))
  706. define KernelPackage/thermal-imx
  707. SUBMENU:=$(OTHER_MENU)
  708. TITLE:=Temperature sensor driver for Freescale i.MX SoCs
  709. DEPENDS:=@TARGET_imx6 +kmod-thermal
  710. KCONFIG:= \
  711. CONFIG_CPU_THERMAL=y \
  712. CONFIG_IMX_THERMAL
  713. FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko
  714. AUTOLOAD:=$(call AutoProbe,imx_thermal)
  715. endef
  716. define KernelPackage/thermal-imx/description
  717. Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
  718. It supports one critical trip point and one passive trip point. The
  719. cpufreq is used as the cooling device to throttle CPUs when the
  720. passive trip is crossed.
  721. endef
  722. $(eval $(call KernelPackage,thermal-imx))
  723. define KernelPackage/thermal-kirkwood
  724. SUBMENU:=$(OTHER_MENU)
  725. TITLE:=Temperature sensor on Marvell Kirkwood SoCs
  726. DEPENDS:=@TARGET_kirkwood +kmod-thermal
  727. KCONFIG:=CONFIG_KIRKWOOD_THERMAL
  728. FILES:=$(LINUX_DIR)/drivers/thermal/kirkwood_thermal.ko
  729. AUTOLOAD:=$(call AutoProbe,kirkwood_thermal)
  730. endef
  731. define KernelPackage/thermal-kirkwood/description
  732. Support for the Kirkwood thermal sensor driver into the Linux thermal
  733. framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
  734. endef
  735. $(eval $(call KernelPackage,thermal-kirkwood))