drivers: i2c: fix leaking Kconfig option for mcux driver
Fix leaking I2C_NXP_TRANSFER_TIMEOUT option. It was showing up for all I2C drivers. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
31aadda646
commit
c165446993
|
@ -162,14 +162,6 @@ config I2C_MCUX
|
|||
help
|
||||
Enable the mcux I2C driver.
|
||||
|
||||
config I2C_MCUX_FLEXCOMM
|
||||
bool "MCUX FLEXCOMM I2C driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_LPC_I2C_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the mcux flexcomm i2c driver.
|
||||
|
||||
config I2C_MCUX_LPI2C
|
||||
bool "MCUX LPI2C driver"
|
||||
default y
|
||||
|
|
|
@ -3,9 +3,18 @@
|
|||
# Copyright (c) 2024, NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig I2C_MCUX_FLEXCOMM
|
||||
bool "MCUX FLEXCOMM I2C driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_LPC_I2C_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the mcux flexcomm i2c driver.
|
||||
|
||||
config I2C_NXP_TRANSFER_TIMEOUT
|
||||
int "Transfer timeout [ms]"
|
||||
default 0
|
||||
depends on I2C_MCUX_FLEXCOMM
|
||||
help
|
||||
Timeout in milliseconds used for each I2C transfer.
|
||||
0 means that the driver should use the K_FOREVER value,
|
||||
|
|
Loading…
Reference in a new issue