Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  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 || COMPILE_TEST)
  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_IMX_VDOA
  140. def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
  141. config VIDEO_MEDIATEK_JPEG
  142. tristate "Mediatek JPEG Codec driver"
  143. depends on MTK_IOMMU_V1 || COMPILE_TEST
  144. depends on VIDEO_DEV && VIDEO_V4L2
  145. depends on ARCH_MEDIATEK || COMPILE_TEST
  146. depends on HAS_DMA
  147. select VIDEOBUF2_DMA_CONTIG
  148. select V4L2_MEM2MEM_DEV
  149. ---help---
  150. Mediatek jpeg codec driver provides HW capability to decode
  151. JPEG format
  152. To compile this driver as a module, choose M here: the
  153. module will be called mtk-jpeg
  154. config VIDEO_MEDIATEK_VPU
  155. tristate "Mediatek Video Processor Unit"
  156. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  157. depends on ARCH_MEDIATEK || COMPILE_TEST
  158. ---help---
  159. This driver provides downloading VPU firmware and
  160. communicating with VPU. This driver for hw video
  161. codec embedded in Mediatek's MT8173 SOCs. It is able
  162. to handle video decoding/encoding in a range of formats.
  163. To compile this driver as a module, choose M here: the
  164. module will be called mtk-vpu.
  165. config VIDEO_MEDIATEK_MDP
  166. tristate "Mediatek MDP driver"
  167. depends on MTK_IOMMU || COMPILE_TEST
  168. depends on VIDEO_DEV && VIDEO_V4L2
  169. depends on ARCH_MEDIATEK || COMPILE_TEST
  170. depends on HAS_DMA
  171. select VIDEOBUF2_DMA_CONTIG
  172. select V4L2_MEM2MEM_DEV
  173. select VIDEO_MEDIATEK_VPU
  174. default n
  175. ---help---
  176. It is a v4l2 driver and present in Mediatek MT8173 SoCs.
  177. The driver supports for scaling and color space conversion.
  178. To compile this driver as a module, choose M here: the
  179. module will be called mtk-mdp.
  180. config VIDEO_MEDIATEK_VCODEC
  181. tristate "Mediatek Video Codec driver"
  182. depends on MTK_IOMMU || COMPILE_TEST
  183. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  184. depends on ARCH_MEDIATEK || COMPILE_TEST
  185. select VIDEOBUF2_DMA_CONTIG
  186. select V4L2_MEM2MEM_DEV
  187. select VIDEO_MEDIATEK_VPU
  188. default n
  189. ---help---
  190. Mediatek video codec driver provides HW capability to
  191. encode and decode in a range of video formats
  192. This driver rely on VPU driver to communicate with VPU.
  193. To compile this driver as a module, choose M here: the
  194. module will be called mtk-vcodec
  195. config VIDEO_MEM2MEM_DEINTERLACE
  196. tristate "Deinterlace support"
  197. depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
  198. depends on HAS_DMA
  199. select VIDEOBUF2_DMA_CONTIG
  200. select V4L2_MEM2MEM_DEV
  201. help
  202. Generic deinterlacing V4L2 driver.
  203. config VIDEO_SAMSUNG_S5P_G2D
  204. tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
  205. depends on VIDEO_DEV && VIDEO_V4L2
  206. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  207. depends on HAS_DMA
  208. select VIDEOBUF2_DMA_CONTIG
  209. select V4L2_MEM2MEM_DEV
  210. default n
  211. ---help---
  212. This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
  213. 2d graphics accelerator.
  214. config VIDEO_SAMSUNG_S5P_JPEG
  215. tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
  216. depends on VIDEO_DEV && VIDEO_V4L2
  217. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  218. depends on HAS_DMA
  219. select VIDEOBUF2_DMA_CONTIG
  220. select V4L2_MEM2MEM_DEV
  221. ---help---
  222. This is a v4l2 driver for Samsung S5P, EXYNOS3250
  223. and EXYNOS4 JPEG codec
  224. config VIDEO_SAMSUNG_S5P_MFC
  225. tristate "Samsung S5P MFC Video Codec"
  226. depends on VIDEO_DEV && VIDEO_V4L2
  227. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  228. depends on HAS_DMA
  229. select VIDEOBUF2_DMA_CONTIG
  230. default n
  231. help
  232. MFC 5.1 and 6.x driver for V4L2
  233. config VIDEO_MX2_EMMAPRP
  234. tristate "MX2 eMMa-PrP support"
  235. depends on VIDEO_DEV && VIDEO_V4L2
  236. depends on SOC_IMX27 || COMPILE_TEST
  237. depends on HAS_DMA
  238. select VIDEOBUF2_DMA_CONTIG
  239. select V4L2_MEM2MEM_DEV
  240. help
  241. MX2X chips have a PrP that can be used to process buffers from
  242. memory to memory. Operations include resizing and format
  243. conversion.
  244. config VIDEO_SAMSUNG_EXYNOS_GSC
  245. tristate "Samsung Exynos G-Scaler driver"
  246. depends on VIDEO_DEV && VIDEO_V4L2
  247. depends on ARCH_EXYNOS || COMPILE_TEST
  248. depends on HAS_DMA
  249. select VIDEOBUF2_DMA_CONTIG
  250. select V4L2_MEM2MEM_DEV
  251. help
  252. This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
  253. config VIDEO_STI_BDISP
  254. tristate "STMicroelectronics BDISP 2D blitter driver"
  255. depends on VIDEO_DEV && VIDEO_V4L2
  256. depends on HAS_DMA
  257. depends on ARCH_STI || COMPILE_TEST
  258. select VIDEOBUF2_DMA_CONTIG
  259. select V4L2_MEM2MEM_DEV
  260. help
  261. This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
  262. config VIDEO_STI_HVA
  263. tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
  264. depends on VIDEO_DEV && VIDEO_V4L2
  265. depends on HAS_DMA
  266. depends on ARCH_STI || COMPILE_TEST
  267. select VIDEOBUF2_DMA_CONTIG
  268. select V4L2_MEM2MEM_DEV
  269. help
  270. This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
  271. video encoder of STMicroelectronics SoC, allowing hardware encoding of
  272. raw uncompressed formats in various compressed video bitstreams format.
  273. To compile this driver as a module, choose M here:
  274. the module will be called st-hva.
  275. config VIDEO_STI_HVA_DEBUGFS
  276. bool "Export STMicroelectronics HVA internals in debugfs"
  277. depends on VIDEO_STI_HVA
  278. depends on DEBUG_FS
  279. help
  280. Select this to see information about the internal state and the last
  281. operation of STMicroelectronics HVA multi-format video encoder in
  282. debugfs.
  283. Choose N unless you know you need this.
  284. config VIDEO_STI_DELTA
  285. tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
  286. depends on VIDEO_DEV && VIDEO_V4L2
  287. depends on ARCH_STI || COMPILE_TEST
  288. depends on HAS_DMA
  289. help
  290. This V4L2 driver enables DELTA multi-format video decoder
  291. of STMicroelectronics STiH4xx SoC series allowing hardware
  292. decoding of various compressed video bitstream format in
  293. raw uncompressed format.
  294. Use this option to see the decoders available for such
  295. hardware.
  296. Please notice that the driver will only be built if
  297. at least one of the DELTA decoder below is selected.
  298. if VIDEO_STI_DELTA
  299. config VIDEO_STI_DELTA_MJPEG
  300. bool "STMicroelectronics DELTA MJPEG support"
  301. default y
  302. help
  303. Enables DELTA MJPEG hardware support.
  304. To compile this driver as a module, choose M here:
  305. the module will be called st-delta.
  306. config VIDEO_STI_DELTA_DRIVER
  307. tristate
  308. depends on VIDEO_STI_DELTA
  309. depends on VIDEO_STI_DELTA_MJPEG
  310. default VIDEO_STI_DELTA_MJPEG
  311. select VIDEOBUF2_DMA_CONTIG
  312. select V4L2_MEM2MEM_DEV
  313. select RPMSG
  314. endif # VIDEO_STI_DELTA
  315. config VIDEO_SH_VEU
  316. tristate "SuperH VEU mem2mem video processing driver"
  317. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  318. select VIDEOBUF2_DMA_CONTIG
  319. select V4L2_MEM2MEM_DEV
  320. help
  321. Support for the Video Engine Unit (VEU) on SuperH and
  322. SH-Mobile SoCs.
  323. config VIDEO_RENESAS_FDP1
  324. tristate "Renesas Fine Display Processor"
  325. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  326. depends on ARCH_SHMOBILE || COMPILE_TEST
  327. depends on (!ARCH_RENESAS && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
  328. select VIDEOBUF2_DMA_CONTIG
  329. select V4L2_MEM2MEM_DEV
  330. ---help---
  331. This is a V4L2 driver for the Renesas Fine Display Processor
  332. providing colour space conversion, and de-interlacing features.
  333. To compile this driver as a module, choose M here: the module
  334. will be called rcar_fdp1.
  335. config VIDEO_RENESAS_JPU
  336. tristate "Renesas JPEG Processing Unit"
  337. depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
  338. depends on ARCH_RENESAS || COMPILE_TEST
  339. select VIDEOBUF2_DMA_CONTIG
  340. select V4L2_MEM2MEM_DEV
  341. ---help---
  342. This is a V4L2 driver for the Renesas JPEG Processing Unit.
  343. To compile this driver as a module, choose M here: the module
  344. will be called rcar_jpu.
  345. config VIDEO_RENESAS_FCP
  346. tristate "Renesas Frame Compression Processor"
  347. depends on ARCH_RENESAS || COMPILE_TEST
  348. depends on OF
  349. ---help---
  350. This is a driver for the Renesas Frame Compression Processor (FCP).
  351. The FCP is a companion module of video processing modules in the
  352. Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
  353. VSP and FDP modules.
  354. To compile this driver as a module, choose M here: the module
  355. will be called rcar-fcp.
  356. config VIDEO_RENESAS_VSP1
  357. tristate "Renesas VSP1 Video Processing Engine"
  358. depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
  359. depends on (ARCH_RENESAS && OF) || COMPILE_TEST
  360. depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
  361. select VIDEOBUF2_DMA_CONTIG
  362. select VIDEOBUF2_VMALLOC
  363. ---help---
  364. This is a V4L2 driver for the Renesas VSP1 video processing engine.
  365. To compile this driver as a module, choose M here: the module
  366. will be called vsp1.
  367. config VIDEO_TI_VPE
  368. tristate "TI VPE (Video Processing Engine) driver"
  369. depends on VIDEO_DEV && VIDEO_V4L2
  370. depends on SOC_DRA7XX || COMPILE_TEST
  371. depends on HAS_DMA
  372. select VIDEOBUF2_DMA_CONTIG
  373. select V4L2_MEM2MEM_DEV
  374. select VIDEO_TI_VPDMA
  375. select VIDEO_TI_SC
  376. select VIDEO_TI_CSC
  377. default n
  378. ---help---
  379. Support for the TI VPE(Video Processing Engine) block
  380. found on DRA7XX SoC.
  381. config VIDEO_TI_VPE_DEBUG
  382. bool "VPE debug messages"
  383. depends on VIDEO_TI_VPE
  384. ---help---
  385. Enable debug messages on VPE driver.
  386. endif # V4L_MEM2MEM_DRIVERS
  387. # TI VIDEO PORT Helper Modules
  388. # These will be selected by VPE and VIP
  389. config VIDEO_TI_VPDMA
  390. tristate
  391. config VIDEO_TI_SC
  392. tristate
  393. config VIDEO_TI_CSC
  394. tristate
  395. menuconfig V4L_CEC_DRIVERS
  396. bool "Platform HDMI CEC drivers"
  397. depends on MEDIA_CEC_SUPPORT
  398. if V4L_CEC_DRIVERS
  399. config VIDEO_SAMSUNG_S5P_CEC
  400. tristate "Samsung S5P CEC driver"
  401. depends on VIDEO_DEV && MEDIA_CEC_SUPPORT && (PLAT_S5P || ARCH_EXYNOS || COMPILE_TEST)
  402. select MEDIA_CEC_NOTIFIER
  403. ---help---
  404. This is a driver for Samsung S5P HDMI CEC interface. It uses the
  405. generic CEC framework interface.
  406. CEC bus is present in the HDMI connector and enables communication
  407. between compatible devices.
  408. config VIDEO_STI_HDMI_CEC
  409. tristate "STMicroelectronics STiH4xx HDMI CEC driver"
  410. depends on VIDEO_DEV && MEDIA_CEC_SUPPORT && (ARCH_STI || COMPILE_TEST)
  411. select MEDIA_CEC_NOTIFIER
  412. ---help---
  413. This is a driver for STIH4xx HDMI CEC interface. It uses the
  414. generic CEC framework interface.
  415. CEC bus is present in the HDMI connector and enables communication
  416. between compatible devices.
  417. endif #V4L_CEC_DRIVERS
  418. menuconfig V4L_TEST_DRIVERS
  419. bool "Media test drivers"
  420. depends on MEDIA_CAMERA_SUPPORT
  421. if V4L_TEST_DRIVERS
  422. source "drivers/media/platform/vivid/Kconfig"
  423. config VIDEO_VIM2M
  424. tristate "Virtual Memory-to-Memory Driver"
  425. depends on VIDEO_DEV && VIDEO_V4L2
  426. select VIDEOBUF2_VMALLOC
  427. select V4L2_MEM2MEM_DEV
  428. default n
  429. ---help---
  430. This is a virtual test device for the memory-to-memory driver
  431. framework.
  432. endif #V4L_TEST_DRIVERS
  433. menuconfig DVB_PLATFORM_DRIVERS
  434. bool "DVB platform devices"
  435. depends on MEDIA_DIGITAL_TV_SUPPORT
  436. default n
  437. ---help---
  438. Say Y here to enable support for platform-specific Digital TV drivers.
  439. if DVB_PLATFORM_DRIVERS
  440. source "drivers/media/platform/sti/c8sectpfe/Kconfig"
  441. endif #DVB_PLATFORM_DRIVERS