other.mk 32 KB

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