162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci# V4L drivers
462306a36Sopenharmony_ciconfig VIDEO_STM32_DCMI
562306a36Sopenharmony_ci	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
662306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
762306a36Sopenharmony_ci	depends on VIDEO_DEV && OF
862306a36Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
962306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1062306a36Sopenharmony_ci	select MEDIA_CONTROLLER
1162306a36Sopenharmony_ci	select V4L2_FWNODE
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
1462306a36Sopenharmony_ci	  available as a v4l2 device.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
1762306a36Sopenharmony_ci	  will be called stm32-dcmi.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci# Mem2mem drivers
2062306a36Sopenharmony_ciconfig VIDEO_STM32_DMA2D
2162306a36Sopenharmony_ci	tristate "STM32 Chrom-Art Accelerator (DMA2D)"
2262306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
2362306a36Sopenharmony_ci	depends on VIDEO_DEV
2462306a36Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
2562306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2662306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2762306a36Sopenharmony_ci	help
2862306a36Sopenharmony_ci	  Enables DMA2D hardware support on stm32.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	  The STM32 DMA2D is a memory-to-memory engine for pixel conversion
3162306a36Sopenharmony_ci	  and specialized DMA dedicated to image manipulation.
32