1# Copyright (c) 2018 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig I2C_DW
5	bool "Design Ware I2C support"
6	default y
7	depends on DT_HAS_SNPS_DESIGNWARE_I2C_ENABLED
8	help
9	  Enable the Design Ware I2C driver
10
11config I2C_DW_CLOCK_SPEED
12	int "Set the clock speed for I2C"
13	depends on I2C_DW
14	default 32
15
16config I2C_DW_LPSS_DMA
17	bool "Use I2C integrated DMA for asynchronous transfer"
18	depends on I2C_DW
19	select DMA
20	select DMA_INTEL_LPSS
21	help
22	  This option enables I2C DMA feature to be used for asynchronous
23	  data transfers. All Tx operations are done using dma channel 0 and
24	  all Rx operations are done using dma channel 1.
25
26config I2C_DW_RW_TIMEOUT_MS
27	int "Set the Read/Write timeout in milliseconds"
28	depends on I2C_DW
29	default 100
30