1# Copyright (c) 2024 Analog Devices, Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig I2C_MAX32
5	bool "Analog Devices MAX32 I2C driver"
6	default y
7	depends on DT_HAS_ADI_MAX32_I2C_ENABLED
8	select PINCTRL
9	help
10	  i2c driver for max32 family.
11
12if I2C_MAX32
13
14config I2C_MAX32_INTERRUPT
15	bool "Interrupt support for MAX32 I2C driver"
16	default y
17	help
18	  Enable interrupt support for MAX32 I2C controller mode
19	  transfers.
20
21config I2C_MAX32_DMA
22	bool "DMA support for MAX32 MCU I2C driver"
23	depends on I2C_MAX32_INTERRUPT
24	select DMA
25	help
26	  Use DMA for MAX32 MCU I2C controller mode transfers.
27
28endif # I2C_MAX32
29