2018-02-28 11:27:46 +01:00
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig I2C_DW
|
|
|
|
bool "Design Ware I2C support"
|
2022-07-20 22:44:42 +02:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_SNPS_DESIGNWARE_I2C_ENABLED
|
2018-02-28 11:27:46 +01:00
|
|
|
help
|
2018-10-19 14:05:26 +02:00
|
|
|
Enable the Design Ware I2C driver
|
2018-02-28 11:27:46 +01:00
|
|
|
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
|
|
int "Set the clock speed for I2C"
|
2021-04-20 23:04:35 +02:00
|
|
|
depends on I2C_DW
|
2018-02-28 11:27:46 +01:00
|
|
|
default 32
|
2023-08-08 07:15:49 +02:00
|
|
|
|
|
|
|
config I2C_DW_LPSS_DMA
|
|
|
|
bool "Use I2C integrated DMA for asynchronous transfer"
|
2024-04-20 07:27:49 +02:00
|
|
|
depends on I2C_DW
|
2023-08-08 07:15:49 +02:00
|
|
|
select DMA
|
|
|
|
select DMA_INTEL_LPSS
|
|
|
|
help
|
2024-01-12 18:55:44 +01:00
|
|
|
This option enables I2C DMA feature to be used for asynchronous
|
|
|
|
data transfers. All Tx operations are done using dma channel 0 and
|
2023-08-08 07:15:49 +02:00
|
|
|
all Rx operations are done using dma channel 1.
|