1# Ambiq SDK I2C
2#
3# Copyright (c) 2023 Antmicro <www.antmicro.com>
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8menuconfig I2C_AMBIQ
9	bool "AMBIQ I2C driver"
10	default y
11	depends on DT_HAS_AMBIQ_I2C_ENABLED
12	select AMBIQ_HAL
13	select AMBIQ_HAL_USE_I2C
14	help
15	  Enable driver for Ambiq I2C.
16
17if I2C_AMBIQ
18
19config I2C_AMBIQ_DMA
20	bool "AMBIQ APOLLO I2C DMA Support"
21	help
22	  Enable DMA for Ambiq I2C.
23
24config I2C_DMA_TCB_BUFFER_SIZE
25	int "DMA Transfer Control Buffer size in words."
26	default 1024
27	help
28	  DMA Transfer Control Buffer size in words
29
30endif # I2C_AMBIQ
31