other.mk 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215
  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-pcf2127
  484. SUBMENU:=$(OTHER_MENU)
  485. TITLE:=NXP PCF2127 and PCF2129 RTC support
  486. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  487. DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
  488. KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
  489. CONFIG_RTC_CLASS=y
  490. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
  491. AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
  492. endef
  493. define KernelPackage/rtc-pcf2127/description
  494. Kernel module for NXP PCF2127 and PCF2129 RTC chip
  495. endef
  496. $(eval $(call KernelPackage,rtc-pcf2127))
  497. define KernelPackage/rtc-pt7c4338
  498. SUBMENU:=$(OTHER_MENU)
  499. TITLE:=Pericom PT7C4338 RTC support
  500. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  501. DEPENDS:=+kmod-i2c-core
  502. KCONFIG:=CONFIG_RTC_DRV_PT7C4338 \
  503. CONFIG_RTC_CLASS=y
  504. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  505. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  506. endef
  507. define KernelPackage/rtc-pt7c4338/description
  508. Kernel module for Pericom PT7C4338 i2c RTC chip
  509. endef
  510. $(eval $(call KernelPackage,rtc-pt7c4338))
  511. define KernelPackage/rtc-rs5c372a
  512. SUBMENU:=$(OTHER_MENU)
  513. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  514. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  515. DEPENDS:=+kmod-i2c-core
  516. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  517. CONFIG_RTC_CLASS=y
  518. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  519. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  520. endef
  521. define KernelPackage/rtc-rs5c372a/description
  522. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  523. endef
  524. $(eval $(call KernelPackage,rtc-rs5c372a))
  525. define KernelPackage/mtdtests
  526. SUBMENU:=$(OTHER_MENU)
  527. TITLE:=MTD subsystem tests
  528. KCONFIG:=CONFIG_MTD_TESTS
  529. FILES:=\
  530. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  531. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  532. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  533. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  534. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  535. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  536. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  537. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  538. endef
  539. define KernelPackage/mtdtests/description
  540. Kernel modules for MTD subsystem/driver testing
  541. endef
  542. $(eval $(call KernelPackage,mtdtests))
  543. define KernelPackage/mtdoops
  544. SUBMENU:=$(OTHER_MENU)
  545. TITLE:=Log panic/oops to an MTD buffer
  546. KCONFIG:=CONFIG_MTD_OOPS
  547. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  548. endef
  549. define KernelPackage/mtdoops/description
  550. Kernel modules for Log panic/oops to an MTD buffer
  551. endef
  552. $(eval $(call KernelPackage,mtdoops))
  553. define KernelPackage/mtdram
  554. SUBMENU:=$(OTHER_MENU)
  555. TITLE:=Test MTD driver using RAM
  556. KCONFIG:=CONFIG_MTD_MTDRAM \
  557. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  558. CONFIG_MTDRAM_ERASE_SIZE=128
  559. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  560. endef
  561. define KernelPackage/mtdram/description
  562. Test MTD driver using RAM
  563. endef
  564. $(eval $(call KernelPackage,mtdram))
  565. define KernelPackage/serial-8250
  566. SUBMENU:=$(OTHER_MENU)
  567. TITLE:=8250 UARTs
  568. KCONFIG:= CONFIG_SERIAL_8250 \
  569. CONFIG_SERIAL_8250_PCI \
  570. CONFIG_SERIAL_8250_NR_UARTS=16 \
  571. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  572. CONFIG_SERIAL_8250_EXTENDED=y \
  573. CONFIG_SERIAL_8250_MANY_PORTS=y \
  574. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  575. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  576. CONFIG_SERIAL_8250_RSA=n
  577. FILES:= \
  578. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  579. $(LINUX_DIR)/drivers/tty/serial/8250/[email protected] \
  580. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/[email protected])
  581. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  582. endef
  583. define KernelPackage/serial-8250/description
  584. Kernel module for 8250 UART based serial ports
  585. endef
  586. $(eval $(call KernelPackage,serial-8250))
  587. define KernelPackage/serial-8250-exar
  588. SUBMENU:=$(OTHER_MENU)
  589. TITLE:=Exar 8250 UARTs
  590. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  591. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  592. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  593. DEPENDS:=+kmod-serial-8250
  594. endef
  595. define KernelPackage/serial-8250-exar/description
  596. Kernel module for Exar serial ports
  597. endef
  598. $(eval $(call KernelPackage,serial-8250-exar))
  599. define KernelPackage/regmap-core
  600. SUBMENU:=$(OTHER_MENU)
  601. TITLE:=Generic register map support
  602. HIDDEN:=1
  603. KCONFIG:=CONFIG_REGMAP
  604. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  605. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  606. endif
  607. endef
  608. define KernelPackage/regmap-core/description
  609. Generic register map support
  610. endef
  611. $(eval $(call KernelPackage,regmap-core))
  612. define KernelPackage/regmap-spi
  613. SUBMENU:=$(OTHER_MENU)
  614. TITLE:=SPI register map support
  615. DEPENDS:=+kmod-regmap-core
  616. HIDDEN:=1
  617. KCONFIG:=CONFIG_REGMAP_SPI \
  618. CONFIG_SPI=y
  619. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  620. endef
  621. define KernelPackage/regmap-spi/description
  622. SPI register map support
  623. endef
  624. $(eval $(call KernelPackage,regmap-spi))
  625. define KernelPackage/regmap-i2c
  626. SUBMENU:=$(OTHER_MENU)
  627. TITLE:=I2C register map support
  628. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  629. HIDDEN:=1
  630. KCONFIG:=CONFIG_REGMAP_I2C
  631. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  632. endef
  633. define KernelPackage/regmap-i2c/description
  634. I2C register map support
  635. endef
  636. $(eval $(call KernelPackage,regmap-i2c))
  637. define KernelPackage/regmap-mmio
  638. SUBMENU:=$(OTHER_MENU)
  639. TITLE:=MMIO register map support
  640. DEPENDS:=+kmod-regmap-core
  641. HIDDEN:=1
  642. KCONFIG:=CONFIG_REGMAP_MMIO
  643. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  644. endef
  645. define KernelPackage/regmap-mmio/description
  646. MMIO register map support
  647. endef
  648. $(eval $(call KernelPackage,regmap-mmio))
  649. define KernelPackage/ikconfig
  650. SUBMENU:=$(OTHER_MENU)
  651. TITLE:=Kernel configuration via /proc/config.gz
  652. KCONFIG:=CONFIG_IKCONFIG \
  653. CONFIG_IKCONFIG_PROC=y
  654. FILES:=$(LINUX_DIR)/kernel/configs.ko
  655. AUTOLOAD:=$(call AutoLoad,70,configs)
  656. endef
  657. define KernelPackage/ikconfig/description
  658. Kernel configuration via /proc/config.gz
  659. endef
  660. $(eval $(call KernelPackage,ikconfig))
  661. define KernelPackage/zram
  662. SUBMENU:=$(OTHER_MENU)
  663. TITLE:=ZRAM
  664. DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
  665. KCONFIG:= \
  666. CONFIG_ZSMALLOC \
  667. CONFIG_ZRAM \
  668. CONFIG_ZRAM_DEBUG=n \
  669. CONFIG_PGTABLE_MAPPING=n \
  670. CONFIG_ZRAM_WRITEBACK=n \
  671. CONFIG_ZSMALLOC_STAT=n \
  672. CONFIG_ZRAM_LZ4_COMPRESS=y
  673. FILES:= \
  674. $(LINUX_DIR)/mm/zsmalloc.ko \
  675. $(LINUX_DIR)/drivers/block/zram/zram.ko
  676. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  677. endef
  678. define KernelPackage/zram/description
  679. Compressed RAM block device support
  680. endef
  681. $(eval $(call KernelPackage,zram))
  682. define KernelPackage/pps
  683. SUBMENU:=$(OTHER_MENU)
  684. TITLE:=PPS support
  685. KCONFIG:=CONFIG_PPS
  686. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  687. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  688. endef
  689. define KernelPackage/pps/description
  690. PPS (Pulse Per Second) is a special pulse provided by some GPS
  691. antennae. Userland can use it to get a high-precision time
  692. reference.
  693. endef
  694. $(eval $(call KernelPackage,pps))
  695. define KernelPackage/pps-gpio
  696. SUBMENU:=$(OTHER_MENU)
  697. TITLE:=PPS client using GPIO
  698. DEPENDS:=+kmod-pps
  699. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  700. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  701. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  702. endef
  703. define KernelPackage/pps-gpio/description
  704. Support for a PPS source using GPIO. To be useful you must
  705. also register a platform device specifying the GPIO pin and
  706. other options, usually in your board setup.
  707. endef
  708. $(eval $(call KernelPackage,pps-gpio))
  709. define KernelPackage/pps-ldisc
  710. SUBMENU:=$(OTHER_MENU)
  711. TITLE:=PPS line discipline
  712. DEPENDS:=+kmod-pps
  713. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  714. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  715. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  716. endef
  717. define KernelPackage/pps-ldisc/description
  718. Support for a PPS source connected with the CD (Carrier
  719. Detect) pin of your serial port.
  720. endef
  721. $(eval $(call KernelPackage,pps-ldisc))
  722. define KernelPackage/ptp
  723. SUBMENU:=$(OTHER_MENU)
  724. TITLE:=PTP clock support
  725. DEPENDS:=+kmod-pps
  726. KCONFIG:= \
  727. CONFIG_PTP_1588_CLOCK \
  728. CONFIG_NET_PTP_CLASSIFY=y
  729. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  730. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  731. endef
  732. define KernelPackage/ptp/description
  733. The IEEE 1588 standard defines a method to precisely
  734. synchronize distributed clocks over Ethernet networks.
  735. endef
  736. $(eval $(call KernelPackage,ptp))
  737. define KernelPackage/ptp-gianfar
  738. SUBMENU:=$(OTHER_MENU)
  739. TITLE:=Freescale Gianfar PTP support
  740. DEPENDS:=@TARGET_mpc85xx +kmod-ptp @!LINUX_4_19
  741. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  742. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  743. AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
  744. endef
  745. define KernelPackage/ptp-gianfar/description
  746. Kernel module for IEEE 1588 support for Freescale
  747. Gianfar Ethernet drivers
  748. endef
  749. $(eval $(call KernelPackage,ptp-gianfar))
  750. define KernelPackage/ptp-qoriq
  751. SUBMENU:=$(OTHER_MENU)
  752. TITLE:=Freescale QorIQ PTP support
  753. DEPENDS:=@TARGET_mpc85xx +kmod-ptp @LINUX_4_19
  754. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  755. FILES:=$(LINUX_DIR)/drivers/ptp/ptp_qoriq.o
  756. AUTOLOAD:=$(call AutoProbe,ptp_qoriq)
  757. endef
  758. define KernelPackage/ptp-qoriq/description
  759. Kernel module for IEEE 1588 support for Freescale
  760. QorIQ Ethernet drivers
  761. endef
  762. $(eval $(call KernelPackage,ptp-qoriq))
  763. define KernelPackage/random-core
  764. SUBMENU:=$(OTHER_MENU)
  765. TITLE:=Hardware Random Number Generator Core support
  766. KCONFIG:=CONFIG_HW_RANDOM
  767. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  768. endef
  769. define KernelPackage/random-core/description
  770. Kernel module for the HW random number generator core infrastructure
  771. endef
  772. $(eval $(call KernelPackage,random-core))
  773. define KernelPackage/random-tpm
  774. SUBMENU:=$(OTHER_MENU)
  775. TITLE:=Hardware Random Number Generator TPM support
  776. KCONFIG:=CONFIG_HW_RANDOM_TPM
  777. FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko
  778. DEPENDS:= +kmod-random-core +kmod-tpm @!LINUX_4_19
  779. AUTOLOAD:=$(call AutoProbe,tpm-rng)
  780. endef
  781. define KernelPackage/random-tpm/description
  782. Kernel module for the Random Number Generator
  783. in the Trusted Platform Module.
  784. endef
  785. $(eval $(call KernelPackage,random-tpm))
  786. define KernelPackage/thermal
  787. SUBMENU:=$(OTHER_MENU)
  788. TITLE:=Generic Thermal sysfs driver
  789. DEPENDS:=+kmod-hwmon-core
  790. HIDDEN:=1
  791. KCONFIG:= \
  792. CONFIG_THERMAL \
  793. CONFIG_THERMAL_OF=y \
  794. CONFIG_CPU_THERMAL=y \
  795. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  796. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  797. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  798. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  799. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  800. CONFIG_THERMAL_GOV_STEP_WISE=y \
  801. CONFIG_THERMAL_GOV_USER_SPACE=n \
  802. CONFIG_THERMAL_HWMON=y \
  803. CONFIG_THERMAL_EMULATION=n
  804. FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
  805. AUTOLOAD:=$(call AutoProbe,thermal_sys)
  806. endef
  807. define KernelPackage/thermal/description
  808. Generic Thermal Sysfs driver offers a generic mechanism for thermal
  809. management. Usually it's made up of one or more thermal zone and cooling
  810. device.
  811. endef
  812. $(eval $(call KernelPackage,thermal))
  813. define KernelPackage/gpio-beeper
  814. SUBMENU:=$(OTHER_MENU)
  815. TITLE:=GPIO beeper support
  816. DEPENDS:=+kmod-input-core
  817. KCONFIG:= \
  818. CONFIG_INPUT_MISC=y \
  819. CONFIG_INPUT_GPIO_BEEPER
  820. FILES:= \
  821. $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
  822. AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
  823. endef
  824. define KernelPackage/gpio-beeper/description
  825. This enables playing beeps through an GPIO-connected buzzer
  826. endef
  827. $(eval $(call KernelPackage,gpio-beeper))
  828. define KernelPackage/echo
  829. SUBMENU:=$(OTHER_MENU)
  830. TITLE:=Line Echo Canceller
  831. KCONFIG:=CONFIG_ECHO
  832. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  833. AUTOLOAD:=$(call AutoLoad,50,echo)
  834. endef
  835. define KernelPackage/echo/description
  836. This driver provides line echo cancelling support for mISDN and
  837. DAHDI drivers
  838. endef
  839. $(eval $(call KernelPackage,echo))
  840. define KernelPackage/bmp085
  841. SUBMENU:=$(OTHER_MENU)
  842. TITLE:=BMP085/BMP18x pressure sensor
  843. DEPENDS:= +kmod-regmap-core
  844. KCONFIG:= CONFIG_BMP085
  845. FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
  846. endef
  847. define KernelPackage/bmp085/description
  848. This driver adds support for Bosch Sensortec's digital pressure
  849. sensors BMP085 and BMP18x.
  850. endef
  851. $(eval $(call KernelPackage,bmp085))
  852. define KernelPackage/bmp085-i2c
  853. SUBMENU:=$(OTHER_MENU)
  854. TITLE:=BMP085/BMP18x pressure sensor I2C
  855. DEPENDS:= +kmod-bmp085
  856. KCONFIG:= CONFIG_BMP085_I2C
  857. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-i2c.ko
  858. AUTOLOAD:=$(call AutoProbe,bmp085-i2c)
  859. endef
  860. define KernelPackage/bmp085-i2c/description
  861. This driver adds support for Bosch Sensortec's digital pressure
  862. sensor connected via I2C.
  863. endef
  864. $(eval $(call KernelPackage,bmp085-i2c))
  865. define KernelPackage/bmp085-spi
  866. SUBMENU:=$(OTHER_MENU)
  867. TITLE:=BMP085/BMP18x pressure sensor SPI
  868. DEPENDS:= +kmod-bmp085
  869. KCONFIG:= CONFIG_BMP085_SPI
  870. FILES:= $(LINUX_DIR)/drivers/misc/bmp085-spi.ko
  871. AUTOLOAD:=$(call AutoProbe,bmp085-spi)
  872. endef
  873. define KernelPackage/bmp085-spi/description
  874. This driver adds support for Bosch Sensortec's digital pressure
  875. sensor connected via SPI.
  876. endef
  877. $(eval $(call KernelPackage,bmp085-spi))
  878. define KernelPackage/tpm
  879. SUBMENU:=$(OTHER_MENU)
  880. TITLE:=TPM Hardware Support
  881. DEPENDS:= +!LINUX_4_14:kmod-random-core
  882. KCONFIG:= CONFIG_TCG_TPM
  883. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  884. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  885. endef
  886. define KernelPackage/tpm/description
  887. This enables TPM Hardware Support.
  888. endef
  889. $(eval $(call KernelPackage,tpm))
  890. define KernelPackage/tpm-tis
  891. SUBMENU:=$(OTHER_MENU)
  892. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  893. DEPENDS:= @TARGET_x86 +kmod-tpm
  894. KCONFIG:= CONFIG_TCG_TIS
  895. FILES:= \
  896. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  897. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  898. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  899. endef
  900. define KernelPackage/tpm-tis/description
  901. If you have a TPM security chip that is compliant with the
  902. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  903. specification (TPM2.0) say Yes and it will be accessible from
  904. within Linux.
  905. endef
  906. $(eval $(call KernelPackage,tpm-tis))
  907. define KernelPackage/tpm-i2c-atmel
  908. SUBMENU:=$(OTHER_MENU)
  909. TITLE:=TPM I2C Atmel Support
  910. DEPENDS:= +kmod-tpm +kmod-i2c-core
  911. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  912. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  913. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  914. endef
  915. define KernelPackage/tpm-i2c-atmel/description
  916. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  917. endef
  918. $(eval $(call KernelPackage,tpm-i2c-atmel))
  919. define KernelPackage/tpm-i2c-infineon
  920. SUBMENU:=$(OTHER_MENU)
  921. TITLE:= TPM I2C Infineon driver
  922. DEPENDS:= +kmod-tpm +kmod-i2c-core
  923. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  924. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  925. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  926. endef
  927. define KernelPackage/tpm-i2c-infineon/description
  928. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  929. endef
  930. $(eval $(call KernelPackage,tpm-i2c-infineon))
  931. define KernelPackage/w83627hf-wdt
  932. SUBMENU:=$(OTHER_MENU)
  933. TITLE:=Winbond 83627HF Watchdog Timer
  934. KCONFIG:=CONFIG_W83627HF_WDT
  935. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko
  936. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  937. endef
  938. define KernelPackage/w83627hf-wdt/description
  939. Kernel module for Winbond 83627HF Watchdog Timer
  940. endef
  941. $(eval $(call KernelPackage,w83627hf-wdt))
  942. define KernelPackage/itco-wdt
  943. SUBMENU:=$(OTHER_MENU)
  944. TITLE:=Intel iTCO Watchdog Timer
  945. KCONFIG:=CONFIG_ITCO_WDT \
  946. CONFIG_ITCO_VENDOR_SUPPORT=y
  947. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
  948. $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
  949. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  950. endef
  951. define KernelPackage/itco-wdt/description
  952. Kernel module for Intel iTCO Watchdog Timer
  953. endef
  954. $(eval $(call KernelPackage,itco-wdt))
  955. define KernelPackage/it87-wdt
  956. SUBMENU:=$(OTHER_MENU)
  957. TITLE:=ITE IT87 Watchdog Timer
  958. KCONFIG:=CONFIG_IT87_WDT
  959. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/it87_wdt.ko
  960. AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
  961. MODPARAMS.it87-wdt:= \
  962. nogameport=1 \
  963. nocir=1
  964. endef
  965. define KernelPackage/it87-wdt/description
  966. Kernel module for ITE IT87 Watchdog Timer
  967. endef
  968. $(eval $(call KernelPackage,it87-wdt))