2
0

other.mk 29 KB

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