other.mk 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  1. #
  2. # Copyright (C) 2006-2015 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
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=6LoWPAN shared code
  12. KCONFIG:= \
  13. CONFIG_6LOWPAN \
  14. CONFIG_6LOWPAN_NHC=n
  15. FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
  16. AUTOLOAD:=$(call AutoProbe,6lowpan)
  17. endef
  18. define KernelPackage/6lowpan/description
  19. Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
  20. endef
  21. $(eval $(call KernelPackage,6lowpan))
  22. define KernelPackage/bluetooth
  23. SUBMENU:=$(OTHER_MENU)
  24. TITLE:=Bluetooth support
  25. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac +LINUX_4_4:kmod-regmap
  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_BREDR=y \
  37. CONFIG_BT_DEBUGFS=n \
  38. CONFIG_BT_L2CAP=y \
  39. CONFIG_BT_LE=y \
  40. CONFIG_BT_SCO=y \
  41. CONFIG_BT_RFCOMM \
  42. CONFIG_BT_BNEP \
  43. CONFIG_BT_HCIBTUSB \
  44. CONFIG_BT_HCIBTUSB_BCM=n \
  45. CONFIG_BT_HCIUSB \
  46. CONFIG_BT_HCIUART \
  47. CONFIG_BT_HCIUART_BCM=n \
  48. CONFIG_BT_HCIUART_INTEL=n \
  49. CONFIG_BT_HCIUART_H4 \
  50. CONFIG_BT_HIDP \
  51. CONFIG_HID_SUPPORT=y
  52. $(call AddDepends/rfkill)
  53. FILES:= \
  54. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  55. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  56. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  57. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  58. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  59. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  60. ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,4.1.0)),1)
  61. FILES+= \
  62. $(LINUX_DIR)/drivers/bluetooth/btintel.ko
  63. endif
  64. AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
  65. endef
  66. define KernelPackage/bluetooth/description
  67. Kernel support for Bluetooth devices
  68. endef
  69. $(eval $(call KernelPackage,bluetooth))
  70. define KernelPackage/ath3k
  71. SUBMENU:=$(OTHER_MENU)
  72. TITLE:=ATH3K Kernel Module support
  73. DEPENDS:=+kmod-bluetooth +ar3k-firmware
  74. KCONFIG:= \
  75. CONFIG_BT_ATH3K \
  76. CONFIG_BT_HCIUART_ATH3K=y
  77. $(call AddDepends/bluetooth)
  78. FILES:= \
  79. $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
  80. AUTOLOAD:=$(call AutoProbe,ath3k)
  81. endef
  82. define KernelPackage/ath3k/description
  83. Kernel support for ATH3K Module
  84. endef
  85. $(eval $(call KernelPackage,ath3k))
  86. define KernelPackage/bluetooth_6lowpan
  87. SUBMENU:=$(OTHER_MENU)
  88. TITLE:=Bluetooth 6LoWPAN support
  89. DEPENDS:=+kmod-6lowpan +kmod-bluetooth
  90. KCONFIG:=CONFIG_BT_6LOWPAN
  91. FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
  92. AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
  93. endef
  94. define KernelPackage/bluetooth_6lowpan/description
  95. Kernel support for 6LoWPAN over Bluetooth Low Energy devices
  96. endef
  97. $(eval $(call KernelPackage,bluetooth_6lowpan))
  98. define KernelPackage/dma-buf
  99. SUBMENU:=$(OTHER_MENU)
  100. TITLE:=DMA shared buffer support
  101. HIDDEN:=1
  102. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  103. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  104. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  105. endef
  106. $(eval $(call KernelPackage,dma-buf))
  107. define KernelPackage/eeprom-93cx6
  108. SUBMENU:=$(OTHER_MENU)
  109. TITLE:=EEPROM 93CX6 support
  110. KCONFIG:=CONFIG_EEPROM_93CX6
  111. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  112. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  113. endef
  114. define KernelPackage/eeprom-93cx6/description
  115. Kernel module for EEPROM 93CX6 support
  116. endef
  117. $(eval $(call KernelPackage,eeprom-93cx6))
  118. define KernelPackage/eeprom-at24
  119. SUBMENU:=$(OTHER_MENU)
  120. TITLE:=EEPROM AT24 support
  121. KCONFIG:=CONFIG_EEPROM_AT24
  122. DEPENDS:=+kmod-i2c-core
  123. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  124. AUTOLOAD:=$(call AutoProbe,at24)
  125. endef
  126. define KernelPackage/eeprom-at24/description
  127. Kernel module for most I2C EEPROMs
  128. endef
  129. $(eval $(call KernelPackage,eeprom-at24))
  130. define KernelPackage/eeprom-at25
  131. SUBMENU:=$(OTHER_MENU)
  132. TITLE:=EEPROM AT25 support
  133. KCONFIG:=CONFIG_EEPROM_AT25
  134. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  135. AUTOLOAD:=$(call AutoProbe,at25)
  136. endef
  137. define KernelPackage/eeprom-at25/description
  138. Kernel module for most SPI EEPROMs
  139. endef
  140. $(eval $(call KernelPackage,eeprom-at25))
  141. define KernelPackage/gpio-dev
  142. SUBMENU:=$(OTHER_MENU)
  143. TITLE:=Generic GPIO char device support
  144. DEPENDS:=@GPIO_SUPPORT
  145. KCONFIG:=CONFIG_GPIO_DEVICE
  146. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  147. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  148. endef
  149. define KernelPackage/gpio-dev/description
  150. Kernel module to allows control of GPIO pins using a character device.
  151. endef
  152. $(eval $(call KernelPackage,gpio-dev))
  153. define KernelPackage/gpio-mcp23s08
  154. SUBMENU:=$(OTHER_MENU)
  155. TITLE:=Microchip MCP23xxx I/O expander
  156. DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
  157. KCONFIG:=CONFIG_GPIO_MCP23S08
  158. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
  159. AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
  160. endef
  161. define KernelPackage/gpio-mcp23s08/description
  162. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  163. endef
  164. $(eval $(call KernelPackage,gpio-mcp23s08))
  165. define KernelPackage/gpio-nxp-74hc164
  166. SUBMENU:=$(OTHER_MENU)
  167. TITLE:=NXP 74HC164 GPIO expander support
  168. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  169. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  170. AUTOLOAD:=$(call AutoProbe,nxp_74hc164)
  171. endef
  172. define KernelPackage/gpio-nxp-74hc164/description
  173. Kernel module for NXP 74HC164 GPIO expander
  174. endef
  175. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  176. define KernelPackage/gpio-pca953x
  177. SUBMENU:=$(OTHER_MENU)
  178. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  179. TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
  180. KCONFIG:=CONFIG_GPIO_PCA953X
  181. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
  182. AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
  183. endef
  184. define KernelPackage/gpio-pca953x/description
  185. Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
  186. PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
  187. endef
  188. $(eval $(call KernelPackage,gpio-pca953x))
  189. define KernelPackage/gpio-pcf857x
  190. SUBMENU:=$(OTHER_MENU)
  191. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  192. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  193. KCONFIG:=CONFIG_GPIO_PCF857X
  194. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  195. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  196. endef
  197. define KernelPackage/gpio-pcf857x/description
  198. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  199. endef
  200. $(eval $(call KernelPackage,gpio-pcf857x))
  201. define KernelPackage/iio-core
  202. SUBMENU:=$(OTHER_MENU)
  203. TITLE:=Industrial IO core
  204. KCONFIG:= \
  205. CONFIG_IIO \
  206. CONFIG_IIO_BUFFER=y \
  207. CONFIG_IIO_KFIFO_BUF \
  208. CONFIG_IIO_TRIGGER=y \
  209. CONFIG_IIO_TRIGGERED_BUFFER
  210. FILES:= \
  211. $(LINUX_DIR)/drivers/iio/industrialio.ko \
  212. $(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko@lt4.4) \
  213. $(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/buffer/industrialio-triggered-buffer.ko@ge4.4) \
  214. $(LINUX_DIR)/drivers/iio/kfifo_buf.ko@lt4.4 \
  215. $(LINUX_DIR)/drivers/iio/buffer/kfifo_buf.ko@ge4.4
  216. AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
  217. endef
  218. define KernelPackage/iio-core/description
  219. The industrial I/O subsystem provides a unified framework for
  220. drivers for many different types of embedded sensors using a
  221. number of different physical interfaces (i2c, spi, etc)
  222. endef
  223. $(eval $(call KernelPackage,iio-core))
  224. define KernelPackage/iio-ad799x
  225. SUBMENU:=$(OTHER_MENU)
  226. DEPENDS:=kmod-i2c-core kmod-iio-core
  227. TITLE:=Analog Devices AD799x ADC driver
  228. KCONFIG:= \
  229. CONFIG_AD799X_RING_BUFFER=y \
  230. CONFIG_AD799X
  231. FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko
  232. AUTOLOAD:=$(call AutoLoad,56,ad799x)
  233. endef
  234. define KernelPackage/iio-ad799x/description
  235. support for Analog Devices:
  236. ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
  237. i2c analog to digital converters (ADC).
  238. endef
  239. $(eval $(call KernelPackage,iio-ad799x))
  240. define KernelPackage/iio-dht11
  241. SUBMENU:=$(OTHER_MENU)
  242. DEPENDS:=kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
  243. TITLE:=DHT11 (and compatible) humidity and temperature sensors
  244. KCONFIG:= \
  245. CONFIG_DHT11
  246. FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
  247. AUTOLOAD:=$(call AutoLoad,56,dht11)
  248. endef
  249. define KernelPackage/iio-dht11/description
  250. support for DHT11 and DHT22 digitial humidity and temperature sensors
  251. attached at GPIO lines. You will need a custom device tree file to
  252. specify the GPIO line to use.
  253. endef
  254. $(eval $(call KernelPackage,iio-dht11))
  255. define KernelPackage/lp
  256. SUBMENU:=$(OTHER_MENU)
  257. TITLE:=Parallel port and line printer support
  258. KCONFIG:= \
  259. CONFIG_PARPORT \
  260. CONFIG_PRINTER \
  261. CONFIG_PPDEV
  262. FILES:= \
  263. $(LINUX_DIR)/drivers/parport/parport.ko \
  264. $(LINUX_DIR)/drivers/char/lp.ko \
  265. $(LINUX_DIR)/drivers/char/ppdev.ko
  266. AUTOLOAD:=$(call AutoLoad,50,parport lp ppdev)
  267. endef
  268. $(eval $(call KernelPackage,lp))
  269. define KernelPackage/mmc
  270. SUBMENU:=$(OTHER_MENU)
  271. TITLE:=MMC/SD Card Support
  272. KCONFIG:= \
  273. CONFIG_MMC \
  274. CONFIG_MMC_BLOCK \
  275. CONFIG_MMC_DEBUG=n \
  276. CONFIG_MMC_UNSAFE_RESUME=n \
  277. CONFIG_MMC_BLOCK_BOUNCE=y \
  278. CONFIG_MMC_TIFM_SD=n \
  279. CONFIG_MMC_WBSD=n \
  280. CONFIG_SDIO_UART=n
  281. FILES:= \
  282. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  283. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  284. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  285. endef
  286. define KernelPackage/mmc/description
  287. Kernel support for MMC/SD cards
  288. endef
  289. $(eval $(call KernelPackage,mmc))
  290. define KernelPackage/sdhci
  291. SUBMENU:=$(OTHER_MENU)
  292. TITLE:=Secure Digital Host Controller Interface support
  293. DEPENDS:=+kmod-mmc
  294. KCONFIG:= \
  295. CONFIG_MMC_SDHCI \
  296. CONFIG_MMC_SDHCI_PLTFM \
  297. CONFIG_MMC_SDHCI_PCI=n
  298. FILES:= \
  299. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  300. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  301. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  302. endef
  303. define KernelPackage/sdhci/description
  304. Kernel support for SDHCI Hosts
  305. endef
  306. $(eval $(call KernelPackage,sdhci))
  307. define KernelPackage/rfkill
  308. SUBMENU:=$(OTHER_MENU)
  309. TITLE:=RF switch subsystem support
  310. DEPENDS:=@USE_RFKILL +kmod-input-core
  311. KCONFIG:= \
  312. CONFIG_RFKILL_FULL \
  313. CONFIG_RFKILL_INPUT=y \
  314. CONFIG_RFKILL_LEDS=y
  315. FILES:= \
  316. $(LINUX_DIR)/net/rfkill/rfkill.ko
  317. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  318. endef
  319. define KernelPackage/rfkill/description
  320. Say Y here if you want to have control over RF switches
  321. found on many WiFi and Bluetooth cards
  322. endef
  323. $(eval $(call KernelPackage,rfkill))
  324. define KernelPackage/softdog
  325. SUBMENU:=$(OTHER_MENU)
  326. TITLE:=Software watchdog driver
  327. KCONFIG:=CONFIG_SOFT_WATCHDOG
  328. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  329. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  330. endef
  331. define KernelPackage/softdog/description
  332. Software watchdog driver
  333. endef
  334. $(eval $(call KernelPackage,softdog))
  335. define KernelPackage/ssb
  336. SUBMENU:=$(OTHER_MENU)
  337. TITLE:=Silicon Sonics Backplane glue code
  338. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  339. KCONFIG:=\
  340. CONFIG_SSB \
  341. CONFIG_SSB_B43_PCI_BRIDGE=y \
  342. CONFIG_SSB_DRIVER_MIPS=n \
  343. CONFIG_SSB_DRIVER_PCICORE=y \
  344. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  345. CONFIG_SSB_PCIHOST=y \
  346. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  347. CONFIG_SSB_POSSIBLE=y \
  348. CONFIG_SSB_SPROM=y \
  349. CONFIG_SSB_SILENT=y
  350. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  351. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  352. endef
  353. define KernelPackage/ssb/description
  354. Silicon Sonics Backplane glue code.
  355. endef
  356. $(eval $(call KernelPackage,ssb))
  357. define KernelPackage/bcma
  358. SUBMENU:=$(OTHER_MENU)
  359. TITLE:=BCMA support
  360. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_bcm53xx
  361. KCONFIG:=\
  362. CONFIG_BCMA \
  363. CONFIG_BCMA_POSSIBLE=y \
  364. CONFIG_BCMA_BLOCKIO=y \
  365. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  366. CONFIG_BCMA_HOST_PCI=y \
  367. CONFIG_BCMA_HOST_SOC=n \
  368. CONFIG_BCMA_DRIVER_MIPS=n \
  369. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  370. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  371. CONFIG_BCMA_DEBUG=n
  372. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  373. AUTOLOAD:=$(call AutoLoad,29,bcma)
  374. endef
  375. define KernelPackage/bcma/description
  376. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  377. endef
  378. $(eval $(call KernelPackage,bcma))
  379. define KernelPackage/rtc-ds1307
  380. SUBMENU:=$(OTHER_MENU)
  381. TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
  382. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  383. DEPENDS:=+kmod-i2c-core
  384. KCONFIG:=CONFIG_RTC_DRV_DS1307 \
  385. CONFIG_RTC_CLASS=y
  386. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
  387. AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
  388. endef
  389. define KernelPackage/rtc-ds1307/description
  390. Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
  391. Epson RX-8025 and various other compatible RTC chips connected via I2C.
  392. endef
  393. $(eval $(call KernelPackage,rtc-ds1307))
  394. define KernelPackage/rtc-ds1374
  395. SUBMENU:=$(OTHER_MENU)
  396. TITLE:=Dallas/Maxim DS1374 RTC support
  397. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  398. DEPENDS:=+kmod-i2c-core
  399. KCONFIG:=CONFIG_RTC_DRV_DS1374 \
  400. CONFIG_RTC_DRV_DS1374_WDT=n \
  401. CONFIG_RTC_CLASS=y
  402. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
  403. AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
  404. endef
  405. define KernelPackage/rtc-ds1374/description
  406. Kernel module for Dallas/Maxim DS1374.
  407. endef
  408. $(eval $(call KernelPackage,rtc-ds1374))
  409. define KernelPackage/rtc-ds1672
  410. SUBMENU:=$(OTHER_MENU)
  411. TITLE:=Dallas/Maxim DS1672 RTC support
  412. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  413. DEPENDS:=+kmod-i2c-core
  414. KCONFIG:=CONFIG_RTC_DRV_DS1672 \
  415. CONFIG_RTC_CLASS=y
  416. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  417. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  418. endef
  419. define KernelPackage/rtc-ds1672/description
  420. Kernel module for Dallas/Maxim DS1672 RTC.
  421. endef
  422. $(eval $(call KernelPackage,rtc-ds1672))
  423. define KernelPackage/rtc-isl1208
  424. SUBMENU:=$(OTHER_MENU)
  425. TITLE:=Intersil ISL1208 RTC support
  426. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  427. DEPENDS:=+kmod-i2c-core
  428. KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
  429. CONFIG_RTC_CLASS=y
  430. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  431. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  432. endef
  433. define KernelPackage/rtc-isl1208/description
  434. Kernel module for Intersil ISL1208 RTC.
  435. endef
  436. $(eval $(call KernelPackage,rtc-isl1208))
  437. define KernelPackage/rtc-pcf8563
  438. SUBMENU:=$(OTHER_MENU)
  439. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  440. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  441. DEPENDS:=+kmod-i2c-core
  442. KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
  443. CONFIG_RTC_CLASS=y
  444. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  445. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  446. endef
  447. define KernelPackage/rtc-pcf8563/description
  448. Kernel module for Philips PCF8563 RTC chip.
  449. The Epson RTC8564 should work as well.
  450. endef
  451. $(eval $(call KernelPackage,rtc-pcf8563))
  452. define KernelPackage/rtc-pcf2123
  453. SUBMENU:=$(OTHER_MENU)
  454. TITLE:=Philips PCF2123 RTC support
  455. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  456. KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
  457. CONFIG_RTC_CLASS=y
  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. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  469. DEPENDS:=+kmod-i2c-core
  470. KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
  471. CONFIG_RTC_CLASS=y
  472. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  473. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  474. endef
  475. define KernelPackage/rtc-pt7c4338/description
  476. Kernel module for Pericom PT7C4338 i2c RTC chip
  477. endef
  478. $(eval $(call KernelPackage,rtc-pt7c4338))
  479. define KernelPackage/rtc-rs5c372a
  480. SUBMENU:=$(OTHER_MENU)
  481. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  482. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  483. DEPENDS:=+kmod-i2c-core
  484. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  485. CONFIG_RTC_CLASS=y
  486. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  487. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  488. endef
  489. define KernelPackage/rtc-rs5c372a/description
  490. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  491. endef
  492. $(eval $(call KernelPackage,rtc-rs5c372a))
  493. define KernelPackage/mtdtests
  494. SUBMENU:=$(OTHER_MENU)
  495. TITLE:=MTD subsystem tests
  496. KCONFIG:=CONFIG_MTD_TESTS
  497. FILES:=\
  498. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  499. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  500. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  501. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  502. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  503. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  504. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  505. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  506. endef
  507. define KernelPackage/mtdtests/description
  508. Kernel modules for MTD subsystem/driver testing
  509. endef
  510. $(eval $(call KernelPackage,mtdtests))
  511. define KernelPackage/serial-8250
  512. SUBMENU:=$(OTHER_MENU)
  513. TITLE:=8250 UARTs
  514. KCONFIG:= CONFIG_SERIAL_8250 \
  515. CONFIG_SERIAL_8250_NR_UARTS=16 \
  516. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  517. CONFIG_SERIAL_8250_EXTENDED=y \
  518. CONFIG_SERIAL_8250_MANY_PORTS=y \
  519. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  520. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  521. CONFIG_SERIAL_8250_RSA=n
  522. FILES:= \
  523. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  524. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4
  525. endef
  526. define KernelPackage/serial-8250/description
  527. Kernel module for 8250 UART based serial ports
  528. endef
  529. $(eval $(call KernelPackage,serial-8250))
  530. define KernelPackage/regmap
  531. SUBMENU:=$(OTHER_MENU)
  532. TITLE:=Generic register map support
  533. DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
  534. KCONFIG:=CONFIG_REGMAP \
  535. CONFIG_REGMAP_MMIO \
  536. CONFIG_REGMAP_SPI \
  537. CONFIG_REGMAP_I2C \
  538. CONFIG_SPI=y
  539. FILES:= \
  540. $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
  541. $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  542. $(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko \
  543. $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
  544. AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-mmio regmap-spi)
  545. endef
  546. define KernelPackage/regmap/description
  547. Generic register map support
  548. endef
  549. $(eval $(call KernelPackage,regmap))
  550. define KernelPackage/ikconfig
  551. SUBMENU:=$(OTHER_MENU)
  552. TITLE:=Kernel configuration via /proc/config.gz
  553. KCONFIG:=CONFIG_IKCONFIG \
  554. CONFIG_IKCONFIG_PROC=y
  555. FILES:=$(LINUX_DIR)/kernel/configs.ko
  556. AUTOLOAD:=$(call AutoLoad,70,configs)
  557. endef
  558. define KernelPackage/ikconfig/description
  559. Kernel configuration via /proc/config.gz
  560. endef
  561. $(eval $(call KernelPackage,ikconfig))
  562. define KernelPackage/zram
  563. SUBMENU:=$(OTHER_MENU)
  564. TITLE:=ZRAM
  565. DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
  566. KCONFIG:= \
  567. CONFIG_ZSMALLOC \
  568. CONFIG_ZRAM \
  569. CONFIG_ZRAM_DEBUG=n \
  570. CONFIG_PGTABLE_MAPPING=n \
  571. CONFIG_ZSMALLOC_STAT=n \
  572. CONFIG_ZRAM_LZ4_COMPRESS=y
  573. FILES:= \
  574. $(LINUX_DIR)/mm/zsmalloc.ko \
  575. $(LINUX_DIR)/drivers/block/zram/zram.ko
  576. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  577. endef
  578. define KernelPackage/zram/description
  579. Compressed RAM block device support
  580. endef
  581. $(eval $(call KernelPackage,zram))
  582. define KernelPackage/pps
  583. SUBMENU:=$(OTHER_MENU)
  584. TITLE:=PPS support
  585. KCONFIG:=CONFIG_PPS
  586. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  587. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  588. endef
  589. define KernelPackage/pps/description
  590. PPS (Pulse Per Second) is a special pulse provided by some GPS
  591. antennae. Userland can use it to get a high-precision time
  592. reference.
  593. endef
  594. $(eval $(call KernelPackage,pps))
  595. define KernelPackage/pps-gpio
  596. SUBMENU:=$(OTHER_MENU)
  597. TITLE:=PPS client using GPIO
  598. DEPENDS:=+kmod-pps
  599. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  600. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  601. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  602. endef
  603. define KernelPackage/pps-gpio/description
  604. Support for a PPS source using GPIO. To be useful you must
  605. also register a platform device specifying the GPIO pin and
  606. other options, usually in your board setup.
  607. endef
  608. $(eval $(call KernelPackage,pps-gpio))
  609. define KernelPackage/pps-ldisc
  610. SUBMENU:=$(OTHER_MENU)
  611. TITLE:=PPS line discipline
  612. DEPENDS:=+kmod-pps
  613. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  614. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  615. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  616. endef
  617. define KernelPackage/pps-ldisc/description
  618. Support for a PPS source connected with the CD (Carrier
  619. Detect) pin of your serial port.
  620. endef
  621. $(eval $(call KernelPackage,pps-ldisc))
  622. define KernelPackage/ptp
  623. SUBMENU:=$(OTHER_MENU)
  624. TITLE:=PTP clock support
  625. DEPENDS:=+kmod-pps
  626. KCONFIG:= \
  627. CONFIG_PTP_1588_CLOCK \
  628. CONFIG_NET_PTP_CLASSIFY=y
  629. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  630. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  631. endef
  632. define KernelPackage/ptp/description
  633. The IEEE 1588 standard defines a method to precisely
  634. synchronize distributed clocks over Ethernet networks.
  635. endef
  636. $(eval $(call KernelPackage,ptp))
  637. define KernelPackage/ptp-gianfar
  638. SUBMENU:=$(OTHER_MENU)
  639. TITLE:=Freescale Gianfar PTP support
  640. DEPENDS:=@TARGET_mpc85xx +kmod-ptp
  641. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  642. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  643. AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
  644. endef
  645. define KernelPackage/ptp-gianfar/description
  646. Kernel module for IEEE 1588 support for Freescale
  647. Gianfar Ethernet drivers
  648. endef
  649. $(eval $(call KernelPackage,ptp-gianfar))
  650. define KernelPackage/random-core
  651. SUBMENU:=$(OTHER_MENU)
  652. TITLE:=Hardware Random Number Generator Core support
  653. KCONFIG:=CONFIG_HW_RANDOM
  654. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  655. endef
  656. define KernelPackage/random-core/description
  657. Kernel module for the HW random number generator core infrastructure
  658. endef
  659. $(eval $(call KernelPackage,random-core))
  660. define KernelPackage/random-omap
  661. SUBMENU:=$(OTHER_MENU)
  662. TITLE:=Hardware Random Number Generator OMAP support
  663. KCONFIG:=CONFIG_HW_RANDOM_OMAP
  664. FILES:=$(LINUX_DIR)/drivers/char/hw_random/omap-rng.ko
  665. DEPENDS:=@TARGET_omap24xx +kmod-random-core
  666. AUTOLOAD:=$(call AutoProbe,random-omap)
  667. endef
  668. define KernelPackage/random-omap/description
  669. Kernel module for the OMAP Random Number Generator
  670. found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors.
  671. endef
  672. $(eval $(call KernelPackage,random-omap))
  673. define KernelPackage/thermal
  674. SUBMENU:=$(OTHER_MENU)
  675. TITLE:=Generic Thermal sysfs driver
  676. DEPENDS:=+kmod-hwmon-core
  677. HIDDEN:=1
  678. KCONFIG:= \
  679. CONFIG_THERMAL \
  680. CONFIG_THERMAL_OF=y \
  681. CONFIG_CPU_THERMAL=y \
  682. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  683. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  684. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  685. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  686. CONFIG_THERMAL_GOV_STEP_WISE=y \
  687. CONFIG_THERMAL_GOV_USER_SPACE=n \
  688. CONFIG_THERMAL_HWMON=y \
  689. CONFIG_THERMAL_EMULATION=n
  690. FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
  691. AUTOLOAD:=$(call AutoProbe,thermal_sys)
  692. endef
  693. define KernelPackage/thermal/description
  694. Generic Thermal Sysfs driver offers a generic mechanism for thermal
  695. management. Usually it's made up of one or more thermal zone and cooling
  696. device.
  697. endef
  698. $(eval $(call KernelPackage,thermal))
  699. define KernelPackage/gpio-beeper
  700. SUBMENU:=$(OTHER_MENU)
  701. TITLE:=GPIO beeper support
  702. DEPENDS:=+kmod-input-core
  703. KCONFIG:= \
  704. CONFIG_INPUT_MISC=y \
  705. CONFIG_INPUT_GPIO_BEEPER
  706. FILES:= \
  707. $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
  708. AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
  709. endef
  710. define KernelPackage/gpio-beeper/description
  711. This enables playing beeps through an GPIO-connected buzzer
  712. endef
  713. $(eval $(call KernelPackage,gpio-beeper))
  714. define KernelPackage/echo
  715. SUBMENU:=$(OTHER_MENU)
  716. TITLE:=Line Echo Canceller
  717. KCONFIG:=CONFIG_ECHO
  718. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  719. AUTOLOAD:=$(call AutoLoad,50,echo)
  720. endef
  721. define KernelPackage/echo/description
  722. This driver provides line echo cancelling support for mISDN and
  723. DAHDI drivers
  724. endef
  725. $(eval $(call KernelPackage,echo))
  726. define KernelPackage/bmp085
  727. SUBMENU:=$(OTHER_MENU)
  728. TITLE:=BMP085/BMP18x pressure sensor
  729. DEPENDS:= +kmod-regmap @!LINUX_3_18 @!LINUX_4_1
  730. KCONFIG:= CONFIG_BMP085
  731. FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
  732. endef
  733. define KernelPackage/bmp085/description
  734. This driver adds support for Bosch Sensortec's digital pressure
  735. sensors BMP085 and BMP18x.
  736. endef
  737. $(eval $(call KernelPackage,bmp085))
  738. define KernelPackage/bmp085-i2c
  739. SUBMENU:=$(OTHER_MENU)
  740. TITLE:=BMP085/BMP18x pressure sensor I2C
  741. DEPENDS:= +kmod-bmp085
  742. KCONFIG:= CONFIG_BMP085_I2C
  743. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-i2c.ko
  744. AUTOLOAD:=$(call AutoProbe,bmp085-i2c)
  745. endef
  746. define KernelPackage/bmp085-i2c/description
  747. This driver adds support for Bosch Sensortec's digital pressure
  748. sensor connected via I2C.
  749. endef
  750. $(eval $(call KernelPackage,bmp085-i2c))
  751. define KernelPackage/bmp085-spi
  752. SUBMENU:=$(OTHER_MENU)
  753. TITLE:=BMP085/BMP18x pressure sensor SPI
  754. DEPENDS:= +kmod-bmp085
  755. KCONFIG:= CONFIG_BMP085_SPI
  756. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
  757. AUTOLOAD:=$(call AutoProbe,bmp085-spi)
  758. endef
  759. define KernelPackage/bmp085-spi/description
  760. This driver adds support for Bosch Sensortec's digital pressure
  761. sensor connected via SPI.
  762. endef
  763. $(eval $(call KernelPackage,bmp085-spi))