other.mk 29 KB

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