xref: /linux/drivers/media/platform/st/stm32/Kconfig (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1# SPDX-License-Identifier: GPL-2.0-only
2
3# V4L drivers
4config VIDEO_STM32_DCMI
5	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
6	depends on V4L_PLATFORM_DRIVERS
7	depends on VIDEO_DEV && OF
8	depends on ARCH_STM32 || COMPILE_TEST
9	select VIDEOBUF2_DMA_CONTIG
10	select MEDIA_CONTROLLER
11	select V4L2_FWNODE
12	help
13	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
14	  available as a v4l2 device.
15
16	  To compile this driver as a module, choose M here: the module
17	  will be called stm32-dcmi.
18
19# Mem2mem drivers
20config VIDEO_STM32_DMA2D
21	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
22	depends on V4L_MEM2MEM_DRIVERS
23	depends on VIDEO_DEV
24	depends on ARCH_STM32 || COMPILE_TEST
25	select VIDEOBUF2_DMA_CONTIG
26	select V4L2_MEM2MEM_DEV
27	help
28	  Enables DMA2D hardware support on stm32.
29
30	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
31	  and specialized DMA dedicated to image manipulation.
32