other.mk 31 KB

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