1# Copyright (c) 2022 Wolter HV <wolterhv@gmx.de>
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config ADC_ESP32
6	bool "ESP32 ADC driver"
7	default y
8	depends on DT_HAS_ESPRESSIF_ESP32_ADC_ENABLED
9	help
10	  Enable the driver implementation for the ESP32 ADC
11
12if ADC_ESP32
13
14config ADC_ESP32_DMA
15	bool "ESP32 ADC DMA Support"
16	default n
17	depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
18	help
19	  Enable the ADC DMA mode for ADC instances
20	  that enable dma channels in their device tree node.
21
22endif
23