xref: /linux/drivers/media/platform/st/stm32/Kconfig (revision 9e676a024fa1fa2bd8150c2d2ba85478280353bc)
1e7b8153eSMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0-only
2e7b8153eSMauro Carvalho Chehab
3e7b8153eSMauro Carvalho Chehab# V4L drivers
4*dcb0f4c1SAlain Volmatconfig VIDEO_STM32_CSI
5*dcb0f4c1SAlain Volmat	tristate "STM32 Camera Serial Interface (CSI) support"
6*dcb0f4c1SAlain Volmat	depends on V4L_PLATFORM_DRIVERS
7*dcb0f4c1SAlain Volmat	depends on VIDEO_DEV && OF
8*dcb0f4c1SAlain Volmat	depends on ARCH_STM32 || COMPILE_TEST
9*dcb0f4c1SAlain Volmat	select MEDIA_CONTROLLER
10*dcb0f4c1SAlain Volmat	select V4L2_FWNODE
11*dcb0f4c1SAlain Volmat	help
12*dcb0f4c1SAlain Volmat	  This module makes the STM32 Camera Serial Interface (CSI)
13*dcb0f4c1SAlain Volmat	  available as a v4l2 device.
14*dcb0f4c1SAlain Volmat
15*dcb0f4c1SAlain Volmat	  To compile this driver as a module, choose M here: the module
16*dcb0f4c1SAlain Volmat	  will be called stm32-csi.
17*dcb0f4c1SAlain Volmat
18e7b8153eSMauro Carvalho Chehabconfig VIDEO_STM32_DCMI
19e7b8153eSMauro Carvalho Chehab	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
20e7b8153eSMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
219958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV && OF
22e7b8153eSMauro Carvalho Chehab	depends on ARCH_STM32 || COMPILE_TEST
23e7b8153eSMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
24e7b8153eSMauro Carvalho Chehab	select MEDIA_CONTROLLER
25e7b8153eSMauro Carvalho Chehab	select V4L2_FWNODE
26e7b8153eSMauro Carvalho Chehab	help
27e7b8153eSMauro Carvalho Chehab	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
28e7b8153eSMauro Carvalho Chehab	  available as a v4l2 device.
29e7b8153eSMauro Carvalho Chehab
30e7b8153eSMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the module
31e7b8153eSMauro Carvalho Chehab	  will be called stm32-dcmi.
32e7b8153eSMauro Carvalho Chehab
3328e0f377SHugues Fruchetconfig VIDEO_STM32_DCMIPP
3428e0f377SHugues Fruchet	tristate "STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) support"
3528e0f377SHugues Fruchet	depends on V4L_PLATFORM_DRIVERS
3628e0f377SHugues Fruchet	depends on VIDEO_DEV
3728e0f377SHugues Fruchet	depends on ARCH_STM32 || COMPILE_TEST
3828e0f377SHugues Fruchet	select MEDIA_CONTROLLER
3928e0f377SHugues Fruchet	select VIDEOBUF2_DMA_CONTIG
4028e0f377SHugues Fruchet	select VIDEO_V4L2_SUBDEV_API
4128e0f377SHugues Fruchet	select V4L2_FWNODE
4228e0f377SHugues Fruchet	help
4328e0f377SHugues Fruchet	  This module makes the STM32 Digital Camera Memory Interface
4428e0f377SHugues Fruchet	  Pixel Processor (DCMIPP) available as a v4l2 device.
4528e0f377SHugues Fruchet
4628e0f377SHugues Fruchet	  To compile this driver as a module, choose M here: the module
4728e0f377SHugues Fruchet	  will be called stm32-dcmipp.
4828e0f377SHugues Fruchet
49e7b8153eSMauro Carvalho Chehab# Mem2mem drivers
50e7b8153eSMauro Carvalho Chehabconfig VIDEO_STM32_DMA2D
51e7b8153eSMauro Carvalho Chehab	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
52e7b8153eSMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
539958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
54e7b8153eSMauro Carvalho Chehab	depends on ARCH_STM32 || COMPILE_TEST
55e7b8153eSMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
56e7b8153eSMauro Carvalho Chehab	select V4L2_MEM2MEM_DEV
57e7b8153eSMauro Carvalho Chehab	help
58e7b8153eSMauro Carvalho Chehab	  Enables DMA2D hardware support on stm32.
59e7b8153eSMauro Carvalho Chehab
60e7b8153eSMauro Carvalho Chehab	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
61e7b8153eSMauro Carvalho Chehab	  and specialized DMA dedicated to image manipulation.
62