other.mk 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105
  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 +kmod-i2c-mux-mlxcpld
  125. KCONFIG:= \
  126. CONFIG_MELLANOX_PLATFORM=y \
  127. CONFIG_MLX_PLATFORM \
  128. CONFIG_MLXREG_HOTPLUG \
  129. CONFIG_MLXREG_IO \
  130. CONFIG_SENSORS_MLXREG_FAN \
  131. CONFIG_LEDS_MLXREG
  132. FILES:= \
  133. $(LINUX_DIR)/drivers/platform/x86/mlx-platform.ko \
  134. $(LINUX_DIR)/drivers/platform/mellanox/mlxreg-hotplug.ko \
  135. $(LINUX_DIR)/drivers/platform/mellanox/mlxreg-io.ko \
  136. $(LINUX_DIR)/drivers/hwmon/mlxreg-fan.ko \
  137. $(LINUX_DIR)/drivers/leds/leds-mlxreg.ko
  138. AUTOLOAD:=$(call AutoProbe,mlx-platform mlxreg-hotplug mlxreg-io mlxreg-fan leds-mlxreg)
  139. endef
  140. define KernelPackage/mlxreg/description
  141. Allows access to Mellanox programmable device register
  142. space through sysfs interface. The sets of registers for sysfs access
  143. are defined per system type bases and include the registers related
  144. to system resets operation, system reset causes monitoring and some
  145. kinds of mux selection.
  146. endef
  147. $(eval $(call KernelPackage,mlxreg))
  148. define KernelPackage/mlxreg-lc
  149. SUBMENU:=$(OTHER_MENU)
  150. TITLE:=Mellanox line card platform support
  151. DEPENDS:=kmod-mlxreg +kmod-regmap-i2c
  152. KCONFIG:=CONFIG_MLXREG_LC
  153. FILES:=$(LINUX_DIR)/drivers/platform/mellanox/mlxreg-lc.ko
  154. AUTOLOAD:=$(call AutoProbe,mlxreg-lc)
  155. endef
  156. define KernelPackage/mlxreg-lc/description
  157. Provides support for the Mellanox MSN4800-XX line cards,
  158. which are the part of MSN4800 Ethernet modular switch systems.
  159. endef
  160. $(eval $(call KernelPackage,mlxreg-lc))
  161. define KernelPackage/mlxreg-sn2201
  162. SUBMENU:=$(OTHER_MENU)
  163. TITLE:=Nvidia SN2201 platform support
  164. DEPENDS:=kmod-mlxreg +kmod-regmap-i2c
  165. KCONFIG:=CONFIG_NVSW_SN2201
  166. FILES:=$(LINUX_DIR)/drivers/platform/mellanox/nvsw-sn2201.ko
  167. AUTOLOAD:=$(call AutoProbe,nvsw-sn2201)
  168. endef
  169. define KernelPackage/mlxreg-sn2201/description
  170. Provides support for the Nvidia SN2201 platform.
  171. endef
  172. $(eval $(call KernelPackage,mlxreg-sn2201))
  173. define KernelPackage/pinctrl-mcp23s08
  174. SUBMENU:=$(OTHER_MENU)
  175. TITLE:=Microchip MCP23xxx I/O expander
  176. HIDDEN:=1
  177. DEPENDS:=@GPIO_SUPPORT @PINCTRL_SUPPORT +kmod-regmap-core
  178. KCONFIG:=CONFIG_PINCTRL_MCP23S08
  179. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
  180. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
  181. endef
  182. define KernelPackage/pinctrl-mcp23s08/description
  183. Kernel module for Microchip MCP23xxx I/O expander
  184. endef
  185. $(eval $(call KernelPackage,pinctrl-mcp23s08))
  186. define KernelPackage/pinctrl-mcp23s08-i2c
  187. SUBMENU:=$(OTHER_MENU)
  188. TITLE:=Microchip MCP23xxx I/O expander (I2C)
  189. DEPENDS:=@GPIO_SUPPORT \
  190. +kmod-pinctrl-mcp23s08 \
  191. +kmod-i2c-core \
  192. +kmod-regmap-i2c
  193. KCONFIG:=CONFIG_PINCTRL_MCP23S08_I2C
  194. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_i2c.ko
  195. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-i2c)
  196. endef
  197. define KernelPackage/pinctrl-mcp23s08-i2c/description
  198. Kernel module for Microchip MCP23xxx I/O expander via I2C
  199. endef
  200. $(eval $(call KernelPackage,pinctrl-mcp23s08-i2c))
  201. define KernelPackage/pinctrl-mcp23s08-spi
  202. SUBMENU:=$(OTHER_MENU)
  203. TITLE:=Microchip MCP23xxx I/O expander (SPI)
  204. DEPENDS:=@GPIO_SUPPORT +kmod-pinctrl-mcp23s08
  205. KCONFIG:=CONFIG_PINCTRL_MCP23S08_SPI
  206. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_spi.ko
  207. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-spi)
  208. endef
  209. define KernelPackage/pinctrl-mcp23s08-spi/description
  210. Kernel module for Microchip MCP23xxx I/O expander via SPI
  211. endef
  212. $(eval $(call KernelPackage,pinctrl-mcp23s08-spi))
  213. define KernelPackage/ppdev
  214. SUBMENU:=$(OTHER_MENU)
  215. TITLE:=Parallel port support
  216. KCONFIG:= \
  217. CONFIG_PARPORT \
  218. CONFIG_PPDEV
  219. FILES:= \
  220. $(LINUX_DIR)/drivers/parport/parport.ko \
  221. $(LINUX_DIR)/drivers/char/ppdev.ko
  222. AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
  223. endef
  224. $(eval $(call KernelPackage,ppdev))
  225. define KernelPackage/parport-pc
  226. SUBMENU:=$(OTHER_MENU)
  227. TITLE:=Parallel port interface (PC-style) support
  228. DEPENDS:=+kmod-ppdev
  229. KCONFIG:= \
  230. CONFIG_KS0108=n \
  231. CONFIG_PARPORT_PC \
  232. CONFIG_PARPORT_1284=y \
  233. CONFIG_PARPORT_PC_FIFO=y \
  234. CONFIG_PARPORT_PC_PCMCIA=n \
  235. CONFIG_PARPORT_PC_SUPERIO=y \
  236. CONFIG_PARPORT_SERIAL=n \
  237. CONFIG_PARIDE=n \
  238. CONFIG_SCSI_IMM=n \
  239. CONFIG_SCSI_PPA=n
  240. FILES:= \
  241. $(LINUX_DIR)/drivers/parport/parport_pc.ko
  242. AUTOLOAD:=$(call AutoLoad,51,parport_pc)
  243. endef
  244. $(eval $(call KernelPackage,parport-pc))
  245. define KernelPackage/lp
  246. SUBMENU:=$(OTHER_MENU)
  247. TITLE:=Parallel port line printer device support
  248. DEPENDS:=+kmod-ppdev
  249. KCONFIG:= \
  250. CONFIG_PRINTER
  251. FILES:= \
  252. $(LINUX_DIR)/drivers/char/lp.ko
  253. AUTOLOAD:=$(call AutoLoad,52,lp)
  254. endef
  255. $(eval $(call KernelPackage,lp))
  256. define KernelPackage/mmc
  257. SUBMENU:=$(OTHER_MENU)
  258. TITLE:=MMC/SD Card Support
  259. DEPENDS:=@!TARGET_uml
  260. KCONFIG:= \
  261. CONFIG_MMC \
  262. CONFIG_MMC_BLOCK \
  263. CONFIG_MMC_DEBUG=n \
  264. CONFIG_MMC_UNSAFE_RESUME=n \
  265. CONFIG_MMC_TIFM_SD=n \
  266. CONFIG_MMC_WBSD=n \
  267. CONFIG_SDIO_UART=n
  268. FILES:= \
  269. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  270. $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
  271. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  272. endef
  273. define KernelPackage/mmc/description
  274. Kernel support for MMC/SD cards
  275. endef
  276. $(eval $(call KernelPackage,mmc))
  277. define KernelPackage/sdhci
  278. SUBMENU:=$(OTHER_MENU)
  279. TITLE:=Secure Digital Host Controller Interface support
  280. DEPENDS:=+kmod-mmc
  281. KCONFIG:= \
  282. CONFIG_MMC_SDHCI \
  283. CONFIG_MMC_SDHCI_PLTFM \
  284. CONFIG_MMC_SDHCI_PCI=n
  285. FILES:= \
  286. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  287. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  288. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  289. endef
  290. define KernelPackage/sdhci/description
  291. Kernel support for SDHCI Hosts
  292. endef
  293. $(eval $(call KernelPackage,sdhci))
  294. define KernelPackage/rfkill
  295. SUBMENU:=$(OTHER_MENU)
  296. TITLE:=RF switch subsystem support
  297. DEPENDS:=@USE_RFKILL +kmod-input-core
  298. KCONFIG:= \
  299. CONFIG_RFKILL_FULL \
  300. CONFIG_RFKILL_INPUT=y \
  301. CONFIG_RFKILL_LEDS=y
  302. FILES:= \
  303. $(LINUX_DIR)/net/rfkill/rfkill.ko
  304. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  305. endef
  306. define KernelPackage/rfkill/description
  307. Say Y here if you want to have control over RF switches
  308. found on many WiFi and Bluetooth cards
  309. endef
  310. $(eval $(call KernelPackage,rfkill))
  311. define KernelPackage/softdog
  312. SUBMENU:=$(OTHER_MENU)
  313. TITLE:=Software watchdog driver
  314. KCONFIG:=CONFIG_SOFT_WATCHDOG \
  315. CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
  316. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  317. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  318. endef
  319. define KernelPackage/softdog/description
  320. Software watchdog driver
  321. endef
  322. $(eval $(call KernelPackage,softdog))
  323. define KernelPackage/ssb
  324. SUBMENU:=$(OTHER_MENU)
  325. TITLE:=Silicon Sonics Backplane glue code
  326. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
  327. KCONFIG:=\
  328. CONFIG_SSB \
  329. CONFIG_SSB_B43_PCI_BRIDGE=y \
  330. CONFIG_SSB_DRIVER_MIPS=n \
  331. CONFIG_SSB_DRIVER_PCICORE=y \
  332. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  333. CONFIG_SSB_FALLBACK_SPROM=y \
  334. CONFIG_SSB_PCIHOST=y \
  335. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  336. CONFIG_SSB_POSSIBLE=y \
  337. CONFIG_SSB_SPROM=y \
  338. CONFIG_SSB_SILENT=y
  339. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  340. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  341. endef
  342. define KernelPackage/ssb/description
  343. Silicon Sonics Backplane glue code.
  344. endef
  345. $(eval $(call KernelPackage,ssb))
  346. define KernelPackage/bcma
  347. SUBMENU:=$(OTHER_MENU)
  348. TITLE:=BCMA support
  349. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
  350. KCONFIG:=\
  351. CONFIG_BCMA \
  352. CONFIG_BCMA_POSSIBLE=y \
  353. CONFIG_BCMA_BLOCKIO=y \
  354. CONFIG_BCMA_FALLBACK_SPROM=y \
  355. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  356. CONFIG_BCMA_HOST_PCI=y \
  357. CONFIG_BCMA_HOST_SOC=n \
  358. CONFIG_BCMA_DRIVER_MIPS=n \
  359. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  360. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  361. CONFIG_BCMA_DEBUG=n
  362. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  363. AUTOLOAD:=$(call AutoLoad,29,bcma)
  364. endef
  365. define KernelPackage/bcma/description
  366. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  367. endef
  368. $(eval $(call KernelPackage,bcma))
  369. define KernelPackage/mfd
  370. SUBMENU:=$(OTHER_MENU)
  371. TITLE:=Multifunction device drivers
  372. HIDDEN:=1
  373. KCONFIG:=CONFIG_MFD_CORE
  374. FILES:=$(LINUX_DIR)/drivers/mfd/mfd-core.ko
  375. AUTOLOAD:=$(call AutoLoad,10,mfd-core)
  376. endef
  377. $(eval $(call KernelPackage,mfd))
  378. define KernelPackage/mtdtests
  379. SUBMENU:=$(OTHER_MENU)
  380. TITLE:=MTD subsystem tests
  381. KCONFIG:=CONFIG_MTD_TESTS
  382. FILES:=\
  383. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandbiterrs.ko \
  384. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  385. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  386. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  387. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  388. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  389. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  390. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  391. $(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko \
  392. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  393. endef
  394. define KernelPackage/mtdtests/description
  395. Kernel modules for MTD subsystem/driver testing
  396. endef
  397. $(eval $(call KernelPackage,mtdtests))
  398. define KernelPackage/mtdoops
  399. SUBMENU:=$(OTHER_MENU)
  400. TITLE:=Log panic/oops to an MTD buffer
  401. KCONFIG:=CONFIG_MTD_OOPS
  402. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  403. endef
  404. define KernelPackage/mtdoops/description
  405. Kernel modules for Log panic/oops to an MTD buffer
  406. endef
  407. $(eval $(call KernelPackage,mtdoops))
  408. define KernelPackage/mtdram
  409. SUBMENU:=$(OTHER_MENU)
  410. TITLE:=Test MTD driver using RAM
  411. KCONFIG:=CONFIG_MTD_MTDRAM \
  412. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  413. CONFIG_MTDRAM_ERASE_SIZE=128
  414. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  415. endef
  416. define KernelPackage/mtdram/description
  417. Test MTD driver using RAM
  418. endef
  419. $(eval $(call KernelPackage,mtdram))
  420. define KernelPackage/ramoops
  421. SUBMENU:=$(OTHER_MENU)
  422. TITLE:=Ramoops (pstore-ram)
  423. DEFAULT:=m if ALL_KMODS
  424. KCONFIG:=CONFIG_PSTORE_RAM \
  425. CONFIG_PSTORE_CONSOLE=y
  426. DEPENDS:=+kmod-pstore +kmod-reed-solomon
  427. FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
  428. AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
  429. endef
  430. define KernelPackage/ramoops/description
  431. Kernel module for pstore-ram (ramoops) crash log storage
  432. endef
  433. $(eval $(call KernelPackage,ramoops))
  434. define KernelPackage/reed-solomon
  435. SUBMENU:=$(OTHER_MENU)
  436. TITLE:=Reed-Solomon error correction
  437. DEFAULT:=m if ALL_KMODS
  438. KCONFIG:=CONFIG_REED_SOLOMON \
  439. CONFIG_REED_SOLOMON_DEC8=y \
  440. CONFIG_REED_SOLOMON_ENC8=y
  441. FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
  442. AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
  443. endef
  444. define KernelPackage/reed-solomon/description
  445. Kernel module for Reed-Solomon error correction
  446. endef
  447. $(eval $(call KernelPackage,reed-solomon))
  448. define KernelPackage/serial-8250
  449. SUBMENU:=$(OTHER_MENU)
  450. TITLE:=8250 UARTs
  451. DEPENDS:=@!TARGET_uml
  452. KCONFIG:= CONFIG_SERIAL_8250 \
  453. CONFIG_SERIAL_8250_PCI \
  454. CONFIG_SERIAL_8250_EXTENDED=y \
  455. CONFIG_SERIAL_8250_MANY_PORTS=y \
  456. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  457. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  458. CONFIG_SERIAL_8250_RSA=n
  459. FILES:= \
  460. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  461. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  462. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
  463. $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
  464. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  465. endef
  466. define KernelPackage/serial-8250/description
  467. Kernel module for 8250 UART based serial ports
  468. endef
  469. define KernelPackage/serial-8250/config
  470. menu "Configuration"
  471. depends on PACKAGE_kmod-serial-8250
  472. config KERNEL_SERIAL_8250_NR_UARTS
  473. int "Maximum number of 8250/16550 serial ports"
  474. default "16"
  475. help
  476. Set this to the number of serial ports you want the driver
  477. to support. This includes any ports discovered via ACPI or
  478. PCI enumeration and any ports that may be added at run-time
  479. via hot-plug, or any ISA multi-port serial cards.
  480. config KERNEL_SERIAL_8250_RUNTIME_UARTS
  481. int "Number of 8250/16550 serial ports to register at runtime"
  482. range 0 KERNEL_SERIAL_8250_NR_UARTS
  483. default "16"
  484. help
  485. Set this to the maximum number of serial ports you want
  486. the kernel to register at boot time. This can be overridden
  487. with the module parameter "nr_uarts", or boot-time parameter
  488. 8250.nr_uarts
  489. endmenu
  490. endef
  491. $(eval $(call KernelPackage,serial-8250))
  492. define KernelPackage/serial-8250-exar
  493. SUBMENU:=$(OTHER_MENU)
  494. TITLE:=Exar 8250 UARTs
  495. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  496. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  497. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  498. DEPENDS:=@PCI_SUPPORT +kmod-serial-8250
  499. endef
  500. define KernelPackage/serial-8250-exar/description
  501. Kernel module for Exar serial ports
  502. endef
  503. $(eval $(call KernelPackage,serial-8250-exar))
  504. define KernelPackage/regmap-core
  505. SUBMENU:=$(OTHER_MENU)
  506. TITLE:=Generic register map support
  507. HIDDEN:=1
  508. KCONFIG:=CONFIG_REGMAP
  509. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  510. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  511. endif
  512. endef
  513. define KernelPackage/regmap-core/description
  514. Generic register map support
  515. endef
  516. $(eval $(call KernelPackage,regmap-core))
  517. define KernelPackage/regmap-spi
  518. SUBMENU:=$(OTHER_MENU)
  519. TITLE:=SPI register map support
  520. DEPENDS:=+kmod-regmap-core @!TARGET_uml
  521. HIDDEN:=1
  522. KCONFIG:=CONFIG_REGMAP_SPI \
  523. CONFIG_SPI=y
  524. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  525. endef
  526. define KernelPackage/regmap-spi/description
  527. SPI register map support
  528. endef
  529. $(eval $(call KernelPackage,regmap-spi))
  530. define KernelPackage/regmap-i2c
  531. SUBMENU:=$(OTHER_MENU)
  532. TITLE:=I2C register map support
  533. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  534. HIDDEN:=1
  535. KCONFIG:=CONFIG_REGMAP_I2C
  536. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  537. endef
  538. define KernelPackage/regmap-i2c/description
  539. I2C register map support
  540. endef
  541. $(eval $(call KernelPackage,regmap-i2c))
  542. define KernelPackage/regmap-mmio
  543. SUBMENU:=$(OTHER_MENU)
  544. TITLE:=MMIO register map support
  545. DEPENDS:=+kmod-regmap-core
  546. HIDDEN:=1
  547. KCONFIG:=CONFIG_REGMAP_MMIO
  548. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  549. endef
  550. define KernelPackage/regmap-mmio/description
  551. MMIO register map support
  552. endef
  553. $(eval $(call KernelPackage,regmap-mmio))
  554. define KernelPackage/ikconfig
  555. SUBMENU:=$(OTHER_MENU)
  556. TITLE:=Kernel configuration via /proc/config.gz
  557. KCONFIG:=CONFIG_IKCONFIG \
  558. CONFIG_IKCONFIG_PROC=y
  559. FILES:=$(LINUX_DIR)/kernel/configs.ko
  560. AUTOLOAD:=$(call AutoLoad,70,configs)
  561. endef
  562. define KernelPackage/ikconfig/description
  563. Kernel configuration via /proc/config.gz
  564. endef
  565. $(eval $(call KernelPackage,ikconfig))
  566. define KernelPackage/zram
  567. SUBMENU:=$(OTHER_MENU)
  568. DEPENDS:= \
  569. +(KERNEL_ZRAM_BACKEND_LZO||KERNEL_ZRAM_DEF_COMP_LZORLE||KERNEL_ZRAM_DEF_COMP_LZO):kmod-lib-lzo \
  570. +(KERNEL_ZRAM_BACKEND_LZ4||KERNEL_ZRAM_DEF_COMP_LZ4):kmod-lib-lz4 \
  571. +(KERNEL_ZRAM_BACKEND_LZ4HC||KERNEL_ZRAM_DEF_COMP_LZ4HC):kmod-lib-lz4hc \
  572. +(KERNEL_ZRAM_BACKEND_ZSTD||KERNEL_ZRAM_DEF_COMP_ZSTD):kmod-lib-zstd
  573. TITLE:=ZRAM
  574. KCONFIG:= \
  575. CONFIG_ZSMALLOC \
  576. CONFIG_ZRAM \
  577. CONFIG_ZRAM_DEBUG=n \
  578. CONFIG_ZRAM_WRITEBACK=n \
  579. CONFIG_ZSMALLOC_STAT=n
  580. FILES:= \
  581. $(LINUX_DIR)/mm/zsmalloc.ko \
  582. $(LINUX_DIR)/drivers/block/zram/zram.ko
  583. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  584. endef
  585. define KernelPackage/zram/description
  586. Compressed RAM block device support
  587. endef
  588. define KernelPackage/zram/config
  589. if PACKAGE_kmod-zram
  590. if !LINUX_6_6
  591. config KERNEL_ZRAM_BACKEND_LZO
  592. bool "lzo and lzo-rle compression support"
  593. config KERNEL_ZRAM_BACKEND_LZ4
  594. bool "lz4 compression support"
  595. config KERNEL_ZRAM_BACKEND_LZ4HC
  596. bool "lz4hc compression support"
  597. config KERNEL_ZRAM_BACKEND_ZSTD
  598. bool "zstd compression support"
  599. config KERNEL_ZRAM_BACKEND_FORCE_LZO
  600. def_bool !KERNEL_ZRAM_BACKEND_LZ4 && \
  601. !KERNEL_ZRAM_BACKEND_LZ4HC && \
  602. !KERNEL_ZRAM_BACKEND_ZSTD
  603. select KERNEL_ZRAM_BACKEND_LZO
  604. endif
  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 || LINUX_6_6
  611. config KERNEL_ZRAM_DEF_COMP_LZO
  612. bool "lzo"
  613. depends on KERNEL_ZRAM_BACKEND_LZO || LINUX_6_6
  614. config KERNEL_ZRAM_DEF_COMP_LZ4
  615. bool "lz4"
  616. depends on KERNEL_ZRAM_BACKEND_LZ4 || LINUX_6_6
  617. config KERNEL_ZRAM_DEF_COMP_LZ4HC
  618. bool "lz4-hc"
  619. depends on KERNEL_ZRAM_BACKEND_LZ4HC || LINUX_6_6
  620. config KERNEL_ZRAM_DEF_COMP_ZSTD
  621. bool "zstd"
  622. depends on KERNEL_ZRAM_BACKEND_ZSTD || LINUX_6_6
  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))