2
0

other.mk 29 KB

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