other.mk 31 KB

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