Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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. endif # V4L_PLATFORM_DRIVERS
  116. menuconfig V4L_MEM2MEM_DRIVERS
  117. bool "Memory-to-memory multimedia devices"
  118. depends on VIDEO_V4L2
  119. depends on MEDIA_CAMERA_SUPPORT
  120. default n
  121. ---help---
  122. Say Y here to enable selecting drivers for V4L devices that
  123. use system memory for both source and destination buffers, as opposed
  124. to capture and output drivers, which use memory buffers for just
  125. one of those.
  126. if V4L_MEM2MEM_DRIVERS
  127. config VIDEO_CODA
  128. tristate "Chips&Media Coda multi-standard codec IP"
  129. depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
  130. depends on HAS_DMA
  131. select SRAM
  132. select VIDEOBUF2_DMA_CONTIG
  133. select VIDEOBUF2_VMALLOC
  134. select V4L2_MEM2MEM_DEV
  135. select GENERIC_ALLOCATOR
  136. ---help---
  137. Coda is a range of video codec IPs that supports
  138. H.264, MPEG-4, and other video formats.
  139. config VIDEO_MEDIATEK_VPU
  140. tristate "Mediatek Video Processor Unit"
  141. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  142. depends on ARCH_MEDIATEK || COMPILE_TEST
  143. ---help---
  144. This driver provides downloading VPU firmware and
  145. communicating with VPU. This driver for hw video
  146. codec embedded in Mediatek's MT8173 SOCs. It is able
  147. to handle video decoding/encoding in a range of formats.
  148. To compile this driver as a module, choose M here: the
  149. module will be called mtk-vpu.
  150. config VIDEO_MEDIATEK_MDP
  151. tristate "Mediatek MDP driver"
  152. depends on MTK_IOMMU || COMPILE_TEST
  153. depends on VIDEO_DEV && VIDEO_V4L2
  154. depends on ARCH_MEDIATEK || COMPILE_TEST
  155. depends on HAS_DMA
  156. select VIDEOBUF2_DMA_CONTIG
  157. select V4L2_MEM2MEM_DEV
  158. select VIDEO_MEDIATEK_VPU
  159. default n
  160. ---help---
  161. It is a v4l2 driver and present in Mediatek MT8173 SoCs.
  162. The driver supports for scaling and color space conversion.
  163. To compile this driver as a module, choose M here: the
  164. module will be called mtk-mdp.
  165. config VIDEO_MEDIATEK_VCODEC
  166. tristate "Mediatek Video Codec driver"
  167. depends on MTK_IOMMU || COMPILE_TEST
  168. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  169. depends on ARCH_MEDIATEK || COMPILE_TEST
  170. select VIDEOBUF2_DMA_CONTIG
  171. select V4L2_MEM2MEM_DEV
  172. select VIDEO_MEDIATEK_VPU
  173. default n
  174. ---help---
  175. Mediatek video codec driver provides HW capability to
  176. encode and decode in a range of video formats
  177. This driver rely on VPU driver to communicate with VPU.
  178. To compile this driver as a module, choose M here: the
  179. module will be called mtk-vcodec
  180. config VIDEO_MEM2MEM_DEINTERLACE
  181. tristate "Deinterlace support"
  182. depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
  183. depends on HAS_DMA
  184. select VIDEOBUF2_DMA_CONTIG
  185. select V4L2_MEM2MEM_DEV
  186. help
  187. Generic deinterlacing V4L2 driver.
  188. config VIDEO_SAMSUNG_S5P_G2D
  189. tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
  190. depends on VIDEO_DEV && VIDEO_V4L2
  191. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  192. depends on HAS_DMA
  193. select VIDEOBUF2_DMA_CONTIG
  194. select V4L2_MEM2MEM_DEV
  195. default n
  196. ---help---
  197. This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
  198. 2d graphics accelerator.
  199. config VIDEO_SAMSUNG_S5P_JPEG
  200. tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
  201. depends on VIDEO_DEV && VIDEO_V4L2
  202. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  203. depends on HAS_DMA
  204. select VIDEOBUF2_DMA_CONTIG
  205. select V4L2_MEM2MEM_DEV
  206. ---help---
  207. This is a v4l2 driver for Samsung S5P, EXYNOS3250
  208. and EXYNOS4 JPEG codec
  209. config VIDEO_SAMSUNG_S5P_MFC
  210. tristate "Samsung S5P MFC Video Codec"
  211. depends on VIDEO_DEV && VIDEO_V4L2
  212. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  213. depends on HAS_DMA
  214. select VIDEOBUF2_DMA_CONTIG
  215. default n
  216. help
  217. MFC 5.1 and 6.x driver for V4L2
  218. config VIDEO_MX2_EMMAPRP
  219. tristate "MX2 eMMa-PrP support"
  220. depends on VIDEO_DEV && VIDEO_V4L2
  221. depends on SOC_IMX27 || COMPILE_TEST
  222. depends on HAS_DMA
  223. select VIDEOBUF2_DMA_CONTIG
  224. select V4L2_MEM2MEM_DEV
  225. help
  226. MX2X chips have a PrP that can be used to process buffers from
  227. memory to memory. Operations include resizing and format
  228. conversion.
  229. config VIDEO_SAMSUNG_EXYNOS_GSC
  230. tristate "Samsung Exynos G-Scaler driver"
  231. depends on VIDEO_DEV && VIDEO_V4L2
  232. depends on ARCH_EXYNOS || COMPILE_TEST
  233. depends on HAS_DMA
  234. select VIDEOBUF2_DMA_CONTIG
  235. select V4L2_MEM2MEM_DEV
  236. help
  237. This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
  238. config VIDEO_STI_BDISP
  239. tristate "STMicroelectronics BDISP 2D blitter driver"
  240. depends on VIDEO_DEV && VIDEO_V4L2
  241. depends on HAS_DMA
  242. depends on ARCH_STI || COMPILE_TEST
  243. select VIDEOBUF2_DMA_CONTIG
  244. select V4L2_MEM2MEM_DEV
  245. help
  246. This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
  247. config VIDEO_STI_HVA
  248. tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
  249. depends on VIDEO_DEV && VIDEO_V4L2
  250. depends on HAS_DMA
  251. depends on ARCH_STI || COMPILE_TEST
  252. select VIDEOBUF2_DMA_CONTIG
  253. select V4L2_MEM2MEM_DEV
  254. help
  255. This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
  256. video encoder of STMicroelectronics SoC, allowing hardware encoding of
  257. raw uncompressed formats in various compressed video bitstreams format.
  258. To compile this driver as a module, choose M here:
  259. the module will be called st-hva.
  260. config VIDEO_SH_VEU
  261. tristate "SuperH VEU mem2mem video processing driver"
  262. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  263. select VIDEOBUF2_DMA_CONTIG
  264. select V4L2_MEM2MEM_DEV
  265. help
  266. Support for the Video Engine Unit (VEU) on SuperH and
  267. SH-Mobile SoCs.
  268. config VIDEO_RENESAS_FDP1
  269. tristate "Renesas Fine Display Processor"
  270. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  271. depends on ARCH_SHMOBILE || COMPILE_TEST
  272. depends on (!ARCH_RENESAS && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
  273. select VIDEOBUF2_DMA_CONTIG
  274. select V4L2_MEM2MEM_DEV
  275. ---help---
  276. This is a V4L2 driver for the Renesas Fine Display Processor
  277. providing colour space conversion, and de-interlacing features.
  278. To compile this driver as a module, choose M here: the module
  279. will be called rcar_fdp1.
  280. config VIDEO_RENESAS_JPU
  281. tristate "Renesas JPEG Processing Unit"
  282. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  283. depends on ARCH_RENESAS || COMPILE_TEST
  284. select VIDEOBUF2_DMA_CONTIG
  285. select V4L2_MEM2MEM_DEV
  286. ---help---
  287. This is a V4L2 driver for the Renesas JPEG Processing Unit.
  288. To compile this driver as a module, choose M here: the module
  289. will be called rcar_jpu.
  290. config VIDEO_RENESAS_FCP
  291. tristate "Renesas Frame Compression Processor"
  292. depends on ARCH_RENESAS || COMPILE_TEST
  293. depends on OF
  294. ---help---
  295. This is a driver for the Renesas Frame Compression Processor (FCP).
  296. The FCP is a companion module of video processing modules in the
  297. Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
  298. VSP and FDP modules.
  299. To compile this driver as a module, choose M here: the module
  300. will be called rcar-fcp.
  301. config VIDEO_RENESAS_VSP1
  302. tristate "Renesas VSP1 Video Processing Engine"
  303. depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
  304. depends on (ARCH_RENESAS && OF) || COMPILE_TEST
  305. depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
  306. select VIDEOBUF2_DMA_CONTIG
  307. ---help---
  308. This is a V4L2 driver for the Renesas VSP1 video processing engine.
  309. To compile this driver as a module, choose M here: the module
  310. will be called vsp1.
  311. config VIDEO_TI_VPE
  312. tristate "TI VPE (Video Processing Engine) driver"
  313. depends on VIDEO_DEV && VIDEO_V4L2
  314. depends on SOC_DRA7XX || COMPILE_TEST
  315. depends on HAS_DMA
  316. select VIDEOBUF2_DMA_CONTIG
  317. select V4L2_MEM2MEM_DEV
  318. select VIDEO_TI_VPDMA
  319. select VIDEO_TI_SC
  320. select VIDEO_TI_CSC
  321. default n
  322. ---help---
  323. Support for the TI VPE(Video Processing Engine) block
  324. found on DRA7XX SoC.
  325. config VIDEO_TI_VPE_DEBUG
  326. bool "VPE debug messages"
  327. depends on VIDEO_TI_VPE
  328. ---help---
  329. Enable debug messages on VPE driver.
  330. endif # V4L_MEM2MEM_DRIVERS
  331. # TI VIDEO PORT Helper Modules
  332. # These will be selected by VPE and VIP
  333. config VIDEO_TI_VPDMA
  334. tristate
  335. config VIDEO_TI_SC
  336. tristate
  337. config VIDEO_TI_CSC
  338. tristate
  339. menuconfig V4L_TEST_DRIVERS
  340. bool "Media test drivers"
  341. depends on MEDIA_CAMERA_SUPPORT
  342. if V4L_TEST_DRIVERS
  343. source "drivers/media/platform/vivid/Kconfig"
  344. config VIDEO_VIM2M
  345. tristate "Virtual Memory-to-Memory Driver"
  346. depends on VIDEO_DEV && VIDEO_V4L2
  347. select VIDEOBUF2_VMALLOC
  348. select V4L2_MEM2MEM_DEV
  349. default n
  350. ---help---
  351. This is a virtual test device for the memory-to-memory driver
  352. framework.
  353. endif #V4L_TEST_DRIVERS
  354. menuconfig DVB_PLATFORM_DRIVERS
  355. bool "DVB platform devices"
  356. depends on MEDIA_DIGITAL_TV_SUPPORT
  357. default n
  358. ---help---
  359. Say Y here to enable support for platform-specific Digital TV drivers.
  360. if DVB_PLATFORM_DRIVERS
  361. source "drivers/media/platform/sti/c8sectpfe/Kconfig"
  362. endif #DVB_PLATFORM_DRIVERS