1# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig I2C_SAM0
5	bool "SAM0 series I2C SERCOM driver"
6	default y
7	depends on DT_HAS_ATMEL_SAM0_I2C_ENABLED
8	help
9	  Enable the SAM0 series SERCOM I2C driver.
10
11config I2C_SAM0_DMA_DRIVEN
12	bool "DMA support for SAM0 I2C devices"
13	depends on I2C_SAM0
14	select DMA
15	help
16	  This enables DMA driven transactions for the I2C peripheral.
17	  DMA driven mode requires fewer interrupts to handle the
18	  transaction and ensures that high speed modes are not delayed
19	  by data reloading.
20