Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. #
  2. # Platform drivers
  3. # Most drivers here are currently for webcam support
  4. menuconfig V4L_PLATFORM_DRIVERS
  5. bool "V4L platform devices"
  6. depends on MEDIA_CAMERA_SUPPORT
  7. default n
  8. ---help---
  9. Say Y here to enable support for platform-specific V4L drivers.
  10. if V4L_PLATFORM_DRIVERS
  11. source "drivers/media/platform/marvell-ccic/Kconfig"
  12. config VIDEO_VIA_CAMERA
  13. tristate "VIAFB camera controller support"
  14. depends on FB_VIA
  15. select VIDEOBUF_DMA_SG
  16. select VIDEO_OV7670
  17. help
  18. Driver support for the integrated camera controller in VIA
  19. Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
  20. with ov7670 sensors.
  21. #
  22. # Platform multimedia device configuration
  23. #
  24. source "drivers/media/platform/davinci/Kconfig"
  25. source "drivers/media/platform/omap/Kconfig"
  26. source "drivers/media/platform/blackfin/Kconfig"
  27. config VIDEO_SH_VOU
  28. tristate "SuperH VOU video output driver"
  29. depends on MEDIA_CAMERA_SUPPORT
  30. depends on VIDEO_DEV && I2C && HAS_DMA
  31. depends on ARCH_SHMOBILE || COMPILE_TEST
  32. select VIDEOBUF2_DMA_CONTIG
  33. help
  34. Support for the Video Output Unit (VOU) on SuperH SoCs.
  35. config VIDEO_VIU
  36. tristate "Freescale VIU Video Driver"
  37. depends on VIDEO_V4L2 && PPC_MPC512x
  38. select VIDEOBUF_DMA_CONTIG
  39. default y
  40. ---help---
  41. Support for Freescale VIU video driver. This device captures
  42. video data, or overlays video on DIU frame buffer.
  43. Say Y here if you want to enable VIU device on MPC5121e Rev2+.
  44. In doubt, say N.
  45. config VIDEO_M32R_AR
  46. tristate "AR devices"
  47. depends on VIDEO_V4L2
  48. depends on M32R || COMPILE_TEST
  49. ---help---
  50. This is a video4linux driver for the Renesas AR (Artificial Retina)
  51. camera module.
  52. config VIDEO_M32R_AR_M64278
  53. tristate "AR device with color module M64278(VGA)"
  54. depends on PLAT_M32700UT
  55. select VIDEO_M32R_AR
  56. ---help---
  57. This is a video4linux driver for the Renesas AR (Artificial
  58. Retina) with M64278E-800 camera module.
  59. This module supports VGA(640x480 pixels) resolutions.
  60. To compile this driver as a module, choose M here: the
  61. module will be called arv.
  62. config VIDEO_OMAP3
  63. tristate "OMAP 3 Camera support"
  64. depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
  65. depends on HAS_DMA && OF
  66. depends on OMAP_IOMMU
  67. select ARM_DMA_USE_IOMMU
  68. select VIDEOBUF2_DMA_CONTIG
  69. select MFD_SYSCON
  70. ---help---
  71. Driver for an OMAP 3 camera controller.
  72. config VIDEO_OMAP3_DEBUG
  73. bool "OMAP 3 Camera debug messages"
  74. depends on VIDEO_OMAP3
  75. ---help---
  76. Enable debug messages on OMAP 3 camera controller driver.
  77. config VIDEO_PXA27x
  78. tristate "PXA27x Quick Capture Interface driver"
  79. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  80. depends on PXA27x || COMPILE_TEST
  81. select VIDEOBUF2_DMA_SG
  82. select SG_SPLIT
  83. ---help---
  84. This is a v4l2 driver for the PXA27x Quick Capture Interface
  85. config VIDEO_S3C_CAMIF
  86. tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
  87. depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
  88. depends on PM
  89. depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
  90. depends on HAS_DMA
  91. select VIDEOBUF2_DMA_CONTIG
  92. ---help---
  93. This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
  94. host interface (CAMIF).
  95. To compile this driver as a module, choose M here: the module
  96. will be called s3c-camif.
  97. source "drivers/media/platform/soc_camera/Kconfig"
  98. source "drivers/media/platform/exynos4-is/Kconfig"
  99. source "drivers/media/platform/am437x/Kconfig"
  100. source "drivers/media/platform/xilinx/Kconfig"
  101. source "drivers/media/platform/rcar-vin/Kconfig"
  102. source "drivers/media/platform/atmel/Kconfig"
  103. config VIDEO_TI_CAL
  104. tristate "TI CAL (Camera Adaptation Layer) driver"
  105. depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
  106. depends on SOC_DRA7XX || COMPILE_TEST
  107. depends on HAS_DMA
  108. select VIDEOBUF2_DMA_CONTIG
  109. default n
  110. ---help---
  111. Support for the TI CAL (Camera Adaptation Layer) block
  112. found on DRA72X SoC.
  113. In TI Technical Reference Manual this module is referred as
  114. Camera Interface Subsystem (CAMSS).
  115. config VIDEO_TI_VIP
  116. tristate "TI Video Input Port"
  117. default n
  118. depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
  119. depends on HAS_DMA
  120. select VIDEOBUF2_DMA_CONTIG
  121. select VIDEO_TI_VPDMA
  122. select VIDEO_TI_SC
  123. select VIDEO_TI_CSC
  124. ---help---
  125. Driver support for VIP module on certain TI SoC's
  126. VIP = Video Input Port.
  127. endif # V4L_PLATFORM_DRIVERS
  128. menuconfig V4L_MEM2MEM_DRIVERS
  129. bool "Memory-to-memory multimedia devices"
  130. depends on VIDEO_V4L2
  131. depends on MEDIA_CAMERA_SUPPORT
  132. default n
  133. ---help---
  134. Say Y here to enable selecting drivers for V4L devices that
  135. use system memory for both source and destination buffers, as opposed
  136. to capture and output drivers, which use memory buffers for just
  137. one of those.
  138. if V4L_MEM2MEM_DRIVERS
  139. config VIDEO_CODA
  140. tristate "Chips&Media Coda multi-standard codec IP"
  141. depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
  142. depends on HAS_DMA
  143. select SRAM
  144. select VIDEOBUF2_DMA_CONTIG
  145. select VIDEOBUF2_VMALLOC
  146. select V4L2_MEM2MEM_DEV
  147. select GENERIC_ALLOCATOR
  148. ---help---
  149. Coda is a range of video codec IPs that supports
  150. H.264, MPEG-4, and other video formats.
  151. config VIDEO_MEDIATEK_VPU
  152. tristate "Mediatek Video Processor Unit"
  153. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  154. depends on ARCH_MEDIATEK || COMPILE_TEST
  155. ---help---
  156. This driver provides downloading VPU firmware and
  157. communicating with VPU. This driver for hw video
  158. codec embedded in Mediatek's MT8173 SOCs. It is able
  159. to handle video decoding/encoding in a range of formats.
  160. To compile this driver as a module, choose M here: the
  161. module will be called mtk-vpu.
  162. config VIDEO_MEDIATEK_VCODEC
  163. tristate "Mediatek Video Codec driver"
  164. depends on MTK_IOMMU || COMPILE_TEST
  165. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  166. depends on ARCH_MEDIATEK || COMPILE_TEST
  167. select VIDEOBUF2_DMA_CONTIG
  168. select V4L2_MEM2MEM_DEV
  169. select VIDEO_MEDIATEK_VPU
  170. default n
  171. ---help---
  172. Mediatek video codec driver provides HW capability to
  173. encode and decode in a range of video formats
  174. This driver rely on VPU driver to communicate with VPU.
  175. To compile this driver as a module, choose M here: the
  176. module will be called mtk-vcodec
  177. config VIDEO_MEM2MEM_DEINTERLACE
  178. tristate "Deinterlace support"
  179. depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
  180. depends on HAS_DMA
  181. select VIDEOBUF2_DMA_CONTIG
  182. select V4L2_MEM2MEM_DEV
  183. help
  184. Generic deinterlacing V4L2 driver.
  185. config VIDEO_SAMSUNG_S5P_G2D
  186. tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
  187. depends on VIDEO_DEV && VIDEO_V4L2
  188. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  189. depends on HAS_DMA
  190. select VIDEOBUF2_DMA_CONTIG
  191. select V4L2_MEM2MEM_DEV
  192. default n
  193. ---help---
  194. This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
  195. 2d graphics accelerator.
  196. config VIDEO_SAMSUNG_S5P_JPEG
  197. tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
  198. depends on VIDEO_DEV && VIDEO_V4L2
  199. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  200. depends on HAS_DMA
  201. select VIDEOBUF2_DMA_CONTIG
  202. select V4L2_MEM2MEM_DEV
  203. ---help---
  204. This is a v4l2 driver for Samsung S5P, EXYNOS3250
  205. and EXYNOS4 JPEG codec
  206. config VIDEO_SAMSUNG_S5P_MFC
  207. tristate "Samsung S5P MFC Video Codec"
  208. depends on VIDEO_DEV && VIDEO_V4L2
  209. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  210. depends on HAS_DMA
  211. select VIDEOBUF2_DMA_CONTIG
  212. default n
  213. help
  214. MFC 5.1 and 6.x driver for V4L2
  215. config VIDEO_MX2_EMMAPRP
  216. tristate "MX2 eMMa-PrP support"
  217. depends on VIDEO_DEV && VIDEO_V4L2
  218. depends on SOC_IMX27 || COMPILE_TEST
  219. depends on HAS_DMA
  220. select VIDEOBUF2_DMA_CONTIG
  221. select V4L2_MEM2MEM_DEV
  222. help
  223. MX2X chips have a PrP that can be used to process buffers from
  224. memory to memory. Operations include resizing and format
  225. conversion.
  226. config VIDEO_SAMSUNG_EXYNOS_GSC
  227. tristate "Samsung Exynos G-Scaler driver"
  228. depends on VIDEO_DEV && VIDEO_V4L2
  229. depends on ARCH_EXYNOS5 || COMPILE_TEST
  230. depends on HAS_DMA
  231. select VIDEOBUF2_DMA_CONTIG
  232. select V4L2_MEM2MEM_DEV
  233. help
  234. This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
  235. config VIDEO_STI_BDISP
  236. tristate "STMicroelectronics BDISP 2D blitter driver"
  237. depends on VIDEO_DEV && VIDEO_V4L2
  238. depends on HAS_DMA
  239. depends on ARCH_STI || COMPILE_TEST
  240. select VIDEOBUF2_DMA_CONTIG
  241. select V4L2_MEM2MEM_DEV
  242. help
  243. This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
  244. config VIDEO_STI_HVA
  245. tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
  246. depends on VIDEO_DEV && VIDEO_V4L2
  247. depends on HAS_DMA
  248. depends on ARCH_STI || COMPILE_TEST
  249. select VIDEOBUF2_DMA_CONTIG
  250. select V4L2_MEM2MEM_DEV
  251. help
  252. This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
  253. video encoder of STMicroelectronics SoC, allowing hardware encoding of
  254. raw uncompressed formats in various compressed video bitstreams format.
  255. To compile this driver as a module, choose M here:
  256. the module will be called st-hva.
  257. config VIDEO_SH_VEU
  258. tristate "SuperH VEU mem2mem video processing driver"
  259. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  260. select VIDEOBUF2_DMA_CONTIG
  261. select V4L2_MEM2MEM_DEV
  262. help
  263. Support for the Video Engine Unit (VEU) on SuperH and
  264. SH-Mobile SoCs.
  265. config VIDEO_RENESAS_JPU
  266. tristate "Renesas JPEG Processing Unit"
  267. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  268. depends on ARCH_RENESAS || COMPILE_TEST
  269. select VIDEOBUF2_DMA_CONTIG
  270. select V4L2_MEM2MEM_DEV
  271. ---help---
  272. This is a V4L2 driver for the Renesas JPEG Processing Unit.
  273. To compile this driver as a module, choose M here: the module
  274. will be called rcar_jpu.
  275. config VIDEO_RENESAS_FCP
  276. tristate "Renesas Frame Compression Processor"
  277. depends on ARCH_RENESAS || COMPILE_TEST
  278. depends on OF
  279. ---help---
  280. This is a driver for the Renesas Frame Compression Processor (FCP).
  281. The FCP is a companion module of video processing modules in the
  282. Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
  283. VSP and FDP modules.
  284. To compile this driver as a module, choose M here: the module
  285. will be called rcar-fcp.
  286. config VIDEO_RENESAS_VSP1
  287. tristate "Renesas VSP1 Video Processing Engine"
  288. depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
  289. depends on (ARCH_RENESAS && OF) || COMPILE_TEST
  290. depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
  291. select VIDEOBUF2_DMA_CONTIG
  292. ---help---
  293. This is a V4L2 driver for the Renesas VSP1 video processing engine.
  294. To compile this driver as a module, choose M here: the module
  295. will be called vsp1.
  296. config VIDEO_TI_VPE
  297. tristate "TI VPE (Video Processing Engine) driver"
  298. depends on VIDEO_DEV && VIDEO_V4L2
  299. depends on SOC_DRA7XX || COMPILE_TEST
  300. depends on HAS_DMA
  301. select VIDEOBUF2_DMA_CONTIG
  302. select V4L2_MEM2MEM_DEV
  303. select VIDEO_TI_VPDMA
  304. select VIDEO_TI_SC
  305. select VIDEO_TI_CSC
  306. default n
  307. ---help---
  308. Support for the TI VPE(Video Processing Engine) block
  309. found on DRA7XX SoC.
  310. config VIDEO_TI_VPE_DEBUG
  311. bool "VPE debug messages"
  312. depends on VIDEO_TI_VPE
  313. ---help---
  314. Enable debug messages on VPE driver.
  315. endif # V4L_MEM2MEM_DRIVERS
  316. # TI VIDEO PORT Helper Modules
  317. # These will be selected by VPE and VIP
  318. config VIDEO_TI_VPDMA
  319. tristate
  320. config VIDEO_TI_SC
  321. tristate
  322. config VIDEO_TI_CSC
  323. tristate
  324. menuconfig V4L_TEST_DRIVERS
  325. bool "Media test drivers"
  326. depends on MEDIA_CAMERA_SUPPORT
  327. if V4L_TEST_DRIVERS
  328. source "drivers/media/platform/vivid/Kconfig"
  329. config VIDEO_VIM2M
  330. tristate "Virtual Memory-to-Memory Driver"
  331. depends on VIDEO_DEV && VIDEO_V4L2
  332. select VIDEOBUF2_VMALLOC
  333. select V4L2_MEM2MEM_DEV
  334. default n
  335. ---help---
  336. This is a virtual test device for the memory-to-memory driver
  337. framework.
  338. endif #V4L_TEST_DRIVERS
  339. menuconfig DVB_PLATFORM_DRIVERS
  340. bool "DVB platform devices"
  341. depends on MEDIA_DIGITAL_TV_SUPPORT
  342. default n
  343. ---help---
  344. Say Y here to enable support for platform-specific Digital TV drivers.
  345. if DVB_PLATFORM_DRIVERS
  346. source "drivers/media/platform/sti/c8sectpfe/Kconfig"
  347. endif #DVB_PLATFORM_DRIVERS