xref: /linux/drivers/media/platform/st/stm32/Kconfig (revision 184a0997fb77f4a9527fc867fcd16806776c27ce)
1# SPDX-License-Identifier: GPL-2.0-only
2
3# V4L drivers
4config VIDEO_STM32_CSI
5	tristate "STM32 Camera Serial Interface (CSI) support"
6	depends on V4L_PLATFORM_DRIVERS
7	depends on VIDEO_DEV && OF
8	depends on ARCH_STM32 || COMPILE_TEST
9	select MEDIA_CONTROLLER
10	select V4L2_FWNODE
11	help
12	  This module makes the STM32 Camera Serial Interface (CSI)
13	  available as a v4l2 device.
14
15	  To compile this driver as a module, choose M here: the module
16	  will be called stm32-csi.
17
18config VIDEO_STM32_DCMI
19	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
20	depends on V4L_PLATFORM_DRIVERS
21	depends on VIDEO_DEV && OF
22	depends on ARCH_STM32 || COMPILE_TEST
23	select VIDEOBUF2_DMA_CONTIG
24	select MEDIA_CONTROLLER
25	select V4L2_FWNODE
26	help
27	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
28	  available as a v4l2 device.
29
30	  To compile this driver as a module, choose M here: the module
31	  will be called stm32-dcmi.
32
33config VIDEO_STM32_DCMIPP
34	tristate "STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) support"
35	depends on V4L_PLATFORM_DRIVERS
36	depends on VIDEO_DEV
37	depends on ARCH_STM32 || COMPILE_TEST
38	select MEDIA_CONTROLLER
39	select VIDEOBUF2_DMA_CONTIG
40	select VIDEO_V4L2_SUBDEV_API
41	select V4L2_FWNODE
42	help
43	  This module makes the STM32 Digital Camera Memory Interface
44	  Pixel Processor (DCMIPP) available as a v4l2 device.
45
46	  To compile this driver as a module, choose M here: the module
47	  will be called stm32-dcmipp.
48
49# Mem2mem drivers
50config VIDEO_STM32_DMA2D
51	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
52	depends on V4L_MEM2MEM_DRIVERS
53	depends on VIDEO_DEV
54	depends on ARCH_STM32 || COMPILE_TEST
55	select VIDEOBUF2_DMA_CONTIG
56	select V4L2_MEM2MEM_DEV
57	help
58	  Enables DMA2D hardware support on stm32.
59
60	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
61	  and specialized DMA dedicated to image manipulation.
62