other.mk 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. OTHER_MENU:=Other modules
  8. WATCHDOG_DIR:=watchdog
  9. define KernelPackage/6lowpan
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=6LoWPAN shared code
  12. KCONFIG:= \
  13. CONFIG_6LOWPAN \
  14. CONFIG_6LOWPAN_NHC=n
  15. FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
  16. AUTOLOAD:=$(call AutoProbe,6lowpan)
  17. endef
  18. define KernelPackage/6lowpan/description
  19. Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
  20. endef
  21. $(eval $(call KernelPackage,6lowpan))
  22. define KernelPackage/bluetooth
  23. SUBMENU:=$(OTHER_MENU)
  24. TITLE:=Bluetooth support
  25. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh
  26. KCONFIG:= \
  27. CONFIG_BT \
  28. CONFIG_BT_BREDR=y \
  29. CONFIG_BT_DEBUGFS=n \
  30. CONFIG_BT_LE=y \
  31. CONFIG_BT_RFCOMM \
  32. CONFIG_BT_BNEP \
  33. CONFIG_BT_HCIBTUSB \
  34. CONFIG_BT_HCIBTUSB_BCM=n \
  35. CONFIG_BT_HCIUART \
  36. CONFIG_BT_HCIUART_BCM=n \
  37. CONFIG_BT_HCIUART_INTEL=n \
  38. CONFIG_BT_HCIUART_H4 \
  39. CONFIG_BT_HCIUART_NOKIA=n \
  40. CONFIG_BT_HIDP
  41. $(call AddDepends/rfkill)
  42. FILES:= \
  43. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  44. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  45. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  46. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  47. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  48. $(LINUX_DIR)/drivers/bluetooth/btusb.ko \
  49. $(LINUX_DIR)/drivers/bluetooth/btintel.ko
  50. AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
  51. endef
  52. define KernelPackage/bluetooth/description
  53. Kernel support for Bluetooth devices
  54. endef
  55. $(eval $(call KernelPackage,bluetooth))
  56. define KernelPackage/ath3k
  57. SUBMENU:=$(OTHER_MENU)
  58. TITLE:=ATH3K Kernel Module support
  59. DEPENDS:=+kmod-bluetooth +ar3k-firmware
  60. KCONFIG:= \
  61. CONFIG_BT_ATH3K \
  62. CONFIG_BT_HCIUART_ATH3K=y
  63. FILES:= \
  64. $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
  65. AUTOLOAD:=$(call AutoProbe,ath3k)
  66. endef
  67. define KernelPackage/ath3k/description
  68. Kernel support for ATH3K Module
  69. endef
  70. $(eval $(call KernelPackage,ath3k))
  71. define KernelPackage/bluetooth-6lowpan
  72. SUBMENU:=$(OTHER_MENU)
  73. TITLE:=Bluetooth 6LoWPAN support
  74. DEPENDS:=+kmod-6lowpan +kmod-bluetooth
  75. KCONFIG:=CONFIG_BT_6LOWPAN
  76. FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
  77. AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
  78. endef
  79. define KernelPackage/bluetooth-6lowpan/description
  80. Kernel support for 6LoWPAN over Bluetooth Low Energy devices
  81. endef
  82. $(eval $(call KernelPackage,bluetooth-6lowpan))
  83. define KernelPackage/btmrvl
  84. SUBMENU:=$(OTHER_MENU)
  85. TITLE:=Marvell Bluetooth Kernel Module support
  86. DEPENDS:=+kmod-mmc +kmod-bluetooth +mwifiex-sdio-firmware
  87. KCONFIG:= \
  88. CONFIG_BT_MRVL \
  89. CONFIG_BT_MRVL_SDIO
  90. FILES:= \
  91. $(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
  92. $(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
  93. AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
  94. endef
  95. define KernelPackage/btmrvl/description
  96. Kernel support for Marvell SDIO Bluetooth Module
  97. endef
  98. $(eval $(call KernelPackage,btmrvl))
  99. define KernelPackage/btsdio
  100. SUBMENU:=$(OTHER_MENU)
  101. TITLE:=Bluetooth HCI SDIO driver
  102. DEPENDS:=+kmod-bluetooth +kmod-mmc
  103. KCONFIG:= \
  104. CONFIG_BT_HCIBTSDIO
  105. FILES:= \
  106. $(LINUX_DIR)/drivers/bluetooth/btsdio.ko
  107. AUTOLOAD:=$(call AutoProbe,btsdio)
  108. endef
  109. define KernelPackage/btsdio/description
  110. Kernel support for Bluetooth device with SDIO interface
  111. endef
  112. $(eval $(call KernelPackage,btsdio))
  113. define KernelPackage/dma-buf
  114. SUBMENU:=$(OTHER_MENU)
  115. TITLE:=DMA shared buffer support
  116. HIDDEN:=1
  117. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  118. ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
  119. ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
  120. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  121. endif
  122. endif
  123. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  124. endef
  125. $(eval $(call KernelPackage,dma-buf))
  126. define KernelPackage/eeprom-93cx6
  127. SUBMENU:=$(OTHER_MENU)
  128. TITLE:=EEPROM 93CX6 support
  129. KCONFIG:=CONFIG_EEPROM_93CX6
  130. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  131. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  132. endef
  133. define KernelPackage/eeprom-93cx6/description
  134. Kernel module for EEPROM 93CX6 support
  135. endef
  136. $(eval $(call KernelPackage,eeprom-93cx6))
  137. define KernelPackage/eeprom-at24
  138. SUBMENU:=$(OTHER_MENU)
  139. TITLE:=EEPROM AT24 support
  140. KCONFIG:=CONFIG_EEPROM_AT24
  141. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c
  142. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  143. AUTOLOAD:=$(call AutoProbe,at24)
  144. endef
  145. define KernelPackage/eeprom-at24/description
  146. Kernel module for most I2C EEPROMs
  147. endef
  148. $(eval $(call KernelPackage,eeprom-at24))
  149. define KernelPackage/eeprom-at25
  150. SUBMENU:=$(OTHER_MENU)
  151. TITLE:=EEPROM AT25 support
  152. KCONFIG:=CONFIG_EEPROM_AT25
  153. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  154. AUTOLOAD:=$(call AutoProbe,at25)
  155. endef
  156. define KernelPackage/eeprom-at25/description
  157. Kernel module for most SPI EEPROMs
  158. endef
  159. $(eval $(call KernelPackage,eeprom-at25))
  160. define KernelPackage/google-firmware
  161. SUBMENU:=$(OTHER_MENU)
  162. TITLE:=Google firmware drivers (Coreboot, VPD, Memconsole)
  163. KCONFIG:= \
  164. CONFIG_GOOGLE_FIRMWARE=y \
  165. CONFIG_GOOGLE_COREBOOT_TABLE \
  166. CONFIG_GOOGLE_MEMCONSOLE \
  167. CONFIG_GOOGLE_MEMCONSOLE_COREBOOT \
  168. CONFIG_GOOGLE_VPD
  169. FILES:= \
  170. $(LINUX_DIR)/drivers/firmware/google/coreboot_table.ko \
  171. $(LINUX_DIR)/drivers/firmware/google/memconsole.ko \
  172. $(LINUX_DIR)/drivers/firmware/google/memconsole-coreboot.ko \
  173. $(LINUX_DIR)/drivers/firmware/google/vpd-sysfs.ko
  174. AUTOLOAD:=$(call AutoProbe,coreboot_table memconsole-coreboot vpd-sysfs)
  175. endef
  176. define KernelPackage/google-firmware/description
  177. Kernel modules for Google firmware drivers. Useful for examining firmware and
  178. boot details on devices using a Google bootloader based on Coreboot. Provides
  179. files like /sys/firmware/log and /sys/firmware/vpd.
  180. endef
  181. $(eval $(call KernelPackage,google-firmware))
  182. define KernelPackage/gpio-f7188x
  183. SUBMENU:=$(OTHER_MENU)
  184. TITLE:=Fintek F718xx/F818xx GPIO Support
  185. DEPENDS:=@GPIO_SUPPORT @TARGET_x86
  186. KCONFIG:=CONFIG_GPIO_F7188X
  187. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-f7188x.ko
  188. AUTOLOAD:=$(call AutoProbe,gpio-f7188x)
  189. endef
  190. define KernelPackage/gpio-f7188x/description
  191. Kernel module for the GPIOs found on many Fintek Super-IO chips.
  192. endef
  193. $(eval $(call KernelPackage,gpio-f7188x))
  194. define KernelPackage/gpio-mcp23s08
  195. SUBMENU:=$(OTHER_MENU)
  196. TITLE:=Microchip MCP23xxx I/O expander
  197. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
  198. KCONFIG:= \
  199. CONFIG_GPIO_MCP23S08 \
  200. CONFIG_PINCTRL_MCP23S08
  201. FILES:= \
  202. $(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
  203. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
  204. endef
  205. define KernelPackage/gpio-mcp23s08/description
  206. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  207. endef
  208. $(eval $(call KernelPackage,gpio-mcp23s08))
  209. define KernelPackage/gpio-nxp-74hc164
  210. SUBMENU:=$(OTHER_MENU)
  211. TITLE:=NXP 74HC164 GPIO expander support
  212. KCONFIG:=CONFIG_GPIO_74X164
  213. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-74x164.ko
  214. AUTOLOAD:=$(call AutoProbe,gpio-74x164)
  215. endef
  216. define KernelPackage/gpio-nxp-74hc164/description
  217. Kernel module for NXP 74HC164 GPIO expander
  218. endef
  219. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  220. define KernelPackage/gpio-pca953x
  221. SUBMENU:=$(OTHER_MENU)
  222. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-regmap-i2c
  223. TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
  224. KCONFIG:=CONFIG_GPIO_PCA953X
  225. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
  226. AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
  227. endef
  228. define KernelPackage/gpio-pca953x/description
  229. Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
  230. PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
  231. endef
  232. $(eval $(call KernelPackage,gpio-pca953x))
  233. define KernelPackage/gpio-pcf857x
  234. SUBMENU:=$(OTHER_MENU)
  235. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  236. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  237. KCONFIG:=CONFIG_GPIO_PCF857X
  238. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  239. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  240. endef
  241. define KernelPackage/gpio-pcf857x/description
  242. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  243. endef
  244. $(eval $(call KernelPackage,gpio-pcf857x))
  245. define KernelPackage/gpio-it87
  246. SUBMENU:=$(OTHER_MENU)
  247. DEPENDS:=@GPIO_SUPPORT @TARGET_x86
  248. TITLE:=GPIO support for IT87xx Super I/O chips
  249. KCONFIG:=CONFIG_GPIO_IT87
  250. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-it87.ko
  251. AUTOLOAD:=$(call AutoLoad,25,gpio-it87,1)
  252. endef
  253. define KernelPackage/gpio-it87/description
  254. This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
  255. supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as
  256. well.
  257. endef
  258. $(eval $(call KernelPackage,gpio-it87))
  259. define KernelPackage/gpio-amd-fch
  260. SUBMENU:=$(OTHER_MENU)
  261. DEPENDS:=@GPIO_SUPPORT @TARGET_x86
  262. TITLE:=GPIO support for AMD Fusion Controller Hub (G-series SOCs)
  263. KCONFIG:=CONFIG_GPIO_AMD_FCH
  264. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-amd-fch.ko
  265. AUTOLOAD:=$(call AutoLoad,25,gpio-amd-fch,1)
  266. endef
  267. define KernelPackage/gpio-amd-fch/description
  268. This option enables driver for GPIO on AMDs Fusion Controller Hub,
  269. as found on G-series SOCs (eg. GX-412TC)
  270. endef
  271. $(eval $(call KernelPackage,gpio-amd-fch))
  272. define KernelPackage/ppdev
  273. SUBMENU:=$(OTHER_MENU)
  274. TITLE:=Parallel port support
  275. KCONFIG:= \
  276. CONFIG_PARPORT \
  277. CONFIG_PPDEV
  278. FILES:= \
  279. $(LINUX_DIR)/drivers/parport/parport.ko \
  280. $(LINUX_DIR)/drivers/char/ppdev.ko
  281. AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
  282. endef
  283. $(eval $(call KernelPackage,ppdev))
  284. define KernelPackage/parport-pc
  285. SUBMENU:=$(OTHER_MENU)
  286. TITLE:=Parallel port interface (PC-style) support
  287. DEPENDS:=+kmod-ppdev
  288. KCONFIG:= \
  289. CONFIG_KS0108=n \
  290. CONFIG_PARPORT_PC \
  291. CONFIG_PARPORT_1284=y \
  292. CONFIG_PARPORT_PC_FIFO=y \
  293. CONFIG_PARPORT_PC_PCMCIA=n \
  294. CONFIG_PARPORT_PC_SUPERIO=y \
  295. CONFIG_PARPORT_SERIAL=n \
  296. CONFIG_PARIDE=n \
  297. CONFIG_SCSI_IMM=n \
  298. CONFIG_SCSI_PPA=n
  299. FILES:= \
  300. $(LINUX_DIR)/drivers/parport/parport_pc.ko
  301. AUTOLOAD:=$(call AutoLoad,51,parport_pc)
  302. endef
  303. $(eval $(call KernelPackage,parport-pc))
  304. define KernelPackage/lp
  305. SUBMENU:=$(OTHER_MENU)
  306. TITLE:=Parallel port line printer device support
  307. DEPENDS:=+kmod-ppdev
  308. KCONFIG:= \
  309. CONFIG_PRINTER
  310. FILES:= \
  311. $(LINUX_DIR)/drivers/char/lp.ko
  312. AUTOLOAD:=$(call AutoLoad,52,lp)
  313. endef
  314. $(eval $(call KernelPackage,lp))
  315. define KernelPackage/mmc
  316. SUBMENU:=$(OTHER_MENU)
  317. TITLE:=MMC/SD Card Support
  318. DEPENDS:=@!TARGET_uml
  319. KCONFIG:= \
  320. CONFIG_MMC \
  321. CONFIG_MMC_BLOCK \
  322. CONFIG_MMC_DEBUG=n \
  323. CONFIG_MMC_UNSAFE_RESUME=n \
  324. CONFIG_MMC_BLOCK_BOUNCE=y \
  325. CONFIG_MMC_TIFM_SD=n \
  326. CONFIG_MMC_WBSD=n \
  327. CONFIG_SDIO_UART=n
  328. FILES:= \
  329. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  330. $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
  331. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  332. endef
  333. define KernelPackage/mmc/description
  334. Kernel support for MMC/SD cards
  335. endef
  336. $(eval $(call KernelPackage,mmc))
  337. define KernelPackage/mvsdio
  338. SUBMENU:=$(OTHER_MENU)
  339. TITLE:=Marvell MMC/SD/SDIO host driver
  340. DEPENDS:=+kmod-mmc @TARGET_kirkwood
  341. KCONFIG:= CONFIG_MMC_MVSDIO
  342. FILES:= \
  343. $(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
  344. AUTOLOAD:=$(call AutoProbe,mvsdio,1)
  345. endef
  346. define KernelPackage/mvsdio/description
  347. Kernel support for the Marvell SDIO host driver.
  348. endef
  349. $(eval $(call KernelPackage,mvsdio))
  350. define KernelPackage/sdhci
  351. SUBMENU:=$(OTHER_MENU)
  352. TITLE:=Secure Digital Host Controller Interface support
  353. DEPENDS:=+kmod-mmc
  354. KCONFIG:= \
  355. CONFIG_MMC_SDHCI \
  356. CONFIG_MMC_SDHCI_PLTFM \
  357. CONFIG_MMC_SDHCI_PCI=n
  358. FILES:= \
  359. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  360. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  361. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  362. endef
  363. define KernelPackage/sdhci/description
  364. Kernel support for SDHCI Hosts
  365. endef
  366. $(eval $(call KernelPackage,sdhci))
  367. define KernelPackage/rfkill
  368. SUBMENU:=$(OTHER_MENU)
  369. TITLE:=RF switch subsystem support
  370. DEPENDS:=@USE_RFKILL +kmod-input-core
  371. KCONFIG:= \
  372. CONFIG_RFKILL_FULL \
  373. CONFIG_RFKILL_INPUT=y \
  374. CONFIG_RFKILL_LEDS=y
  375. FILES:= \
  376. $(LINUX_DIR)/net/rfkill/rfkill.ko
  377. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  378. endef
  379. define KernelPackage/rfkill/description
  380. Say Y here if you want to have control over RF switches
  381. found on many WiFi and Bluetooth cards
  382. endef
  383. $(eval $(call KernelPackage,rfkill))
  384. define KernelPackage/softdog
  385. SUBMENU:=$(OTHER_MENU)
  386. TITLE:=Software watchdog driver
  387. KCONFIG:=CONFIG_SOFT_WATCHDOG \
  388. CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
  389. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  390. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  391. endef
  392. define KernelPackage/softdog/description
  393. Software watchdog driver
  394. endef
  395. $(eval $(call KernelPackage,softdog))
  396. define KernelPackage/ssb
  397. SUBMENU:=$(OTHER_MENU)
  398. TITLE:=Silicon Sonics Backplane glue code
  399. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
  400. KCONFIG:=\
  401. CONFIG_SSB \
  402. CONFIG_SSB_B43_PCI_BRIDGE=y \
  403. CONFIG_SSB_DRIVER_MIPS=n \
  404. CONFIG_SSB_DRIVER_PCICORE=y \
  405. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  406. CONFIG_SSB_PCIHOST=y \
  407. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  408. CONFIG_SSB_POSSIBLE=y \
  409. CONFIG_SSB_SPROM=y \
  410. CONFIG_SSB_SILENT=y
  411. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  412. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  413. endef
  414. define KernelPackage/ssb/description
  415. Silicon Sonics Backplane glue code.
  416. endef
  417. $(eval $(call KernelPackage,ssb))
  418. define KernelPackage/bcma
  419. SUBMENU:=$(OTHER_MENU)
  420. TITLE:=BCMA support
  421. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
  422. KCONFIG:=\
  423. CONFIG_BCMA \
  424. CONFIG_BCMA_POSSIBLE=y \
  425. CONFIG_BCMA_BLOCKIO=y \
  426. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  427. CONFIG_BCMA_HOST_PCI=y \
  428. CONFIG_BCMA_HOST_SOC=n \
  429. CONFIG_BCMA_DRIVER_MIPS=n \
  430. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  431. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  432. CONFIG_BCMA_DEBUG=n
  433. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  434. AUTOLOAD:=$(call AutoLoad,29,bcma)
  435. endef
  436. define KernelPackage/bcma/description
  437. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  438. endef
  439. $(eval $(call KernelPackage,bcma))
  440. define KernelPackage/rtc-ds1307
  441. SUBMENU:=$(OTHER_MENU)
  442. TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
  443. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  444. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-hwmon-core
  445. KCONFIG:=CONFIG_RTC_DRV_DS1307 \
  446. CONFIG_RTC_CLASS=y
  447. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
  448. AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
  449. endef
  450. define KernelPackage/rtc-ds1307/description
  451. Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
  452. Epson RX-8025 and various other compatible RTC chips connected via I2C.
  453. endef
  454. $(eval $(call KernelPackage,rtc-ds1307))
  455. define KernelPackage/rtc-ds1374
  456. SUBMENU:=$(OTHER_MENU)
  457. TITLE:=Dallas/Maxim DS1374 RTC support
  458. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  459. DEPENDS:=+kmod-i2c-core
  460. KCONFIG:=CONFIG_RTC_DRV_DS1374 \
  461. CONFIG_RTC_DRV_DS1374_WDT=n \
  462. CONFIG_RTC_CLASS=y
  463. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
  464. AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
  465. endef
  466. define KernelPackage/rtc-ds1374/description
  467. Kernel module for Dallas/Maxim DS1374.
  468. endef
  469. $(eval $(call KernelPackage,rtc-ds1374))
  470. define KernelPackage/rtc-ds1672
  471. SUBMENU:=$(OTHER_MENU)
  472. TITLE:=Dallas/Maxim DS1672 RTC support
  473. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  474. DEPENDS:=+kmod-i2c-core
  475. KCONFIG:=CONFIG_RTC_DRV_DS1672 \
  476. CONFIG_RTC_CLASS=y
  477. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  478. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  479. endef
  480. define KernelPackage/rtc-ds1672/description
  481. Kernel module for Dallas/Maxim DS1672 RTC.
  482. endef
  483. $(eval $(call KernelPackage,rtc-ds1672))
  484. define KernelPackage/rtc-em3027
  485. SUBMENU:=$(OTHER_MENU)
  486. TITLE:=Microelectronic EM3027 RTC support
  487. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  488. DEPENDS:=+kmod-i2c-core
  489. KCONFIG:=CONFIG_RTC_DRV_EM3027 \
  490. CONFIG_RTC_CLASS=y
  491. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-em3027.ko
  492. AUTOLOAD:=$(call AutoProbe,rtc-em3027)
  493. endef
  494. define KernelPackage/rtc-em3027/description
  495. Kernel module for Microelectronic EM3027 RTC.
  496. endef
  497. $(eval $(call KernelPackage,rtc-em3027))
  498. define KernelPackage/rtc-isl1208
  499. SUBMENU:=$(OTHER_MENU)
  500. TITLE:=Intersil ISL1208 RTC support
  501. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  502. DEPENDS:=+kmod-i2c-core
  503. KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
  504. CONFIG_RTC_CLASS=y
  505. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  506. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  507. endef
  508. define KernelPackage/rtc-isl1208/description
  509. Kernel module for Intersil ISL1208 RTC.
  510. endef
  511. $(eval $(call KernelPackage,rtc-isl1208))
  512. define KernelPackage/rtc-pcf8563
  513. SUBMENU:=$(OTHER_MENU)
  514. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  515. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  516. DEPENDS:=+kmod-i2c-core
  517. KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
  518. CONFIG_RTC_CLASS=y
  519. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  520. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  521. endef
  522. define KernelPackage/rtc-pcf8563/description
  523. Kernel module for Philips PCF8563 RTC chip.
  524. The Epson RTC8564 should work as well.
  525. endef
  526. $(eval $(call KernelPackage,rtc-pcf8563))
  527. define KernelPackage/rtc-pcf2123
  528. SUBMENU:=$(OTHER_MENU)
  529. TITLE:=Philips PCF2123 RTC support
  530. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  531. DEPENDS:=+kmod-regmap-spi
  532. KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
  533. CONFIG_RTC_CLASS=y
  534. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  535. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  536. endef
  537. define KernelPackage/rtc-pcf2123/description
  538. Kernel module for Philips PCF2123 RTC chip
  539. endef
  540. $(eval $(call KernelPackage,rtc-pcf2123))
  541. define KernelPackage/rtc-pcf2127
  542. SUBMENU:=$(OTHER_MENU)
  543. TITLE:=NXP PCF2127 and PCF2129 RTC support
  544. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  545. DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
  546. KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
  547. CONFIG_RTC_CLASS=y
  548. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
  549. AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
  550. endef
  551. define KernelPackage/rtc-pcf2127/description
  552. Kernel module for NXP PCF2127 and PCF2129 RTC chip
  553. endef
  554. $(eval $(call KernelPackage,rtc-pcf2127))
  555. define KernelPackage/rtc-pt7c4338
  556. SUBMENU:=$(OTHER_MENU)
  557. TITLE:=Pericom PT7C4338 RTC support
  558. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  559. DEPENDS:=+kmod-i2c-core
  560. KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
  561. CONFIG_RTC_CLASS=y
  562. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  563. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  564. endef
  565. define KernelPackage/rtc-pt7c4338/description
  566. Kernel module for Pericom PT7C4338 i2c RTC chip
  567. endef
  568. $(eval $(call KernelPackage,rtc-pt7c4338))
  569. define KernelPackage/rtc-rs5c372a
  570. SUBMENU:=$(OTHER_MENU)
  571. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  572. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  573. DEPENDS:=+kmod-i2c-core
  574. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  575. CONFIG_RTC_CLASS=y
  576. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  577. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  578. endef
  579. define KernelPackage/rtc-rs5c372a/description
  580. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  581. endef
  582. $(eval $(call KernelPackage,rtc-rs5c372a))
  583. define KernelPackage/rtc-rx8025
  584. SUBMENU:=$(OTHER_MENU)
  585. TITLE:=Epson RX-8025 / RX-8035
  586. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  587. DEPENDS:=+kmod-i2c-core
  588. KCONFIG:=CONFIG_RTC_DRV_RX8025 \
  589. CONFIG_RTC_CLASS=y
  590. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
  591. AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
  592. endef
  593. define KernelPackage/rtc-rx8025/description
  594. Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
  595. endef
  596. $(eval $(call KernelPackage,rtc-rx8025))
  597. define KernelPackage/rtc-s35390a
  598. SUBMENU:=$(OTHER_MENU)
  599. TITLE:=Seico S-35390A
  600. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  601. DEPENDS:=+kmod-i2c-core
  602. KCONFIG:=CONFIG_RTC_DRV_S35390A \
  603. CONFIG_RTC_CLASS=y
  604. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko
  605. AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1)
  606. endef
  607. define KernelPackage/rtc-s35390a/description
  608. Kernel module for Seiko Instruments S-35390A I2C RTC chip
  609. endef
  610. $(eval $(call KernelPackage,rtc-s35390a))
  611. define KernelPackage/mtdtests
  612. SUBMENU:=$(OTHER_MENU)
  613. TITLE:=MTD subsystem tests
  614. KCONFIG:=CONFIG_MTD_TESTS
  615. FILES:=\
  616. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  617. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  618. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  619. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  620. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  621. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  622. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  623. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  624. endef
  625. define KernelPackage/mtdtests/description
  626. Kernel modules for MTD subsystem/driver testing
  627. endef
  628. $(eval $(call KernelPackage,mtdtests))
  629. define KernelPackage/mtdoops
  630. SUBMENU:=$(OTHER_MENU)
  631. TITLE:=Log panic/oops to an MTD buffer
  632. KCONFIG:=CONFIG_MTD_OOPS
  633. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  634. endef
  635. define KernelPackage/mtdoops/description
  636. Kernel modules for Log panic/oops to an MTD buffer
  637. endef
  638. $(eval $(call KernelPackage,mtdoops))
  639. define KernelPackage/mtdram
  640. SUBMENU:=$(OTHER_MENU)
  641. TITLE:=Test MTD driver using RAM
  642. KCONFIG:=CONFIG_MTD_MTDRAM \
  643. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  644. CONFIG_MTDRAM_ERASE_SIZE=128
  645. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  646. endef
  647. define KernelPackage/mtdram/description
  648. Test MTD driver using RAM
  649. endef
  650. $(eval $(call KernelPackage,mtdram))
  651. define KernelPackage/ramoops
  652. SUBMENU:=$(OTHER_MENU)
  653. TITLE:=Ramoops (pstore-ram)
  654. DEFAULT:=m if ALL_KMODS
  655. KCONFIG:=CONFIG_PSTORE_RAM
  656. DEPENDS:=+kmod-pstore +kmod-reed-solomon
  657. FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
  658. AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
  659. endef
  660. define KernelPackage/ramoops/description
  661. Kernel module for pstore-ram (ramoops) crash log storage
  662. endef
  663. $(eval $(call KernelPackage,ramoops))
  664. define KernelPackage/reed-solomon
  665. SUBMENU:=$(OTHER_MENU)
  666. TITLE:=Reed-Solomon error correction
  667. DEFAULT:=m if ALL_KMODS
  668. KCONFIG:=CONFIG_REED_SOLOMON \
  669. CONFIG_REED_SOLOMON_DEC8=y \
  670. CONFIG_REED_SOLOMON_ENC8=y
  671. FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
  672. AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
  673. endef
  674. define KernelPackage/reed-solomon/description
  675. Kernel module for Reed-Solomon error correction
  676. endef
  677. $(eval $(call KernelPackage,reed-solomon))
  678. define KernelPackage/serial-8250
  679. SUBMENU:=$(OTHER_MENU)
  680. TITLE:=8250 UARTs
  681. KCONFIG:= CONFIG_SERIAL_8250 \
  682. CONFIG_SERIAL_8250_PCI \
  683. CONFIG_SERIAL_8250_NR_UARTS=16 \
  684. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  685. CONFIG_SERIAL_8250_EXTENDED=y \
  686. CONFIG_SERIAL_8250_MANY_PORTS=y \
  687. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  688. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  689. CONFIG_SERIAL_8250_RSA=n
  690. FILES:= \
  691. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  692. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  693. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
  694. $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
  695. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  696. endef
  697. define KernelPackage/serial-8250/description
  698. Kernel module for 8250 UART based serial ports
  699. endef
  700. $(eval $(call KernelPackage,serial-8250))
  701. define KernelPackage/serial-8250-exar
  702. SUBMENU:=$(OTHER_MENU)
  703. TITLE:=Exar 8250 UARTs
  704. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  705. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  706. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  707. DEPENDS:=+kmod-serial-8250
  708. endef
  709. define KernelPackage/serial-8250-exar/description
  710. Kernel module for Exar serial ports
  711. endef
  712. $(eval $(call KernelPackage,serial-8250-exar))
  713. define KernelPackage/regmap-core
  714. SUBMENU:=$(OTHER_MENU)
  715. TITLE:=Generic register map support
  716. HIDDEN:=1
  717. KCONFIG:=CONFIG_REGMAP
  718. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  719. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  720. endif
  721. endef
  722. define KernelPackage/regmap-core/description
  723. Generic register map support
  724. endef
  725. $(eval $(call KernelPackage,regmap-core))
  726. define KernelPackage/regmap-spi
  727. SUBMENU:=$(OTHER_MENU)
  728. TITLE:=SPI register map support
  729. DEPENDS:=+kmod-regmap-core
  730. HIDDEN:=1
  731. KCONFIG:=CONFIG_REGMAP_SPI \
  732. CONFIG_SPI=y
  733. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  734. endef
  735. define KernelPackage/regmap-spi/description
  736. SPI register map support
  737. endef
  738. $(eval $(call KernelPackage,regmap-spi))
  739. define KernelPackage/regmap-i2c
  740. SUBMENU:=$(OTHER_MENU)
  741. TITLE:=I2C register map support
  742. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  743. HIDDEN:=1
  744. KCONFIG:=CONFIG_REGMAP_I2C
  745. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  746. endef
  747. define KernelPackage/regmap-i2c/description
  748. I2C register map support
  749. endef
  750. $(eval $(call KernelPackage,regmap-i2c))
  751. define KernelPackage/regmap-mmio
  752. SUBMENU:=$(OTHER_MENU)
  753. TITLE:=MMIO register map support
  754. DEPENDS:=+kmod-regmap-core
  755. HIDDEN:=1
  756. KCONFIG:=CONFIG_REGMAP_MMIO
  757. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  758. endef
  759. define KernelPackage/regmap-mmio/description
  760. MMIO register map support
  761. endef
  762. $(eval $(call KernelPackage,regmap-mmio))
  763. define KernelPackage/ikconfig
  764. SUBMENU:=$(OTHER_MENU)
  765. TITLE:=Kernel configuration via /proc/config.gz
  766. KCONFIG:=CONFIG_IKCONFIG \
  767. CONFIG_IKCONFIG_PROC=y
  768. FILES:=$(LINUX_DIR)/kernel/configs.ko
  769. AUTOLOAD:=$(call AutoLoad,70,configs)
  770. endef
  771. define KernelPackage/ikconfig/description
  772. Kernel configuration via /proc/config.gz
  773. endef
  774. $(eval $(call KernelPackage,ikconfig))
  775. define KernelPackage/zram
  776. SUBMENU:=$(OTHER_MENU)
  777. TITLE:=ZRAM
  778. KCONFIG:= \
  779. CONFIG_ZSMALLOC \
  780. CONFIG_ZRAM \
  781. CONFIG_ZRAM_DEBUG=n \
  782. CONFIG_ZRAM_WRITEBACK=n \
  783. CONFIG_ZSMALLOC_STAT=n
  784. FILES:= \
  785. $(LINUX_DIR)/mm/zsmalloc.ko \
  786. $(LINUX_DIR)/drivers/block/zram/zram.ko
  787. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  788. endef
  789. define KernelPackage/zram/description
  790. Compressed RAM block device support
  791. endef
  792. define KernelPackage/zram/config
  793. choice
  794. prompt "ZRAM Default compressor"
  795. default ZRAM_DEF_COMP_LZORLE
  796. config ZRAM_DEF_COMP_LZORLE
  797. bool "lzo-rle"
  798. select PACKAGE_kmod-lib-lzo
  799. config ZRAM_DEF_COMP_LZO
  800. bool "lzo"
  801. select PACKAGE_kmod-lib-lzo
  802. config ZRAM_DEF_COMP_LZ4
  803. bool "lz4"
  804. select PACKAGE_kmod-lib-lz4
  805. config ZRAM_DEF_COMP_ZSTD
  806. bool "zstd"
  807. select PACKAGE_kmod-lib-zstd
  808. endchoice
  809. endef
  810. $(eval $(call KernelPackage,zram))
  811. define KernelPackage/pps
  812. SUBMENU:=$(OTHER_MENU)
  813. TITLE:=PPS support
  814. KCONFIG:=CONFIG_PPS
  815. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  816. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  817. endef
  818. define KernelPackage/pps/description
  819. PPS (Pulse Per Second) is a special pulse provided by some GPS
  820. antennae. Userland can use it to get a high-precision time
  821. reference.
  822. endef
  823. $(eval $(call KernelPackage,pps))
  824. define KernelPackage/pps-gpio
  825. SUBMENU:=$(OTHER_MENU)
  826. TITLE:=PPS client using GPIO
  827. DEPENDS:=+kmod-pps
  828. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  829. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  830. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  831. endef
  832. define KernelPackage/pps-gpio/description
  833. Support for a PPS source using GPIO. To be useful you must
  834. also register a platform device specifying the GPIO pin and
  835. other options, usually in your board setup.
  836. endef
  837. $(eval $(call KernelPackage,pps-gpio))
  838. define KernelPackage/pps-ldisc
  839. SUBMENU:=$(OTHER_MENU)
  840. TITLE:=PPS line discipline
  841. DEPENDS:=+kmod-pps
  842. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  843. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  844. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  845. endef
  846. define KernelPackage/pps-ldisc/description
  847. Support for a PPS source connected with the CD (Carrier
  848. Detect) pin of your serial port.
  849. endef
  850. $(eval $(call KernelPackage,pps-ldisc))
  851. define KernelPackage/ptp
  852. SUBMENU:=$(OTHER_MENU)
  853. TITLE:=PTP clock support
  854. DEPENDS:=+kmod-pps
  855. KCONFIG:= \
  856. CONFIG_PTP_1588_CLOCK \
  857. CONFIG_NET_PTP_CLASSIFY=y
  858. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  859. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  860. endef
  861. define KernelPackage/ptp/description
  862. The IEEE 1588 standard defines a method to precisely
  863. synchronize distributed clocks over Ethernet networks.
  864. endef
  865. $(eval $(call KernelPackage,ptp))
  866. define KernelPackage/ptp-qoriq
  867. SUBMENU:=$(OTHER_MENU)
  868. TITLE:=Freescale QorIQ PTP support
  869. DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
  870. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  871. FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
  872. AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
  873. endef
  874. define KernelPackage/ptp-qoriq/description
  875. Kernel module for IEEE 1588 support for Freescale
  876. QorIQ Ethernet drivers
  877. endef
  878. $(eval $(call KernelPackage,ptp-qoriq))
  879. define KernelPackage/random-core
  880. SUBMENU:=$(OTHER_MENU)
  881. TITLE:=Hardware Random Number Generator Core support
  882. KCONFIG:=CONFIG_HW_RANDOM
  883. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  884. endef
  885. define KernelPackage/random-core/description
  886. Kernel module for the HW random number generator core infrastructure
  887. endef
  888. $(eval $(call KernelPackage,random-core))
  889. define KernelPackage/thermal
  890. SUBMENU:=$(OTHER_MENU)
  891. TITLE:=Thermal driver
  892. DEPENDS:=+kmod-hwmon-core
  893. HIDDEN:=1
  894. KCONFIG:= \
  895. CONFIG_THERMAL=y \
  896. CONFIG_THERMAL_OF=y \
  897. CONFIG_CPU_THERMAL=y \
  898. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  899. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  900. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  901. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  902. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  903. CONFIG_THERMAL_GOV_STEP_WISE=y \
  904. CONFIG_THERMAL_GOV_USER_SPACE=n \
  905. CONFIG_THERMAL_HWMON=y \
  906. CONFIG_THERMAL_EMULATION=n
  907. endef
  908. define KernelPackage/thermal/description
  909. Thermal driver offers a generic mechanism for thermal management.
  910. Usually it's made up of one or more thermal zone and cooling device.
  911. endef
  912. $(eval $(call KernelPackage,thermal))
  913. define KernelPackage/gpio-beeper
  914. SUBMENU:=$(OTHER_MENU)
  915. TITLE:=GPIO beeper support
  916. DEPENDS:=+kmod-input-core
  917. KCONFIG:= \
  918. CONFIG_INPUT_MISC=y \
  919. CONFIG_INPUT_GPIO_BEEPER
  920. FILES:= \
  921. $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
  922. AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
  923. endef
  924. define KernelPackage/gpio-beeper/description
  925. This enables playing beeps through an GPIO-connected buzzer
  926. endef
  927. $(eval $(call KernelPackage,gpio-beeper))
  928. define KernelPackage/echo
  929. SUBMENU:=$(OTHER_MENU)
  930. TITLE:=Line Echo Canceller
  931. KCONFIG:=CONFIG_ECHO
  932. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  933. AUTOLOAD:=$(call AutoLoad,50,echo)
  934. endef
  935. define KernelPackage/echo/description
  936. This driver provides line echo cancelling support for mISDN and
  937. DAHDI drivers
  938. endef
  939. $(eval $(call KernelPackage,echo))
  940. define KernelPackage/keys-encrypted
  941. SUBMENU:=$(OTHER_MENU)
  942. TITLE:=encrypted keys on kernel keyring
  943. DEPENDS:=@KERNEL_KEYS +kmod-crypto-cbc +kmod-crypto-hmac +kmod-crypto-rng \
  944. +kmod-crypto-sha256 +kmod-keys-trusted
  945. KCONFIG:=CONFIG_ENCRYPTED_KEYS
  946. FILES:=$(LINUX_DIR)/security/keys/encrypted-keys/encrypted-keys.ko
  947. AUTOLOAD:=$(call AutoLoad,01,encrypted-keys,1)
  948. endef
  949. define KernelPackage/keys-encrypted/description
  950. This module provides support for create/encrypting/decrypting keys
  951. in the kernel. Encrypted keys are kernel generated random numbers,
  952. which are encrypted/decrypted with a 'master' symmetric key. The
  953. 'master' key can be either a trusted-key or user-key type.
  954. Userspace only ever sees/stores encrypted blobs.
  955. endef
  956. $(eval $(call KernelPackage,keys-encrypted))
  957. define KernelPackage/keys-trusted
  958. SUBMENU:=$(OTHER_MENU)
  959. TITLE:=TPM trusted keys on kernel keyring
  960. DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
  961. KCONFIG:=CONFIG_TRUSTED_KEYS
  962. FILES:= $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko
  963. AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
  964. endef
  965. define KernelPackage/keys-trusted/description
  966. This module provides support for creating, sealing, and unsealing
  967. keys in the kernel. Trusted keys are random number symmetric keys,
  968. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  969. if the boot PCRs and other criteria match. Userspace will only ever
  970. see encrypted blobs.
  971. endef
  972. $(eval $(call KernelPackage,keys-trusted))
  973. define KernelPackage/tpm
  974. SUBMENU:=$(OTHER_MENU)
  975. TITLE:=TPM Hardware Support
  976. DEPENDS:= +kmod-random-core +(LINUX_5_15):kmod-asn1-decoder \
  977. +(LINUX_5_15):kmod-asn1-encoder +(LINUX_5_15):kmod-oid-registry
  978. KCONFIG:= CONFIG_TCG_TPM
  979. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  980. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  981. endef
  982. define KernelPackage/tpm/description
  983. This enables TPM Hardware Support.
  984. endef
  985. $(eval $(call KernelPackage,tpm))
  986. define KernelPackage/tpm-tis
  987. SUBMENU:=$(OTHER_MENU)
  988. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  989. DEPENDS:= @TARGET_x86 +kmod-tpm
  990. KCONFIG:= CONFIG_TCG_TIS
  991. FILES:= \
  992. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  993. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  994. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  995. endef
  996. define KernelPackage/tpm-tis/description
  997. If you have a TPM security chip that is compliant with the
  998. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  999. specification (TPM2.0) say Yes and it will be accessible from
  1000. within Linux.
  1001. endef
  1002. $(eval $(call KernelPackage,tpm-tis))
  1003. define KernelPackage/tpm-i2c-atmel
  1004. SUBMENU:=$(OTHER_MENU)
  1005. TITLE:=TPM I2C Atmel Support
  1006. DEPENDS:= +kmod-tpm +kmod-i2c-core
  1007. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  1008. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  1009. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  1010. endef
  1011. define KernelPackage/tpm-i2c-atmel/description
  1012. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  1013. endef
  1014. $(eval $(call KernelPackage,tpm-i2c-atmel))
  1015. define KernelPackage/tpm-i2c-infineon
  1016. SUBMENU:=$(OTHER_MENU)
  1017. TITLE:= TPM I2C Infineon driver
  1018. DEPENDS:= +kmod-tpm +kmod-i2c-core
  1019. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  1020. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  1021. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  1022. endef
  1023. define KernelPackage/tpm-i2c-infineon/description
  1024. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  1025. endef
  1026. $(eval $(call KernelPackage,tpm-i2c-infineon))
  1027. define KernelPackage/i6300esb-wdt
  1028. SUBMENU:=$(OTHER_MENU)
  1029. TITLE:=Intel 6300ESB Timer/Watchdog
  1030. DEPENDS:=@PCI_SUPPORT @!SMALL_FLASH
  1031. KCONFIG:=CONFIG_I6300ESB_WDT \
  1032. CONFIG_WATCHDOG_CORE=y
  1033. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/i6300esb.ko
  1034. AUTOLOAD:=$(call AutoLoad,50,i6300esb,1)
  1035. endef
  1036. define KernelPackage/i6300esb-wdt/description
  1037. Kernel module for the watchdog timer built into the Intel
  1038. 6300ESB controller hub. Also used by QEMU/libvirt.
  1039. endef
  1040. $(eval $(call KernelPackage,i6300esb-wdt))
  1041. define KernelPackage/mhi-bus
  1042. SUBMENU:=$(OTHER_MENU)
  1043. TITLE:=MHI bus
  1044. DEPENDS:=@LINUX_5_15
  1045. KCONFIG:=CONFIG_MHI_BUS \
  1046. CONFIG_MHI_BUS_DEBUG=y
  1047. FILES:=$(LINUX_DIR)/drivers/bus/mhi/core/mhi.ko
  1048. AUTOLOAD:=$(call AutoProbe,mhi)
  1049. endef
  1050. define KernelPackage/mhi-bus/description
  1051. Kernel module for the Qualcomm MHI bus.
  1052. endef
  1053. $(eval $(call KernelPackage,mhi-bus))
  1054. define KernelPackage/mhi-pci-generic
  1055. SUBMENU:=$(OTHER_MENU)
  1056. TITLE:=MHI PCI controller driver
  1057. DEPENDS:=@LINUX_5_15 +kmod-mhi-bus
  1058. KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC
  1059. FILES:=$(LINUX_DIR)/drivers/bus/mhi/mhi_pci_generic.ko
  1060. AUTOLOAD:=$(call AutoProbe,mhi_pci_generic)
  1061. endef
  1062. define KernelPackage/mhi-pci-generic/description
  1063. Kernel module for the MHI PCI controller driver.
  1064. endef
  1065. $(eval $(call KernelPackage,mhi-pci-generic))