xref: /linux/drivers/media/platform/st/stm32/Kconfig (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
19config VIDEO_STM32_DCMIPP
20	tristate "STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) support"
21	depends on V4L_PLATFORM_DRIVERS
22	depends on VIDEO_DEV
23	depends on ARCH_STM32 || COMPILE_TEST
24	select MEDIA_CONTROLLER
25	select VIDEOBUF2_DMA_CONTIG
26	select VIDEO_V4L2_SUBDEV_API
27	select V4L2_FWNODE
28	help
29	  This module makes the STM32 Digital Camera Memory Interface
30	  Pixel Processor (DCMIPP) available as a v4l2 device.
31
32	  To compile this driver as a module, choose M here: the module
33	  will be called stm32-dcmipp.
34
35# Mem2mem drivers
36config VIDEO_STM32_DMA2D
37	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
38	depends on V4L_MEM2MEM_DRIVERS
39	depends on VIDEO_DEV
40	depends on ARCH_STM32 || COMPILE_TEST
41	select VIDEOBUF2_DMA_CONTIG
42	select V4L2_MEM2MEM_DEV
43	help
44	  Enables DMA2D hardware support on stm32.
45
46	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
47	  and specialized DMA dedicated to image manipulation.
48