1# STM32 DCMI driver configuration options
2
3# Copyright (c) 2024 Charles Dias <charlesdias.cd@outlook.com>
4# SPDX-License-Identifier: Apache-2.0
5
6DT_STM32_DCMI_HAS_DMA := $(dt_nodelabel_has_prop,dcmi,dmas)
7
8config VIDEO_STM32_DCMI
9	bool "STM32 Digital camera interface (DCMI) driver"
10	default y
11	depends on DT_HAS_ST_STM32_DCMI_ENABLED
12	select PINCTRL
13	select USE_STM32_HAL_DCMI
14	select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7X
15	select DMA if $(DT_STM32_DCMI_HAS_DMA)
16	select USE_STM32_HAL_DMA if $(DT_STM32_DCMI_HAS_DMA)
17	select USE_STM32_HAL_DMA_EX if $(DT_STM32_DCMI_HAS_DMA)
18	help
19	  Enable driver for STM32 Digital camera interface periheral.
20