1# I2C configuration options
2
3# Copyright (c) 2024, NXP
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig I2C_MCUX_FLEXCOMM
7	bool "MCUX FLEXCOMM I2C driver"
8	default y
9	depends on DT_HAS_NXP_LPC_I2C_ENABLED
10	select PINCTRL
11	select RESET
12	help
13	  Enable the mcux flexcomm i2c driver.
14
15config I2C_NXP_TRANSFER_TIMEOUT
16	int "Transfer timeout [ms]"
17	default 0
18	depends on I2C_MCUX_FLEXCOMM
19	help
20	  Timeout in milliseconds used for each I2C transfer.
21	  0 means that the driver should use the K_FOREVER value,
22	  i.e. it should wait as long as necessary.
23	  In conjunction with this, FSL_FEATURE_I2C_TIMEOUT_RECOVERY
24	  must be enabled to allow the driver to fully recover.
25