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 select PINCTRL if DT_HAS_RASPBERRYPI_PICO_I2C_ENABLED 9 help 10 Enable the Design Ware I2C driver 11 12config I2C_DW_CLOCK_SPEED 13 int "Set the clock speed for I2C" 14 depends on I2C_DW 15 default 32 16 17config I2C_DW_LPSS_DMA 18 bool "Use I2C integrated DMA for asynchronous transfer" 19 depends on I2C_DW 20 select DMA 21 select DMA_INTEL_LPSS 22 help 23 This option enables I2C DMA feature to be used for asynchronous 24 data transfers. All Tx operations are done using dma channel 0 and 25 all Rx operations are done using dma channel 1. 26 27config I2C_DW_RW_TIMEOUT_MS 28 int "Set the Read/Write timeout in milliseconds" 29 depends on I2C_DW 30 default 100 31