2
0

other.mk 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127
  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/dma-buf
  23. SUBMENU:=$(OTHER_MENU)
  24. TITLE:=DMA shared buffer support
  25. HIDDEN:=1
  26. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  27. ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
  28. ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
  29. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  30. endif
  31. endif
  32. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  33. endef
  34. $(eval $(call KernelPackage,dma-buf))
  35. define KernelPackage/eeprom-93cx6
  36. SUBMENU:=$(OTHER_MENU)
  37. TITLE:=EEPROM 93CX6 support
  38. KCONFIG:=CONFIG_EEPROM_93CX6
  39. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  40. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  41. endef
  42. define KernelPackage/eeprom-93cx6/description
  43. Kernel module for EEPROM 93CX6 support
  44. endef
  45. $(eval $(call KernelPackage,eeprom-93cx6))
  46. define KernelPackage/eeprom-at24
  47. SUBMENU:=$(OTHER_MENU)
  48. TITLE:=EEPROM AT24 support
  49. KCONFIG:=CONFIG_EEPROM_AT24
  50. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c
  51. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  52. AUTOLOAD:=$(call AutoProbe,at24)
  53. endef
  54. define KernelPackage/eeprom-at24/description
  55. Kernel module for most I2C EEPROMs
  56. endef
  57. $(eval $(call KernelPackage,eeprom-at24))
  58. define KernelPackage/eeprom-at25
  59. SUBMENU:=$(OTHER_MENU)
  60. TITLE:=EEPROM AT25 support
  61. KCONFIG:=CONFIG_EEPROM_AT25
  62. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  63. AUTOLOAD:=$(call AutoProbe,at25)
  64. endef
  65. define KernelPackage/eeprom-at25/description
  66. Kernel module for most SPI EEPROMs
  67. endef
  68. $(eval $(call KernelPackage,eeprom-at25))
  69. define KernelPackage/google-firmware
  70. SUBMENU:=$(OTHER_MENU)
  71. TITLE:=Google firmware drivers (Coreboot, VPD, Memconsole)
  72. KCONFIG:= \
  73. CONFIG_GOOGLE_FIRMWARE=y \
  74. CONFIG_GOOGLE_COREBOOT_TABLE \
  75. CONFIG_GOOGLE_MEMCONSOLE \
  76. CONFIG_GOOGLE_MEMCONSOLE_COREBOOT \
  77. CONFIG_GOOGLE_VPD
  78. FILES:= \
  79. $(LINUX_DIR)/drivers/firmware/google/coreboot_table.ko \
  80. $(LINUX_DIR)/drivers/firmware/google/memconsole.ko \
  81. $(LINUX_DIR)/drivers/firmware/google/memconsole-coreboot.ko \
  82. $(LINUX_DIR)/drivers/firmware/google/vpd-sysfs.ko
  83. AUTOLOAD:=$(call AutoProbe,coreboot_table memconsole-coreboot vpd-sysfs)
  84. endef
  85. define KernelPackage/google-firmware/description
  86. Kernel modules for Google firmware drivers. Useful for examining firmware and
  87. boot details on devices using a Google bootloader based on Coreboot. Provides
  88. files like /sys/firmware/log and /sys/firmware/vpd.
  89. endef
  90. $(eval $(call KernelPackage,google-firmware))
  91. define KernelPackage/lkdtm
  92. SUBMENU:=$(OTHER_MENU)
  93. TITLE:=Linux Kernel Dump Test Tool Module
  94. KCONFIG:=CONFIG_LKDTM
  95. FILES:=$(LINUX_DIR)/drivers/misc/lkdtm/lkdtm.ko
  96. AUTOLOAD:=$(call AutoProbe,lkdtm)
  97. endef
  98. define KernelPackage/lkdtm/description
  99. This module enables testing of the different dumping mechanisms by inducing
  100. system failures at predefined crash points.
  101. endef
  102. $(eval $(call KernelPackage,lkdtm))
  103. define KernelPackage/mlx_wdt
  104. SUBMENU:=$(OTHER_MENU)
  105. TITLE:=Mellanox Watchdog
  106. DEPENDS:=@TARGET_x86 +kmod-regmap-core
  107. KCONFIG:= \
  108. CONFIG_MELLANOX_PLATFORM=y \
  109. CONFIG_MLX_WDT
  110. FILES:=$(LINUX_DIR)/drivers/watchdog/mlx_wdt.ko
  111. AUTOLOAD:=$(call AutoProbe,mlx_wdt)
  112. endef
  113. define KernelPackage/mlx_wdt/description
  114. This is the driver for the hardware watchdog on Mellanox systems.
  115. This driver can be used together with the watchdog daemon.
  116. It can also watch your kernel to make sure it doesn't freeze,
  117. and if it does, it reboots your system after a certain amount of
  118. time.
  119. endef
  120. $(eval $(call KernelPackage,mlx_wdt))
  121. define KernelPackage/mlxreg
  122. SUBMENU:=$(OTHER_MENU)
  123. TITLE:=Mellanox platform register access
  124. DEPENDS:=@TARGET_x86 \
  125. +kmod-i2c-mux-mlxcpld \
  126. +kmod-i2c-mux-reg
  127. KCONFIG:= \
  128. CONFIG_MELLANOX_PLATFORM=y \
  129. CONFIG_MLX_PLATFORM \
  130. CONFIG_MLXREG_HOTPLUG \
  131. CONFIG_MLXREG_IO \
  132. CONFIG_SENSORS_MLXREG_FAN \
  133. CONFIG_LEDS_MLXREG
  134. FILES:= \
  135. $(LINUX_DIR)/drivers/platform/x86/[email protected] \
  136. $(LINUX_DIR)/drivers/platform/mellanox/[email protected] \
  137. $(LINUX_DIR)/drivers/platform/mellanox/mlxreg-hotplug.ko \
  138. $(LINUX_DIR)/drivers/platform/mellanox/mlxreg-io.ko \
  139. $(LINUX_DIR)/drivers/hwmon/mlxreg-fan.ko \
  140. $(LINUX_DIR)/drivers/leds/leds-mlxreg.ko
  141. AUTOLOAD:=$(call AutoProbe,mlx-platform mlxreg-hotplug mlxreg-io mlxreg-fan leds-mlxreg)
  142. endef
  143. define KernelPackage/mlxreg/description
  144. Allows access to Mellanox programmable device register
  145. space through sysfs interface. The sets of registers for sysfs access
  146. are defined per system type bases and include the registers related
  147. to system resets operation, system reset causes monitoring and some
  148. kinds of mux selection.
  149. endef
  150. $(eval $(call KernelPackage,mlxreg))
  151. define KernelPackage/mlxreg-lc
  152. SUBMENU:=$(OTHER_MENU)
  153. TITLE:=Mellanox line card platform support
  154. DEPENDS:=kmod-mlxreg +kmod-regmap-i2c
  155. KCONFIG:=CONFIG_MLXREG_LC
  156. FILES:=$(LINUX_DIR)/drivers/platform/mellanox/mlxreg-lc.ko
  157. AUTOLOAD:=$(call AutoProbe,mlxreg-lc)
  158. endef
  159. define KernelPackage/mlxreg-lc/description
  160. Provides support for the Mellanox MSN4800-XX line cards,
  161. which are the part of MSN4800 Ethernet modular switch systems.
  162. endef
  163. $(eval $(call KernelPackage,mlxreg-lc))
  164. define KernelPackage/mlxreg-sn2201
  165. SUBMENU:=$(OTHER_MENU)
  166. TITLE:=Nvidia SN2201 platform support
  167. DEPENDS:=kmod-mlxreg +kmod-regmap-i2c
  168. KCONFIG:=CONFIG_NVSW_SN2201
  169. FILES:=$(LINUX_DIR)/drivers/platform/mellanox/nvsw-sn2201.ko
  170. AUTOLOAD:=$(call AutoProbe,nvsw-sn2201)
  171. endef
  172. define KernelPackage/mlxreg-sn2201/description
  173. Provides support for the Nvidia SN2201 platform.
  174. endef
  175. $(eval $(call KernelPackage,mlxreg-sn2201))
  176. define KernelPackage/pinctrl-mcp23s08
  177. SUBMENU:=$(OTHER_MENU)
  178. TITLE:=Microchip MCP23xxx I/O expander
  179. HIDDEN:=1
  180. DEPENDS:=@GPIO_SUPPORT @PINCTRL_SUPPORT +kmod-regmap-core
  181. KCONFIG:=CONFIG_PINCTRL_MCP23S08
  182. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
  183. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
  184. endef
  185. define KernelPackage/pinctrl-mcp23s08/description
  186. Kernel module for Microchip MCP23xxx I/O expander
  187. endef
  188. $(eval $(call KernelPackage,pinctrl-mcp23s08))
  189. define KernelPackage/pinctrl-mcp23s08-i2c
  190. SUBMENU:=$(OTHER_MENU)
  191. TITLE:=Microchip MCP23xxx I/O expander (I2C)
  192. DEPENDS:=@GPIO_SUPPORT \
  193. +kmod-pinctrl-mcp23s08 \
  194. +kmod-i2c-core \
  195. +kmod-regmap-i2c
  196. KCONFIG:=CONFIG_PINCTRL_MCP23S08_I2C
  197. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_i2c.ko
  198. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-i2c)
  199. endef
  200. define KernelPackage/pinctrl-mcp23s08-i2c/description
  201. Kernel module for Microchip MCP23xxx I/O expander via I2C
  202. endef
  203. $(eval $(call KernelPackage,pinctrl-mcp23s08-i2c))
  204. define KernelPackage/pinctrl-mcp23s08-spi
  205. SUBMENU:=$(OTHER_MENU)
  206. TITLE:=Microchip MCP23xxx I/O expander (SPI)
  207. DEPENDS:=@GPIO_SUPPORT +kmod-pinctrl-mcp23s08
  208. KCONFIG:=CONFIG_PINCTRL_MCP23S08_SPI
  209. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_spi.ko
  210. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-spi)
  211. endef
  212. define KernelPackage/pinctrl-mcp23s08-spi/description
  213. Kernel module for Microchip MCP23xxx I/O expander via SPI
  214. endef
  215. $(eval $(call KernelPackage,pinctrl-mcp23s08-spi))
  216. define KernelPackage/ppdev
  217. SUBMENU:=$(OTHER_MENU)
  218. TITLE:=Parallel port support
  219. KCONFIG:= \
  220. CONFIG_PARPORT \
  221. CONFIG_PPDEV
  222. FILES:= \
  223. $(LINUX_DIR)/drivers/parport/parport.ko \
  224. $(LINUX_DIR)/drivers/char/ppdev.ko
  225. AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
  226. endef
  227. $(eval $(call KernelPackage,ppdev))
  228. define KernelPackage/parport-pc
  229. SUBMENU:=$(OTHER_MENU)
  230. TITLE:=Parallel port interface (PC-style) support
  231. DEPENDS:=+kmod-ppdev
  232. KCONFIG:= \
  233. CONFIG_KS0108=n \
  234. CONFIG_PARPORT_PC \
  235. CONFIG_PARPORT_1284=y \
  236. CONFIG_PARPORT_PC_FIFO=y \
  237. CONFIG_PARPORT_PC_PCMCIA=n \
  238. CONFIG_PARPORT_PC_SUPERIO=y \
  239. CONFIG_PARPORT_SERIAL=n \
  240. CONFIG_PARIDE=n \
  241. CONFIG_SCSI_IMM=n \
  242. CONFIG_SCSI_PPA=n
  243. FILES:= \
  244. $(LINUX_DIR)/drivers/parport/parport_pc.ko
  245. AUTOLOAD:=$(call AutoLoad,51,parport_pc)
  246. endef
  247. $(eval $(call KernelPackage,parport-pc))
  248. define KernelPackage/lp
  249. SUBMENU:=$(OTHER_MENU)
  250. TITLE:=Parallel port line printer device support
  251. DEPENDS:=+kmod-ppdev
  252. KCONFIG:= \
  253. CONFIG_PRINTER
  254. FILES:= \
  255. $(LINUX_DIR)/drivers/char/lp.ko
  256. AUTOLOAD:=$(call AutoLoad,52,lp)
  257. endef
  258. $(eval $(call KernelPackage,lp))
  259. define KernelPackage/mmc
  260. SUBMENU:=$(OTHER_MENU)
  261. TITLE:=MMC/SD Card Support
  262. DEPENDS:=@!TARGET_uml
  263. KCONFIG:= \
  264. CONFIG_MMC \
  265. CONFIG_MMC_BLOCK \
  266. CONFIG_MMC_DEBUG=n \
  267. CONFIG_MMC_UNSAFE_RESUME=n \
  268. CONFIG_MMC_TIFM_SD=n \
  269. CONFIG_MMC_WBSD=n \
  270. CONFIG_SDIO_UART=n
  271. FILES:= \
  272. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  273. $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
  274. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  275. endef
  276. define KernelPackage/mmc/description
  277. Kernel support for MMC/SD cards
  278. endef
  279. $(eval $(call KernelPackage,mmc))
  280. define KernelPackage/sdhci
  281. SUBMENU:=$(OTHER_MENU)
  282. TITLE:=Secure Digital Host Controller Interface support
  283. DEPENDS:=+kmod-mmc
  284. KCONFIG:= \
  285. CONFIG_MMC_SDHCI \
  286. CONFIG_MMC_SDHCI_PLTFM \
  287. CONFIG_MMC_SDHCI_PCI=n
  288. FILES:= \
  289. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  290. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  291. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  292. endef
  293. define KernelPackage/sdhci/description
  294. Kernel support for SDHCI Hosts
  295. endef
  296. $(eval $(call KernelPackage,sdhci))
  297. define KernelPackage/rfkill
  298. SUBMENU:=$(OTHER_MENU)
  299. TITLE:=RF switch subsystem support
  300. DEPENDS:=@USE_RFKILL +kmod-input-core
  301. KCONFIG:= \
  302. CONFIG_RFKILL_FULL \
  303. CONFIG_RFKILL_INPUT=y \
  304. CONFIG_RFKILL_LEDS=y
  305. FILES:= \
  306. $(LINUX_DIR)/net/rfkill/rfkill.ko
  307. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  308. endef
  309. define KernelPackage/rfkill/description
  310. Say Y here if you want to have control over RF switches
  311. found on many WiFi and Bluetooth cards
  312. endef
  313. $(eval $(call KernelPackage,rfkill))
  314. define KernelPackage/softdog
  315. SUBMENU:=$(OTHER_MENU)
  316. TITLE:=Software watchdog driver
  317. KCONFIG:=CONFIG_SOFT_WATCHDOG \
  318. CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
  319. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  320. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  321. endef
  322. define KernelPackage/softdog/description
  323. Software watchdog driver
  324. endef
  325. $(eval $(call KernelPackage,softdog))
  326. define KernelPackage/ssb
  327. SUBMENU:=$(OTHER_MENU)
  328. TITLE:=Silicon Sonics Backplane glue code
  329. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
  330. KCONFIG:=\
  331. CONFIG_SSB \
  332. CONFIG_SSB_B43_PCI_BRIDGE=y \
  333. CONFIG_SSB_DRIVER_MIPS=n \
  334. CONFIG_SSB_DRIVER_PCICORE=y \
  335. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  336. CONFIG_SSB_FALLBACK_SPROM=y \
  337. CONFIG_SSB_PCIHOST=y \
  338. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  339. CONFIG_SSB_POSSIBLE=y \
  340. CONFIG_SSB_SPROM=y \
  341. CONFIG_SSB_SILENT=y
  342. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  343. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  344. endef
  345. define KernelPackage/ssb/description
  346. Silicon Sonics Backplane glue code.
  347. endef
  348. $(eval $(call KernelPackage,ssb))
  349. define KernelPackage/bcma
  350. SUBMENU:=$(OTHER_MENU)
  351. TITLE:=BCMA support
  352. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
  353. KCONFIG:=\
  354. CONFIG_BCMA \
  355. CONFIG_BCMA_POSSIBLE=y \
  356. CONFIG_BCMA_BLOCKIO=y \
  357. CONFIG_BCMA_FALLBACK_SPROM=y \
  358. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  359. CONFIG_BCMA_HOST_PCI=y \
  360. CONFIG_BCMA_HOST_SOC=n \
  361. CONFIG_BCMA_DRIVER_MIPS=n \
  362. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  363. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  364. CONFIG_BCMA_DEBUG=n
  365. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  366. AUTOLOAD:=$(call AutoLoad,29,bcma)
  367. endef
  368. define KernelPackage/bcma/description
  369. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  370. endef
  371. $(eval $(call KernelPackage,bcma))
  372. define KernelPackage/mfd
  373. SUBMENU:=$(OTHER_MENU)
  374. TITLE:=Multifunction device drivers
  375. HIDDEN:=1
  376. KCONFIG:=CONFIG_MFD_CORE
  377. FILES:=$(LINUX_DIR)/drivers/mfd/mfd-core.ko
  378. AUTOLOAD:=$(call AutoLoad,10,mfd-core)
  379. endef
  380. $(eval $(call KernelPackage,mfd))
  381. define KernelPackage/mtdtests
  382. SUBMENU:=$(OTHER_MENU)
  383. TITLE:=MTD subsystem tests
  384. KCONFIG:=CONFIG_MTD_TESTS
  385. FILES:=\
  386. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandbiterrs.ko \
  387. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  388. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  389. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  390. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  391. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  392. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  393. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  394. $(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko \
  395. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  396. endef
  397. define KernelPackage/mtdtests/description
  398. Kernel modules for MTD subsystem/driver testing
  399. endef
  400. $(eval $(call KernelPackage,mtdtests))
  401. define KernelPackage/mtdoops
  402. SUBMENU:=$(OTHER_MENU)
  403. TITLE:=Log panic/oops to an MTD buffer
  404. KCONFIG:=CONFIG_MTD_OOPS
  405. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  406. endef
  407. define KernelPackage/mtdoops/description
  408. Kernel modules for Log panic/oops to an MTD buffer
  409. endef
  410. $(eval $(call KernelPackage,mtdoops))
  411. define KernelPackage/mtdram
  412. SUBMENU:=$(OTHER_MENU)
  413. TITLE:=Test MTD driver using RAM
  414. KCONFIG:=CONFIG_MTD_MTDRAM \
  415. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  416. CONFIG_MTDRAM_ERASE_SIZE=128
  417. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  418. endef
  419. define KernelPackage/mtdram/description
  420. Test MTD driver using RAM
  421. endef
  422. $(eval $(call KernelPackage,mtdram))
  423. define KernelPackage/ramoops
  424. SUBMENU:=$(OTHER_MENU)
  425. TITLE:=Ramoops (pstore-ram)
  426. DEFAULT:=m if ALL_KMODS
  427. KCONFIG:=CONFIG_PSTORE_RAM \
  428. CONFIG_PSTORE_CONSOLE=y
  429. DEPENDS:=+kmod-pstore +kmod-reed-solomon
  430. FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
  431. AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
  432. endef
  433. define KernelPackage/ramoops/description
  434. Kernel module for pstore-ram (ramoops) crash log storage
  435. endef
  436. $(eval $(call KernelPackage,ramoops))
  437. define KernelPackage/reed-solomon
  438. SUBMENU:=$(OTHER_MENU)
  439. TITLE:=Reed-Solomon error correction
  440. DEFAULT:=m if ALL_KMODS
  441. KCONFIG:=CONFIG_REED_SOLOMON \
  442. CONFIG_REED_SOLOMON_DEC8=y \
  443. CONFIG_REED_SOLOMON_ENC8=y
  444. FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
  445. AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
  446. endef
  447. define KernelPackage/reed-solomon/description
  448. Kernel module for Reed-Solomon error correction
  449. endef
  450. $(eval $(call KernelPackage,reed-solomon))
  451. define KernelPackage/serial-8250
  452. SUBMENU:=$(OTHER_MENU)
  453. TITLE:=8250 UARTs
  454. DEPENDS:=@!TARGET_uml
  455. KCONFIG:= CONFIG_SERIAL_8250 \
  456. CONFIG_SERIAL_8250_PCI \
  457. CONFIG_SERIAL_8250_EXTENDED=y \
  458. CONFIG_SERIAL_8250_MANY_PORTS=y \
  459. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  460. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  461. CONFIG_SERIAL_8250_RSA=n
  462. FILES:= \
  463. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  464. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  465. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
  466. $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
  467. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  468. endef
  469. define KernelPackage/serial-8250/description
  470. Kernel module for 8250 UART based serial ports
  471. endef
  472. define KernelPackage/serial-8250/config
  473. menu "Configuration"
  474. depends on PACKAGE_kmod-serial-8250
  475. config KERNEL_SERIAL_8250_NR_UARTS
  476. int "Maximum number of 8250/16550 serial ports"
  477. default "16"
  478. help
  479. Set this to the number of serial ports you want the driver
  480. to support. This includes any ports discovered via ACPI or
  481. PCI enumeration and any ports that may be added at run-time
  482. via hot-plug, or any ISA multi-port serial cards.
  483. config KERNEL_SERIAL_8250_RUNTIME_UARTS
  484. int "Number of 8250/16550 serial ports to register at runtime"
  485. range 0 KERNEL_SERIAL_8250_NR_UARTS
  486. default "16"
  487. help
  488. Set this to the maximum number of serial ports you want
  489. the kernel to register at boot time. This can be overridden
  490. with the module parameter "nr_uarts", or boot-time parameter
  491. 8250.nr_uarts
  492. endmenu
  493. endef
  494. $(eval $(call KernelPackage,serial-8250))
  495. define KernelPackage/serial-8250-exar
  496. SUBMENU:=$(OTHER_MENU)
  497. TITLE:=Exar 8250 UARTs
  498. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  499. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  500. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  501. DEPENDS:=@PCI_SUPPORT +kmod-serial-8250 +!LINUX_6_12:kmod-eeprom-93cx6
  502. endef
  503. define KernelPackage/serial-8250-exar/description
  504. Kernel module for Exar serial ports
  505. endef
  506. $(eval $(call KernelPackage,serial-8250-exar))
  507. define KernelPackage/regmap-core
  508. SUBMENU:=$(OTHER_MENU)
  509. TITLE:=Generic register map support
  510. HIDDEN:=1
  511. KCONFIG:=CONFIG_REGMAP
  512. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  513. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  514. endif
  515. endef
  516. define KernelPackage/regmap-core/description
  517. Generic register map support
  518. endef
  519. $(eval $(call KernelPackage,regmap-core))
  520. define KernelPackage/regmap-spi
  521. SUBMENU:=$(OTHER_MENU)
  522. TITLE:=SPI register map support
  523. DEPENDS:=+kmod-regmap-core @!TARGET_uml
  524. HIDDEN:=1
  525. KCONFIG:=CONFIG_REGMAP_SPI \
  526. CONFIG_SPI=y
  527. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  528. endef
  529. define KernelPackage/regmap-spi/description
  530. SPI register map support
  531. endef
  532. $(eval $(call KernelPackage,regmap-spi))
  533. define KernelPackage/regmap-i2c
  534. SUBMENU:=$(OTHER_MENU)
  535. TITLE:=I2C register map support
  536. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  537. HIDDEN:=1
  538. KCONFIG:=CONFIG_REGMAP_I2C
  539. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  540. endef
  541. define KernelPackage/regmap-i2c/description
  542. I2C register map support
  543. endef
  544. $(eval $(call KernelPackage,regmap-i2c))
  545. define KernelPackage/regmap-mmio
  546. SUBMENU:=$(OTHER_MENU)
  547. TITLE:=MMIO register map support
  548. DEPENDS:=+kmod-regmap-core
  549. HIDDEN:=1
  550. KCONFIG:=CONFIG_REGMAP_MMIO
  551. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  552. endef
  553. define KernelPackage/regmap-mmio/description
  554. MMIO register map support
  555. endef
  556. $(eval $(call KernelPackage,regmap-mmio))
  557. define KernelPackage/ikconfig
  558. SUBMENU:=$(OTHER_MENU)
  559. TITLE:=Kernel configuration via /proc/config.gz
  560. KCONFIG:=CONFIG_IKCONFIG \
  561. CONFIG_IKCONFIG_PROC=y
  562. FILES:=$(LINUX_DIR)/kernel/configs.ko
  563. AUTOLOAD:=$(call AutoLoad,70,configs)
  564. endef
  565. define KernelPackage/ikconfig/description
  566. Kernel configuration via /proc/config.gz
  567. endef
  568. $(eval $(call KernelPackage,ikconfig))
  569. define KernelPackage/zram
  570. SUBMENU:=$(OTHER_MENU)
  571. DEPENDS:= \
  572. +(KERNEL_ZRAM_BACKEND_LZO||KERNEL_ZRAM_DEF_COMP_LZORLE||KERNEL_ZRAM_DEF_COMP_LZO):kmod-lib-lzo \
  573. +(KERNEL_ZRAM_BACKEND_LZ4||KERNEL_ZRAM_DEF_COMP_LZ4):kmod-lib-lz4 \
  574. +(KERNEL_ZRAM_BACKEND_LZ4HC||KERNEL_ZRAM_DEF_COMP_LZ4HC):kmod-lib-lz4hc \
  575. +(KERNEL_ZRAM_BACKEND_ZSTD||KERNEL_ZRAM_DEF_COMP_ZSTD):kmod-lib-zstd
  576. TITLE:=ZRAM
  577. KCONFIG:= \
  578. CONFIG_ZSMALLOC \
  579. CONFIG_ZRAM \
  580. CONFIG_ZRAM_DEBUG=n \
  581. CONFIG_ZRAM_WRITEBACK=n \
  582. CONFIG_ZSMALLOC_STAT=n
  583. FILES:= \
  584. $(LINUX_DIR)/mm/zsmalloc.ko \
  585. $(LINUX_DIR)/drivers/block/zram/zram.ko
  586. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  587. endef
  588. define KernelPackage/zram/description
  589. Compressed RAM block device support
  590. endef
  591. define KernelPackage/zram/config
  592. if PACKAGE_kmod-zram
  593. config KERNEL_ZRAM_BACKEND_LZO
  594. bool "lzo and lzo-rle compression support"
  595. config KERNEL_ZRAM_BACKEND_LZ4
  596. bool "lz4 compression support"
  597. config KERNEL_ZRAM_BACKEND_LZ4HC
  598. bool "lz4hc compression support"
  599. config KERNEL_ZRAM_BACKEND_ZSTD
  600. bool "zstd compression support"
  601. config KERNEL_ZRAM_BACKEND_FORCE_LZO
  602. def_bool !KERNEL_ZRAM_BACKEND_LZ4 && \
  603. !KERNEL_ZRAM_BACKEND_LZ4HC && \
  604. !KERNEL_ZRAM_BACKEND_ZSTD
  605. select KERNEL_ZRAM_BACKEND_LZO
  606. choice
  607. prompt "ZRAM Default compressor"
  608. default KERNEL_ZRAM_DEF_COMP_LZORLE
  609. config KERNEL_ZRAM_DEF_COMP_LZORLE
  610. bool "lzo-rle"
  611. depends on KERNEL_ZRAM_BACKEND_LZO
  612. config KERNEL_ZRAM_DEF_COMP_LZO
  613. bool "lzo"
  614. depends on KERNEL_ZRAM_BACKEND_LZO
  615. config KERNEL_ZRAM_DEF_COMP_LZ4
  616. bool "lz4"
  617. depends on KERNEL_ZRAM_BACKEND_LZ4
  618. config KERNEL_ZRAM_DEF_COMP_LZ4HC
  619. bool "lz4-hc"
  620. depends on KERNEL_ZRAM_BACKEND_LZ4HC
  621. config KERNEL_ZRAM_DEF_COMP_ZSTD
  622. bool "zstd"
  623. depends on KERNEL_ZRAM_BACKEND_ZSTD
  624. endchoice
  625. endif
  626. endef
  627. $(eval $(call KernelPackage,zram))
  628. define KernelPackage/pps
  629. SUBMENU:=$(OTHER_MENU)
  630. TITLE:=PPS support
  631. KCONFIG:=CONFIG_PPS
  632. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  633. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  634. endef
  635. define KernelPackage/pps/description
  636. PPS (Pulse Per Second) is a special pulse provided by some GPS
  637. antennae. Userland can use it to get a high-precision time
  638. reference.
  639. endef
  640. $(eval $(call KernelPackage,pps))
  641. define KernelPackage/pps-gpio
  642. SUBMENU:=$(OTHER_MENU)
  643. TITLE:=PPS client using GPIO
  644. DEPENDS:=+kmod-pps
  645. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  646. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  647. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  648. endef
  649. define KernelPackage/pps-gpio/description
  650. Support for a PPS source using GPIO. To be useful you must
  651. also register a platform device specifying the GPIO pin and
  652. other options, usually in your board setup.
  653. endef
  654. $(eval $(call KernelPackage,pps-gpio))
  655. define KernelPackage/pps-ldisc
  656. SUBMENU:=$(OTHER_MENU)
  657. TITLE:=PPS line discipline
  658. DEPENDS:=+kmod-pps
  659. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  660. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  661. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  662. endef
  663. define KernelPackage/pps-ldisc/description
  664. Support for a PPS source connected with the CD (Carrier
  665. Detect) pin of your serial port.
  666. endef
  667. $(eval $(call KernelPackage,pps-ldisc))
  668. define KernelPackage/ptp
  669. SUBMENU:=$(OTHER_MENU)
  670. TITLE:=PTP clock support
  671. DEPENDS:=+kmod-pps
  672. KCONFIG:= \
  673. CONFIG_PTP_1588_CLOCK \
  674. CONFIG_PTP_1588_CLOCK_OPTIONAL \
  675. CONFIG_NET_PTP_CLASSIFY=y
  676. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  677. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  678. endef
  679. define KernelPackage/ptp/description
  680. The IEEE 1588 standard defines a method to precisely
  681. synchronize distributed clocks over Ethernet networks.
  682. endef
  683. $(eval $(call KernelPackage,ptp))
  684. define KernelPackage/ptp-qoriq
  685. SUBMENU:=$(OTHER_MENU)
  686. TITLE:=Freescale QorIQ PTP support
  687. DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
  688. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  689. FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
  690. AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
  691. endef
  692. define KernelPackage/ptp-qoriq/description
  693. Kernel module for IEEE 1588 support for Freescale
  694. QorIQ Ethernet drivers
  695. endef
  696. $(eval $(call KernelPackage,ptp-qoriq))
  697. define KernelPackage/random-core
  698. SUBMENU:=$(OTHER_MENU)
  699. TITLE:=Hardware Random Number Generator Core support
  700. KCONFIG:=CONFIG_HW_RANDOM
  701. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  702. endef
  703. define KernelPackage/random-core/description
  704. Kernel module for the HW random number generator core infrastructure
  705. endef
  706. $(eval $(call KernelPackage,random-core))
  707. define KernelPackage/thermal
  708. SUBMENU:=$(OTHER_MENU)
  709. TITLE:=Thermal driver
  710. DEPENDS:=+kmod-hwmon-core
  711. HIDDEN:=1
  712. KCONFIG:= \
  713. CONFIG_THERMAL=y \
  714. CONFIG_THERMAL_OF=y \
  715. CONFIG_CPU_THERMAL=y \
  716. CONFIG_DEVFREQ_THERMAL=n \
  717. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  718. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  719. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  720. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  721. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  722. CONFIG_THERMAL_GOV_STEP_WISE=y \
  723. CONFIG_THERMAL_GOV_USER_SPACE=n \
  724. CONFIG_THERMAL_HWMON=y \
  725. CONFIG_THERMAL_EMULATION=n
  726. endef
  727. define KernelPackage/thermal/description
  728. Thermal driver offers a generic mechanism for thermal management.
  729. Usually it's made up of one or more thermal zone and cooling device.
  730. endef
  731. $(eval $(call KernelPackage,thermal))
  732. define KernelPackage/echo
  733. SUBMENU:=$(OTHER_MENU)
  734. TITLE:=Line Echo Canceller
  735. KCONFIG:=CONFIG_ECHO
  736. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  737. AUTOLOAD:=$(call AutoLoad,50,echo)
  738. endef
  739. define KernelPackage/echo/description
  740. This driver provides line echo cancelling support for mISDN and
  741. DAHDI drivers
  742. endef
  743. $(eval $(call KernelPackage,echo))
  744. define KernelPackage/keys-encrypted
  745. SUBMENU:=$(OTHER_MENU)
  746. TITLE:=encrypted keys on kernel keyring
  747. DEPENDS:=@KERNEL_KEYS +kmod-crypto-cbc +kmod-crypto-hmac +kmod-crypto-rng \
  748. +kmod-crypto-sha256 +kmod-keys-trusted
  749. KCONFIG:=CONFIG_ENCRYPTED_KEYS
  750. FILES:=$(LINUX_DIR)/security/keys/encrypted-keys/encrypted-keys.ko
  751. AUTOLOAD:=$(call AutoLoad,01,encrypted-keys,1)
  752. endef
  753. define KernelPackage/keys-encrypted/description
  754. This module provides support for create/encrypting/decrypting keys
  755. in the kernel. Encrypted keys are kernel generated random numbers,
  756. which are encrypted/decrypted with a 'master' symmetric key. The
  757. 'master' key can be either a trusted-key or user-key type.
  758. Userspace only ever sees/stores encrypted blobs.
  759. endef
  760. $(eval $(call KernelPackage,keys-encrypted))
  761. define KernelPackage/keys-trusted
  762. SUBMENU:=$(OTHER_MENU)
  763. TITLE:=TPM trusted keys on kernel keyring
  764. DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
  765. KCONFIG:=CONFIG_TRUSTED_KEYS
  766. FILES:= $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko
  767. AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
  768. endef
  769. define KernelPackage/keys-trusted/description
  770. This module provides support for creating, sealing, and unsealing
  771. keys in the kernel. Trusted keys are random number symmetric keys,
  772. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  773. if the boot PCRs and other criteria match. Userspace will only ever
  774. see encrypted blobs.
  775. endef
  776. $(eval $(call KernelPackage,keys-trusted))
  777. define KernelPackage/tpm
  778. SUBMENU:=$(OTHER_MENU)
  779. TITLE:=TPM Hardware Support
  780. DEPENDS:= +kmod-random-core
  781. KCONFIG:= CONFIG_TCG_TPM
  782. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  783. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  784. endef
  785. define KernelPackage/tpm/description
  786. This enables TPM Hardware Support.
  787. endef
  788. $(eval $(call KernelPackage,tpm))
  789. define KernelPackage/tpm-tis
  790. SUBMENU:=$(OTHER_MENU)
  791. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  792. DEPENDS:= @(TARGET_x86||TARGET_armsr||TARGET_imx) +kmod-tpm
  793. KCONFIG:= CONFIG_TCG_TIS
  794. FILES:= \
  795. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  796. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  797. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  798. endef
  799. define KernelPackage/tpm-tis/description
  800. If you have a TPM security chip that is compliant with the
  801. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  802. specification (TPM2.0) say Yes and it will be accessible from
  803. within Linux.
  804. endef
  805. $(eval $(call KernelPackage,tpm-tis))
  806. define KernelPackage/tpm-tis-spi
  807. SUBMENU:=$(OTHER_MENU)
  808. TITLE:=TPM TIS 1.3 Interface SPI Interface
  809. DEPENDS:= +kmod-tpm-tis +kmod-spi-dev
  810. KCONFIG:= CONFIG_TCG_TIS_SPI \
  811. CONFIG_TCG_TIS_SPI_CR50=n
  812. FILES:= \
  813. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_spi.ko
  814. AUTOLOAD:=$(call AutoLoad,20,tpm_tis_spi,1)
  815. endef
  816. define KernelPackage/tpm-tis-spi/description
  817. If you have a TPM security chip which is connected to a regular,
  818. non-tcg SPI master that is compliant with the
  819. TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO
  820. specification (TPM2.0) say Yes and it will be accessible from
  821. within Linux.
  822. endef
  823. $(eval $(call KernelPackage,tpm-tis-spi))
  824. define KernelPackage/tpm-i2c-atmel
  825. SUBMENU:=$(OTHER_MENU)
  826. TITLE:=TPM I2C Atmel Support
  827. DEPENDS:= +kmod-tpm +kmod-i2c-core
  828. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  829. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  830. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  831. endef
  832. define KernelPackage/tpm-i2c-atmel/description
  833. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  834. endef
  835. $(eval $(call KernelPackage,tpm-i2c-atmel))
  836. define KernelPackage/tpm-i2c-infineon
  837. SUBMENU:=$(OTHER_MENU)
  838. TITLE:= TPM I2C Infineon driver
  839. DEPENDS:= +kmod-tpm +kmod-i2c-core
  840. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  841. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  842. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  843. endef
  844. define KernelPackage/tpm-i2c-infineon/description
  845. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  846. endef
  847. $(eval $(call KernelPackage,tpm-i2c-infineon))
  848. define KernelPackage/i6300esb-wdt
  849. SUBMENU:=$(OTHER_MENU)
  850. TITLE:=Intel 6300ESB Timer/Watchdog
  851. DEPENDS:=@PCI_SUPPORT @!SMALL_FLASH
  852. KCONFIG:=CONFIG_I6300ESB_WDT \
  853. CONFIG_WATCHDOG_CORE=y
  854. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/i6300esb.ko
  855. AUTOLOAD:=$(call AutoLoad,50,i6300esb,1)
  856. endef
  857. define KernelPackage/i6300esb-wdt/description
  858. Kernel module for the watchdog timer built into the Intel
  859. 6300ESB controller hub. Also used by QEMU/libvirt.
  860. endef
  861. $(eval $(call KernelPackage,i6300esb-wdt))
  862. define KernelPackage/mhi-bus
  863. SUBMENU:=$(OTHER_MENU)
  864. TITLE:=MHI bus
  865. KCONFIG:=CONFIG_MHI_BUS \
  866. CONFIG_MHI_BUS_DEBUG=y
  867. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi.ko
  868. AUTOLOAD:=$(call AutoProbe,mhi)
  869. endef
  870. define KernelPackage/mhi-bus/description
  871. Kernel module for the Qualcomm MHI bus.
  872. endef
  873. $(eval $(call KernelPackage,mhi-bus))
  874. define KernelPackage/mhi-pci-generic
  875. SUBMENU:=$(OTHER_MENU)
  876. TITLE:=MHI PCI controller driver
  877. DEPENDS:=@PCI_SUPPORT +kmod-mhi-bus
  878. KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC
  879. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi_pci_generic.ko
  880. AUTOLOAD:=$(call AutoProbe,mhi_pci_generic)
  881. endef
  882. define KernelPackage/mhi-pci-generic/description
  883. Kernel module for the MHI PCI controller driver.
  884. endef
  885. $(eval $(call KernelPackage,mhi-pci-generic))
  886. define KernelPackage/regulator-userspace-consumer
  887. SUBMENU:=$(OTHER_MENU)
  888. TITLE:=Userspace regulator consumer support
  889. KCONFIG:=CONFIG_REGULATOR_USERSPACE_CONSUMER
  890. FILES:=$(LINUX_DIR)/drivers/regulator/userspace-consumer.ko
  891. AUTOLOAD:=$(call AutoLoad,10,userspace-consumer,1)
  892. endef
  893. define KernelPackage/regulator-userspace-consumer/description
  894. There are some classes of devices that are controlled entirely
  895. from user space. Userspace consumer driver provides ability to
  896. control power supplies for such devices.
  897. endef
  898. $(eval $(call KernelPackage,regulator-userspace-consumer))