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