other.mk 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230
  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 +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh
  26. KCONFIG:= \
  27. CONFIG_BT \
  28. CONFIG_BT_BREDR=y \
  29. CONFIG_BT_DEBUGFS=n \
  30. CONFIG_BT_LE=y \
  31. CONFIG_BT_RFCOMM \
  32. CONFIG_BT_BNEP \
  33. CONFIG_BT_HCIBTUSB \
  34. CONFIG_BT_HCIBTUSB_BCM=n \
  35. CONFIG_BT_HCIUART \
  36. CONFIG_BT_HCIUART_BCM=n \
  37. CONFIG_BT_HCIUART_INTEL=n \
  38. CONFIG_BT_HCIUART_H4 \
  39. CONFIG_BT_HCIUART_NOKIA=n \
  40. CONFIG_BT_HIDP
  41. $(call AddDepends/rfkill)
  42. FILES:= \
  43. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  44. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  45. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  46. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  47. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  48. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  49. ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,4.1.0)),1)
  50. FILES+= \
  51. $(LINUX_DIR)/drivers/bluetooth/btintel.ko
  52. endif
  53. AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
  54. endef
  55. define KernelPackage/bluetooth/description
  56. Kernel support for Bluetooth devices
  57. endef
  58. $(eval $(call KernelPackage,bluetooth))
  59. define KernelPackage/ath3k
  60. SUBMENU:=$(OTHER_MENU)
  61. TITLE:=ATH3K Kernel Module support
  62. DEPENDS:=+kmod-bluetooth +ar3k-firmware
  63. KCONFIG:= \
  64. CONFIG_BT_ATH3K \
  65. CONFIG_BT_HCIUART_ATH3K=y
  66. $(call AddDepends/bluetooth)
  67. FILES:= \
  68. $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
  69. AUTOLOAD:=$(call AutoProbe,ath3k)
  70. endef
  71. define KernelPackage/ath3k/description
  72. Kernel support for ATH3K Module
  73. endef
  74. $(eval $(call KernelPackage,ath3k))
  75. define KernelPackage/bluetooth_6lowpan
  76. SUBMENU:=$(OTHER_MENU)
  77. TITLE:=Bluetooth 6LoWPAN support
  78. DEPENDS:=+kmod-6lowpan +kmod-bluetooth
  79. KCONFIG:=CONFIG_BT_6LOWPAN
  80. FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
  81. AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
  82. endef
  83. define KernelPackage/bluetooth_6lowpan/description
  84. Kernel support for 6LoWPAN over Bluetooth Low Energy devices
  85. endef
  86. $(eval $(call KernelPackage,bluetooth_6lowpan))
  87. define KernelPackage/btmrvl
  88. SUBMENU:=$(OTHER_MENU)
  89. TITLE:=Marvell Bluetooth Kernel Module support
  90. DEPENDS:=+kmod-mmc +kmod-bluetooth +mwifiex-sdio-firmware
  91. KCONFIG:= \
  92. CONFIG_BT_MRVL \
  93. CONFIG_BT_MRVL_SDIO
  94. $(call AddDepends/bluetooth)
  95. FILES:= \
  96. $(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
  97. $(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
  98. AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
  99. endef
  100. define KernelPackage/btmrvl/description
  101. Kernel support for Marvell SDIO Bluetooth Module
  102. endef
  103. $(eval $(call KernelPackage,btmrvl))
  104. define KernelPackage/dma-buf
  105. SUBMENU:=$(OTHER_MENU)
  106. TITLE:=DMA shared buffer support
  107. HIDDEN:=1
  108. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  109. ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
  110. ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
  111. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  112. endif
  113. endif
  114. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  115. endef
  116. $(eval $(call KernelPackage,dma-buf))
  117. define KernelPackage/nvmem
  118. SUBMENU:=$(OTHER_MENU)
  119. TITLE:=Non Volatile Memory support
  120. KCONFIG:=CONFIG_NVMEM
  121. HIDDEN:=1
  122. FILES:=$(LINUX_DIR)/drivers/nvmem/nvmem_core.ko
  123. endef
  124. define KernelPackage/nvmem/description
  125. Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES, etc.
  126. endef
  127. $(eval $(call KernelPackage,nvmem))
  128. define KernelPackage/eeprom-93cx6
  129. SUBMENU:=$(OTHER_MENU)
  130. TITLE:=EEPROM 93CX6 support
  131. KCONFIG:=CONFIG_EEPROM_93CX6
  132. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  133. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  134. endef
  135. define KernelPackage/eeprom-93cx6/description
  136. Kernel module for EEPROM 93CX6 support
  137. endef
  138. $(eval $(call KernelPackage,eeprom-93cx6))
  139. define KernelPackage/eeprom-at24
  140. SUBMENU:=$(OTHER_MENU)
  141. TITLE:=EEPROM AT24 support
  142. KCONFIG:=CONFIG_EEPROM_AT24
  143. DEPENDS:=+kmod-i2c-core +kmod-nvmem +LINUX_4_19:kmod-regmap-i2c
  144. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  145. AUTOLOAD:=$(call AutoProbe,at24)
  146. endef
  147. define KernelPackage/eeprom-at24/description
  148. Kernel module for most I2C EEPROMs
  149. endef
  150. $(eval $(call KernelPackage,eeprom-at24))
  151. define KernelPackage/eeprom-at25
  152. SUBMENU:=$(OTHER_MENU)
  153. TITLE:=EEPROM AT25 support
  154. KCONFIG:=CONFIG_EEPROM_AT25
  155. DEPENDS:=+kmod-nvmem
  156. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  157. AUTOLOAD:=$(call AutoProbe,at25)
  158. endef
  159. define KernelPackage/eeprom-at25/description
  160. Kernel module for most SPI EEPROMs
  161. endef
  162. $(eval $(call KernelPackage,eeprom-at25))
  163. define KernelPackage/gpio-dev
  164. SUBMENU:=$(OTHER_MENU)
  165. TITLE:=Generic GPIO char device support
  166. DEPENDS:=@GPIO_SUPPORT
  167. KCONFIG:=CONFIG_GPIO_DEVICE
  168. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  169. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  170. endef
  171. define KernelPackage/gpio-dev/description
  172. Kernel module to allows control of GPIO pins using a character device.
  173. endef
  174. $(eval $(call KernelPackage,gpio-dev))
  175. define KernelPackage/gpio-mcp23s08
  176. SUBMENU:=$(OTHER_MENU)
  177. TITLE:=Microchip MCP23xxx I/O expander
  178. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
  179. KCONFIG:= \
  180. CONFIG_GPIO_MCP23S08 \
  181. CONFIG_PINCTRL_MCP23S08
  182. FILES:= \
  183. $(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
  184. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
  185. endef
  186. define KernelPackage/gpio-mcp23s08/description
  187. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  188. endef
  189. $(eval $(call KernelPackage,gpio-mcp23s08))
  190. define KernelPackage/gpio-nxp-74hc164
  191. SUBMENU:=$(OTHER_MENU)
  192. TITLE:=NXP 74HC164 GPIO expander support
  193. KCONFIG:=CONFIG_GPIO_74X164
  194. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-74x164.ko
  195. AUTOLOAD:=$(call AutoProbe,gpio-74x164)
  196. endef
  197. define KernelPackage/gpio-nxp-74hc164/description
  198. Kernel module for NXP 74HC164 GPIO expander
  199. endef
  200. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  201. define KernelPackage/gpio-pca953x
  202. SUBMENU:=$(OTHER_MENU)
  203. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  204. TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
  205. KCONFIG:=CONFIG_GPIO_PCA953X
  206. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
  207. AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
  208. endef
  209. define KernelPackage/gpio-pca953x/description
  210. Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
  211. PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
  212. endef
  213. $(eval $(call KernelPackage,gpio-pca953x))
  214. define KernelPackage/gpio-pcf857x
  215. SUBMENU:=$(OTHER_MENU)
  216. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  217. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  218. KCONFIG:=CONFIG_GPIO_PCF857X
  219. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  220. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  221. endef
  222. define KernelPackage/gpio-pcf857x/description
  223. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  224. endef
  225. $(eval $(call KernelPackage,gpio-pcf857x))
  226. define KernelPackage/ppdev
  227. SUBMENU:=$(OTHER_MENU)
  228. TITLE:=Parallel port support
  229. KCONFIG:= \
  230. CONFIG_PARPORT \
  231. CONFIG_PPDEV
  232. FILES:= \
  233. $(LINUX_DIR)/drivers/parport/parport.ko \
  234. $(LINUX_DIR)/drivers/char/ppdev.ko
  235. AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
  236. endef
  237. $(eval $(call KernelPackage,ppdev))
  238. define KernelPackage/parport-pc
  239. SUBMENU:=$(OTHER_MENU)
  240. TITLE:=Parallel port interface (PC-style) support
  241. DEPENDS:=+kmod-ppdev
  242. KCONFIG:= \
  243. CONFIG_KS0108=n \
  244. CONFIG_PARPORT_PC \
  245. CONFIG_PARPORT_1284=y \
  246. CONFIG_PARPORT_PC_FIFO=y \
  247. CONFIG_PARPORT_PC_PCMCIA=n \
  248. CONFIG_PARPORT_PC_SUPERIO=y \
  249. CONFIG_PARPORT_SERIAL=n \
  250. CONFIG_PARIDE=n \
  251. CONFIG_SCSI_IMM=n \
  252. CONFIG_SCSI_PPA=n
  253. FILES:= \
  254. $(LINUX_DIR)/drivers/parport/parport_pc.ko
  255. AUTOLOAD:=$(call AutoLoad,51,parport_pc)
  256. endef
  257. $(eval $(call KernelPackage,parport-pc))
  258. define KernelPackage/lp
  259. SUBMENU:=$(OTHER_MENU)
  260. TITLE:=Parallel port line printer device support
  261. DEPENDS:=+kmod-ppdev
  262. KCONFIG:= \
  263. CONFIG_PRINTER
  264. FILES:= \
  265. $(LINUX_DIR)/drivers/char/lp.ko
  266. AUTOLOAD:=$(call AutoLoad,52,lp)
  267. endef
  268. $(eval $(call KernelPackage,lp))
  269. define KernelPackage/mmc
  270. SUBMENU:=$(OTHER_MENU)
  271. TITLE:=MMC/SD Card Support
  272. DEPENDS:=@!TARGET_uml
  273. KCONFIG:= \
  274. CONFIG_MMC \
  275. CONFIG_MMC_BLOCK \
  276. CONFIG_MMC_DEBUG=n \
  277. CONFIG_MMC_UNSAFE_RESUME=n \
  278. CONFIG_MMC_BLOCK_BOUNCE=y \
  279. CONFIG_MMC_TIFM_SD=n \
  280. CONFIG_MMC_WBSD=n \
  281. CONFIG_SDIO_UART=n
  282. FILES:= \
  283. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  284. $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
  285. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  286. endef
  287. define KernelPackage/mmc/description
  288. Kernel support for MMC/SD cards
  289. endef
  290. $(eval $(call KernelPackage,mmc))
  291. define KernelPackage/sdhci
  292. SUBMENU:=$(OTHER_MENU)
  293. TITLE:=Secure Digital Host Controller Interface support
  294. DEPENDS:=+kmod-mmc
  295. KCONFIG:= \
  296. CONFIG_MMC_SDHCI \
  297. CONFIG_MMC_SDHCI_PLTFM \
  298. CONFIG_MMC_SDHCI_PCI=n
  299. FILES:= \
  300. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  301. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  302. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  303. endef
  304. define KernelPackage/sdhci/description
  305. Kernel support for SDHCI Hosts
  306. endef
  307. $(eval $(call KernelPackage,sdhci))
  308. define KernelPackage/rfkill
  309. SUBMENU:=$(OTHER_MENU)
  310. TITLE:=RF switch subsystem support
  311. DEPENDS:=@USE_RFKILL +kmod-input-core
  312. KCONFIG:= \
  313. CONFIG_RFKILL_FULL \
  314. CONFIG_RFKILL_INPUT=y \
  315. CONFIG_RFKILL_LEDS=y
  316. FILES:= \
  317. $(LINUX_DIR)/net/rfkill/rfkill.ko
  318. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  319. endef
  320. define KernelPackage/rfkill/description
  321. Say Y here if you want to have control over RF switches
  322. found on many WiFi and Bluetooth cards
  323. endef
  324. $(eval $(call KernelPackage,rfkill))
  325. define KernelPackage/softdog
  326. SUBMENU:=$(OTHER_MENU)
  327. TITLE:=Software watchdog driver
  328. KCONFIG:=CONFIG_SOFT_WATCHDOG \
  329. CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
  330. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  331. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  332. endef
  333. define KernelPackage/softdog/description
  334. Software watchdog driver
  335. endef
  336. $(eval $(call KernelPackage,softdog))
  337. define KernelPackage/ssb
  338. SUBMENU:=$(OTHER_MENU)
  339. TITLE:=Silicon Sonics Backplane glue code
  340. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  341. KCONFIG:=\
  342. CONFIG_SSB \
  343. CONFIG_SSB_B43_PCI_BRIDGE=y \
  344. CONFIG_SSB_DRIVER_MIPS=n \
  345. CONFIG_SSB_DRIVER_PCICORE=y \
  346. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  347. CONFIG_SSB_PCIHOST=y \
  348. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  349. CONFIG_SSB_POSSIBLE=y \
  350. CONFIG_SSB_SPROM=y \
  351. CONFIG_SSB_SILENT=y
  352. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  353. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  354. endef
  355. define KernelPackage/ssb/description
  356. Silicon Sonics Backplane glue code.
  357. endef
  358. $(eval $(call KernelPackage,ssb))
  359. define KernelPackage/bcma
  360. SUBMENU:=$(OTHER_MENU)
  361. TITLE:=BCMA support
  362. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_bcm53xx
  363. KCONFIG:=\
  364. CONFIG_BCMA \
  365. CONFIG_BCMA_POSSIBLE=y \
  366. CONFIG_BCMA_BLOCKIO=y \
  367. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  368. CONFIG_BCMA_HOST_PCI=y \
  369. CONFIG_BCMA_HOST_SOC=n \
  370. CONFIG_BCMA_DRIVER_MIPS=n \
  371. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  372. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  373. CONFIG_BCMA_DEBUG=n
  374. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  375. AUTOLOAD:=$(call AutoLoad,29,bcma)
  376. endef
  377. define KernelPackage/bcma/description
  378. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  379. endef
  380. $(eval $(call KernelPackage,bcma))
  381. define KernelPackage/rtc-ds1307
  382. SUBMENU:=$(OTHER_MENU)
  383. TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
  384. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  385. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-hwmon-core
  386. KCONFIG:=CONFIG_RTC_DRV_DS1307 \
  387. CONFIG_RTC_CLASS=y
  388. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
  389. AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
  390. endef
  391. define KernelPackage/rtc-ds1307/description
  392. Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
  393. Epson RX-8025 and various other compatible RTC chips connected via I2C.
  394. endef
  395. $(eval $(call KernelPackage,rtc-ds1307))
  396. define KernelPackage/rtc-ds1374
  397. SUBMENU:=$(OTHER_MENU)
  398. TITLE:=Dallas/Maxim DS1374 RTC support
  399. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  400. DEPENDS:=+kmod-i2c-core
  401. KCONFIG:=CONFIG_RTC_DRV_DS1374 \
  402. CONFIG_RTC_DRV_DS1374_WDT=n \
  403. CONFIG_RTC_CLASS=y
  404. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
  405. AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
  406. endef
  407. define KernelPackage/rtc-ds1374/description
  408. Kernel module for Dallas/Maxim DS1374.
  409. endef
  410. $(eval $(call KernelPackage,rtc-ds1374))
  411. define KernelPackage/rtc-ds1672
  412. SUBMENU:=$(OTHER_MENU)
  413. TITLE:=Dallas/Maxim DS1672 RTC support
  414. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  415. DEPENDS:=+kmod-i2c-core
  416. KCONFIG:=CONFIG_RTC_DRV_DS1672 \
  417. CONFIG_RTC_CLASS=y
  418. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  419. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  420. endef
  421. define KernelPackage/rtc-ds1672/description
  422. Kernel module for Dallas/Maxim DS1672 RTC.
  423. endef
  424. $(eval $(call KernelPackage,rtc-ds1672))
  425. define KernelPackage/rtc-em3027
  426. SUBMENU:=$(OTHER_MENU)
  427. TITLE:=Microelectronic EM3027 RTC support
  428. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  429. DEPENDS:=+kmod-i2c-core
  430. KCONFIG:=CONFIG_RTC_DRV_EM3027 \
  431. CONFIG_RTC_CLASS=y
  432. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-em3027.ko
  433. AUTOLOAD:=$(call AutoProbe,rtc-em3027)
  434. endef
  435. define KernelPackage/rtc-em3027/description
  436. Kernel module for Microelectronic EM3027 RTC.
  437. endef
  438. $(eval $(call KernelPackage,rtc-em3027))
  439. define KernelPackage/rtc-isl1208
  440. SUBMENU:=$(OTHER_MENU)
  441. TITLE:=Intersil ISL1208 RTC support
  442. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  443. DEPENDS:=+kmod-i2c-core
  444. KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
  445. CONFIG_RTC_CLASS=y
  446. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  447. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  448. endef
  449. define KernelPackage/rtc-isl1208/description
  450. Kernel module for Intersil ISL1208 RTC.
  451. endef
  452. $(eval $(call KernelPackage,rtc-isl1208))
  453. define KernelPackage/rtc-pcf8563
  454. SUBMENU:=$(OTHER_MENU)
  455. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  456. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  457. DEPENDS:=+kmod-i2c-core
  458. KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
  459. CONFIG_RTC_CLASS=y
  460. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  461. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  462. endef
  463. define KernelPackage/rtc-pcf8563/description
  464. Kernel module for Philips PCF8563 RTC chip.
  465. The Epson RTC8564 should work as well.
  466. endef
  467. $(eval $(call KernelPackage,rtc-pcf8563))
  468. define KernelPackage/rtc-pcf2123
  469. SUBMENU:=$(OTHER_MENU)
  470. TITLE:=Philips PCF2123 RTC support
  471. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  472. KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
  473. CONFIG_RTC_CLASS=y
  474. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  475. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  476. endef
  477. define KernelPackage/rtc-pcf2123/description
  478. Kernel module for Philips PCF2123 RTC chip
  479. endef
  480. $(eval $(call KernelPackage,rtc-pcf2123))
  481. define KernelPackage/rtc-pcf2127
  482. SUBMENU:=$(OTHER_MENU)
  483. TITLE:=NXP PCF2127 and PCF2129 RTC support
  484. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  485. DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
  486. KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
  487. CONFIG_RTC_CLASS=y
  488. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
  489. AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
  490. endef
  491. define KernelPackage/rtc-pcf2127/description
  492. Kernel module for NXP PCF2127 and PCF2129 RTC chip
  493. endef
  494. $(eval $(call KernelPackage,rtc-pcf2127))
  495. define KernelPackage/rtc-pt7c4338
  496. SUBMENU:=$(OTHER_MENU)
  497. TITLE:=Pericom PT7C4338 RTC support
  498. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  499. DEPENDS:=+kmod-i2c-core
  500. KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
  501. CONFIG_RTC_CLASS=y
  502. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  503. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  504. endef
  505. define KernelPackage/rtc-pt7c4338/description
  506. Kernel module for Pericom PT7C4338 i2c RTC chip
  507. endef
  508. $(eval $(call KernelPackage,rtc-pt7c4338))
  509. define KernelPackage/rtc-rs5c372a
  510. SUBMENU:=$(OTHER_MENU)
  511. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  512. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  513. DEPENDS:=+kmod-i2c-core
  514. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  515. CONFIG_RTC_CLASS=y
  516. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  517. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  518. endef
  519. define KernelPackage/rtc-rs5c372a/description
  520. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  521. endef
  522. $(eval $(call KernelPackage,rtc-rs5c372a))
  523. define KernelPackage/rtc-rx8025
  524. SUBMENU:=$(OTHER_MENU)
  525. TITLE:=Epson RX-8025 / RX-8035
  526. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  527. DEPENDS:=+kmod-i2c-core
  528. KCONFIG:=CONFIG_RTC_DRV_RX8025 \
  529. CONFIG_RTC_CLASS=y
  530. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
  531. AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
  532. endef
  533. define KernelPackage/rtc-rx8025/description
  534. Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
  535. endef
  536. $(eval $(call KernelPackage,rtc-rx8025))
  537. define KernelPackage/mtdtests
  538. SUBMENU:=$(OTHER_MENU)
  539. TITLE:=MTD subsystem tests
  540. KCONFIG:=CONFIG_MTD_TESTS
  541. FILES:=\
  542. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  543. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  544. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  545. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  546. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  547. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  548. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  549. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  550. endef
  551. define KernelPackage/mtdtests/description
  552. Kernel modules for MTD subsystem/driver testing
  553. endef
  554. $(eval $(call KernelPackage,mtdtests))
  555. define KernelPackage/mtdoops
  556. SUBMENU:=$(OTHER_MENU)
  557. TITLE:=Log panic/oops to an MTD buffer
  558. KCONFIG:=CONFIG_MTD_OOPS
  559. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  560. endef
  561. define KernelPackage/mtdoops/description
  562. Kernel modules for Log panic/oops to an MTD buffer
  563. endef
  564. $(eval $(call KernelPackage,mtdoops))
  565. define KernelPackage/mtdram
  566. SUBMENU:=$(OTHER_MENU)
  567. TITLE:=Test MTD driver using RAM
  568. KCONFIG:=CONFIG_MTD_MTDRAM \
  569. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  570. CONFIG_MTDRAM_ERASE_SIZE=128
  571. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  572. endef
  573. define KernelPackage/mtdram/description
  574. Test MTD driver using RAM
  575. endef
  576. $(eval $(call KernelPackage,mtdram))
  577. define KernelPackage/serial-8250
  578. SUBMENU:=$(OTHER_MENU)
  579. TITLE:=8250 UARTs
  580. KCONFIG:= CONFIG_SERIAL_8250 \
  581. CONFIG_SERIAL_8250_PCI \
  582. CONFIG_SERIAL_8250_NR_UARTS=16 \
  583. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  584. CONFIG_SERIAL_8250_EXTENDED=y \
  585. CONFIG_SERIAL_8250_MANY_PORTS=y \
  586. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  587. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  588. CONFIG_SERIAL_8250_RSA=n
  589. FILES:= \
  590. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  591. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  592. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko)
  593. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  594. endef
  595. define KernelPackage/serial-8250/description
  596. Kernel module for 8250 UART based serial ports
  597. endef
  598. $(eval $(call KernelPackage,serial-8250))
  599. define KernelPackage/serial-8250-exar
  600. SUBMENU:=$(OTHER_MENU)
  601. TITLE:=Exar 8250 UARTs
  602. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  603. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  604. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  605. DEPENDS:=+kmod-serial-8250
  606. endef
  607. define KernelPackage/serial-8250-exar/description
  608. Kernel module for Exar serial ports
  609. endef
  610. $(eval $(call KernelPackage,serial-8250-exar))
  611. define KernelPackage/regmap-core
  612. SUBMENU:=$(OTHER_MENU)
  613. TITLE:=Generic register map support
  614. HIDDEN:=1
  615. KCONFIG:=CONFIG_REGMAP
  616. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  617. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  618. endif
  619. endef
  620. define KernelPackage/regmap-core/description
  621. Generic register map support
  622. endef
  623. $(eval $(call KernelPackage,regmap-core))
  624. define KernelPackage/regmap-spi
  625. SUBMENU:=$(OTHER_MENU)
  626. TITLE:=SPI register map support
  627. DEPENDS:=+kmod-regmap-core
  628. HIDDEN:=1
  629. KCONFIG:=CONFIG_REGMAP_SPI \
  630. CONFIG_SPI=y
  631. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  632. endef
  633. define KernelPackage/regmap-spi/description
  634. SPI register map support
  635. endef
  636. $(eval $(call KernelPackage,regmap-spi))
  637. define KernelPackage/regmap-i2c
  638. SUBMENU:=$(OTHER_MENU)
  639. TITLE:=I2C register map support
  640. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  641. HIDDEN:=1
  642. KCONFIG:=CONFIG_REGMAP_I2C
  643. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  644. endef
  645. define KernelPackage/regmap-i2c/description
  646. I2C register map support
  647. endef
  648. $(eval $(call KernelPackage,regmap-i2c))
  649. define KernelPackage/regmap-mmio
  650. SUBMENU:=$(OTHER_MENU)
  651. TITLE:=MMIO register map support
  652. DEPENDS:=+kmod-regmap-core
  653. HIDDEN:=1
  654. KCONFIG:=CONFIG_REGMAP_MMIO
  655. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  656. endef
  657. define KernelPackage/regmap-mmio/description
  658. MMIO register map support
  659. endef
  660. $(eval $(call KernelPackage,regmap-mmio))
  661. define KernelPackage/ikconfig
  662. SUBMENU:=$(OTHER_MENU)
  663. TITLE:=Kernel configuration via /proc/config.gz
  664. KCONFIG:=CONFIG_IKCONFIG \
  665. CONFIG_IKCONFIG_PROC=y
  666. FILES:=$(LINUX_DIR)/kernel/configs.ko
  667. AUTOLOAD:=$(call AutoLoad,70,configs)
  668. endef
  669. define KernelPackage/ikconfig/description
  670. Kernel configuration via /proc/config.gz
  671. endef
  672. $(eval $(call KernelPackage,ikconfig))
  673. define KernelPackage/zram
  674. SUBMENU:=$(OTHER_MENU)
  675. TITLE:=ZRAM
  676. DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
  677. KCONFIG:= \
  678. CONFIG_ZSMALLOC \
  679. CONFIG_ZRAM \
  680. CONFIG_ZRAM_DEBUG=n \
  681. CONFIG_PGTABLE_MAPPING=n \
  682. CONFIG_ZRAM_WRITEBACK=n \
  683. CONFIG_ZSMALLOC_STAT=n \
  684. CONFIG_ZRAM_LZ4_COMPRESS=y
  685. FILES:= \
  686. $(LINUX_DIR)/mm/zsmalloc.ko \
  687. $(LINUX_DIR)/drivers/block/zram/zram.ko
  688. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  689. endef
  690. define KernelPackage/zram/description
  691. Compressed RAM block device support
  692. endef
  693. $(eval $(call KernelPackage,zram))
  694. define KernelPackage/pps
  695. SUBMENU:=$(OTHER_MENU)
  696. TITLE:=PPS support
  697. KCONFIG:=CONFIG_PPS
  698. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  699. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  700. endef
  701. define KernelPackage/pps/description
  702. PPS (Pulse Per Second) is a special pulse provided by some GPS
  703. antennae. Userland can use it to get a high-precision time
  704. reference.
  705. endef
  706. $(eval $(call KernelPackage,pps))
  707. define KernelPackage/pps-gpio
  708. SUBMENU:=$(OTHER_MENU)
  709. TITLE:=PPS client using GPIO
  710. DEPENDS:=+kmod-pps
  711. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  712. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  713. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  714. endef
  715. define KernelPackage/pps-gpio/description
  716. Support for a PPS source using GPIO. To be useful you must
  717. also register a platform device specifying the GPIO pin and
  718. other options, usually in your board setup.
  719. endef
  720. $(eval $(call KernelPackage,pps-gpio))
  721. define KernelPackage/pps-ldisc
  722. SUBMENU:=$(OTHER_MENU)
  723. TITLE:=PPS line discipline
  724. DEPENDS:=+kmod-pps
  725. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  726. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  727. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  728. endef
  729. define KernelPackage/pps-ldisc/description
  730. Support for a PPS source connected with the CD (Carrier
  731. Detect) pin of your serial port.
  732. endef
  733. $(eval $(call KernelPackage,pps-ldisc))
  734. define KernelPackage/ptp
  735. SUBMENU:=$(OTHER_MENU)
  736. TITLE:=PTP clock support
  737. DEPENDS:=+kmod-pps
  738. KCONFIG:= \
  739. CONFIG_PTP_1588_CLOCK \
  740. CONFIG_NET_PTP_CLASSIFY=y
  741. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  742. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  743. endef
  744. define KernelPackage/ptp/description
  745. The IEEE 1588 standard defines a method to precisely
  746. synchronize distributed clocks over Ethernet networks.
  747. endef
  748. $(eval $(call KernelPackage,ptp))
  749. define KernelPackage/ptp-gianfar
  750. SUBMENU:=$(OTHER_MENU)
  751. TITLE:=Freescale Gianfar PTP support
  752. DEPENDS:=@TARGET_mpc85xx +kmod-ptp @!LINUX_4_19
  753. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  754. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  755. AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
  756. endef
  757. define KernelPackage/ptp-gianfar/description
  758. Kernel module for IEEE 1588 support for Freescale
  759. Gianfar Ethernet drivers
  760. endef
  761. $(eval $(call KernelPackage,ptp-gianfar))
  762. define KernelPackage/ptp-qoriq
  763. SUBMENU:=$(OTHER_MENU)
  764. TITLE:=Freescale QorIQ PTP support
  765. DEPENDS:=@TARGET_mpc85xx +kmod-ptp @LINUX_4_19
  766. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  767. FILES:=$(LINUX_DIR)/drivers/ptp/ptp_qoriq.o
  768. AUTOLOAD:=$(call AutoProbe,ptp_qoriq)
  769. endef
  770. define KernelPackage/ptp-qoriq/description
  771. Kernel module for IEEE 1588 support for Freescale
  772. QorIQ Ethernet drivers
  773. endef
  774. $(eval $(call KernelPackage,ptp-qoriq))
  775. define KernelPackage/random-core
  776. SUBMENU:=$(OTHER_MENU)
  777. TITLE:=Hardware Random Number Generator Core support
  778. KCONFIG:=CONFIG_HW_RANDOM
  779. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  780. endef
  781. define KernelPackage/random-core/description
  782. Kernel module for the HW random number generator core infrastructure
  783. endef
  784. $(eval $(call KernelPackage,random-core))
  785. define KernelPackage/random-tpm
  786. SUBMENU:=$(OTHER_MENU)
  787. TITLE:=Hardware Random Number Generator TPM support
  788. KCONFIG:=CONFIG_HW_RANDOM_TPM
  789. FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko
  790. DEPENDS:= +kmod-random-core +kmod-tpm @!LINUX_4_19
  791. AUTOLOAD:=$(call AutoProbe,tpm-rng)
  792. endef
  793. define KernelPackage/random-tpm/description
  794. Kernel module for the Random Number Generator
  795. in the Trusted Platform Module.
  796. endef
  797. $(eval $(call KernelPackage,random-tpm))
  798. define KernelPackage/thermal
  799. SUBMENU:=$(OTHER_MENU)
  800. TITLE:=Generic Thermal sysfs driver
  801. DEPENDS:=+kmod-hwmon-core
  802. HIDDEN:=1
  803. KCONFIG:= \
  804. CONFIG_THERMAL \
  805. CONFIG_THERMAL_OF=y \
  806. CONFIG_CPU_THERMAL=y \
  807. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  808. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  809. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  810. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  811. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  812. CONFIG_THERMAL_GOV_STEP_WISE=y \
  813. CONFIG_THERMAL_GOV_USER_SPACE=n \
  814. CONFIG_THERMAL_HWMON=y \
  815. CONFIG_THERMAL_EMULATION=n
  816. FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
  817. AUTOLOAD:=$(call AutoProbe,thermal_sys)
  818. endef
  819. define KernelPackage/thermal/description
  820. Generic Thermal Sysfs driver offers a generic mechanism for thermal
  821. management. Usually it's made up of one or more thermal zone and cooling
  822. device.
  823. endef
  824. $(eval $(call KernelPackage,thermal))
  825. define KernelPackage/gpio-beeper
  826. SUBMENU:=$(OTHER_MENU)
  827. TITLE:=GPIO beeper support
  828. DEPENDS:=+kmod-input-core
  829. KCONFIG:= \
  830. CONFIG_INPUT_MISC=y \
  831. CONFIG_INPUT_GPIO_BEEPER
  832. FILES:= \
  833. $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
  834. AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
  835. endef
  836. define KernelPackage/gpio-beeper/description
  837. This enables playing beeps through an GPIO-connected buzzer
  838. endef
  839. $(eval $(call KernelPackage,gpio-beeper))
  840. define KernelPackage/echo
  841. SUBMENU:=$(OTHER_MENU)
  842. TITLE:=Line Echo Canceller
  843. KCONFIG:=CONFIG_ECHO
  844. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  845. AUTOLOAD:=$(call AutoLoad,50,echo)
  846. endef
  847. define KernelPackage/echo/description
  848. This driver provides line echo cancelling support for mISDN and
  849. DAHDI drivers
  850. endef
  851. $(eval $(call KernelPackage,echo))
  852. define KernelPackage/bmp085
  853. SUBMENU:=$(OTHER_MENU)
  854. TITLE:=BMP085/BMP18x pressure sensor
  855. DEPENDS:= +kmod-regmap-core
  856. KCONFIG:= CONFIG_BMP085
  857. FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
  858. endef
  859. define KernelPackage/bmp085/description
  860. This driver adds support for Bosch Sensortec's digital pressure
  861. sensors BMP085 and BMP18x.
  862. endef
  863. $(eval $(call KernelPackage,bmp085))
  864. define KernelPackage/bmp085-i2c
  865. SUBMENU:=$(OTHER_MENU)
  866. TITLE:=BMP085/BMP18x pressure sensor I2C
  867. DEPENDS:= +kmod-bmp085
  868. KCONFIG:= CONFIG_BMP085_I2C
  869. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-i2c.ko
  870. AUTOLOAD:=$(call AutoProbe,bmp085-i2c)
  871. endef
  872. define KernelPackage/bmp085-i2c/description
  873. This driver adds support for Bosch Sensortec's digital pressure
  874. sensor connected via I2C.
  875. endef
  876. $(eval $(call KernelPackage,bmp085-i2c))
  877. define KernelPackage/bmp085-spi
  878. SUBMENU:=$(OTHER_MENU)
  879. TITLE:=BMP085/BMP18x pressure sensor SPI
  880. DEPENDS:= +kmod-bmp085
  881. KCONFIG:= CONFIG_BMP085_SPI
  882. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
  883. AUTOLOAD:=$(call AutoProbe,bmp085-spi)
  884. endef
  885. define KernelPackage/bmp085-spi/description
  886. This driver adds support for Bosch Sensortec's digital pressure
  887. sensor connected via SPI.
  888. endef
  889. $(eval $(call KernelPackage,bmp085-spi))
  890. define KernelPackage/tpm
  891. SUBMENU:=$(OTHER_MENU)
  892. TITLE:=TPM Hardware Support
  893. DEPENDS:= +!LINUX_4_14:kmod-random-core
  894. KCONFIG:= CONFIG_TCG_TPM
  895. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  896. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  897. endef
  898. define KernelPackage/tpm/description
  899. This enables TPM Hardware Support.
  900. endef
  901. $(eval $(call KernelPackage,tpm))
  902. define KernelPackage/tpm-tis
  903. SUBMENU:=$(OTHER_MENU)
  904. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  905. DEPENDS:= @TARGET_x86 +kmod-tpm
  906. KCONFIG:= CONFIG_TCG_TIS
  907. FILES:= \
  908. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  909. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  910. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  911. endef
  912. define KernelPackage/tpm-tis/description
  913. If you have a TPM security chip that is compliant with the
  914. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  915. specification (TPM2.0) say Yes and it will be accessible from
  916. within Linux.
  917. endef
  918. $(eval $(call KernelPackage,tpm-tis))
  919. define KernelPackage/tpm-i2c-atmel
  920. SUBMENU:=$(OTHER_MENU)
  921. TITLE:=TPM I2C Atmel Support
  922. DEPENDS:= +kmod-tpm +kmod-i2c-core
  923. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  924. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  925. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  926. endef
  927. define KernelPackage/tpm-i2c-atmel/description
  928. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  929. endef
  930. $(eval $(call KernelPackage,tpm-i2c-atmel))
  931. define KernelPackage/tpm-i2c-infineon
  932. SUBMENU:=$(OTHER_MENU)
  933. TITLE:= TPM I2C Infineon driver
  934. DEPENDS:= +kmod-tpm +kmod-i2c-core
  935. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  936. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  937. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  938. endef
  939. define KernelPackage/tpm-i2c-infineon/description
  940. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  941. endef
  942. $(eval $(call KernelPackage,tpm-i2c-infineon))
  943. define KernelPackage/w83627hf-wdt
  944. SUBMENU:=$(OTHER_MENU)
  945. TITLE:=Winbond 83627HF Watchdog Timer
  946. KCONFIG:=CONFIG_W83627HF_WDT
  947. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko
  948. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  949. endef
  950. define KernelPackage/w83627hf-wdt/description
  951. Kernel module for Winbond 83627HF Watchdog Timer
  952. endef
  953. $(eval $(call KernelPackage,w83627hf-wdt))
  954. define KernelPackage/itco-wdt
  955. SUBMENU:=$(OTHER_MENU)
  956. TITLE:=Intel iTCO Watchdog Timer
  957. KCONFIG:=CONFIG_ITCO_WDT \
  958. CONFIG_ITCO_VENDOR_SUPPORT=y
  959. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
  960. $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
  961. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  962. endef
  963. define KernelPackage/itco-wdt/description
  964. Kernel module for Intel iTCO Watchdog Timer
  965. endef
  966. $(eval $(call KernelPackage,itco-wdt))
  967. define KernelPackage/it87-wdt
  968. SUBMENU:=$(OTHER_MENU)
  969. TITLE:=ITE IT87 Watchdog Timer
  970. KCONFIG:=CONFIG_IT87_WDT
  971. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/it87_wdt.ko
  972. AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
  973. MODPARAMS.it87-wdt:= \
  974. nogameport=1 \
  975. nocir=1
  976. endef
  977. define KernelPackage/it87-wdt/description
  978. Kernel module for ITE IT87 Watchdog Timer
  979. endef
  980. $(eval $(call KernelPackage,it87-wdt))