other.mk 30 KB

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