Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/i2c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ zephyr_library_sources_ifdef(CONFIG_I2C_LPC11U6X i2c_lpc11u6x.c)
zephyr_library_sources_ifdef(CONFIG_I2C_MCHP_MSS i2c_mchp_mss.c)
zephyr_library_sources_ifdef(CONFIG_I2C_MCUX i2c_mcux.c)
zephyr_library_sources_ifdef(CONFIG_I2C_MCUX_FLEXCOMM i2c_mcux_flexcomm.c)
zephyr_library_sources_ifdef(CONFIG_I2C_MSPM0 i2c_mspm0.c)
zephyr_library_sources_ifdef(CONFIG_I2C_NIOS2 i2c_nios2.c)

zephyr_library_sources_ifdef(CONFIG_I2C_NPCX_DMA_DRIVEN
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ source "drivers/i2c/Kconfig.lpc11u6x"
source "drivers/i2c/Kconfig.max32"
source "drivers/i2c/Kconfig.mchp_mss"
source "drivers/i2c/Kconfig.mcux"
source "drivers/i2c/Kconfig.mspm0"
source "drivers/i2c/Kconfig.npcx"
source "drivers/i2c/Kconfig.nrfx"
source "drivers/i2c/Kconfig.numaker"
Expand Down
20 changes: 20 additions & 0 deletions drivers/i2c/Kconfig.mspm0
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Texas Instruments

config I2C_MSPM0
bool "MSPM0 I2C driver"
default y
depends on DT_HAS_TI_MSPM0_I2C_ENABLED
select USE_MSPM0_DL_I2C
select PINCTRL
help
This option enables the TI MSPM0 I2C driver.

config I2C_SCL_LOW_TIMEOUT
int "I2C SCL Timeout"
default 0
help
Timeout in milliseconds that reflects acceptable
cumulative low period in a transaction.
0 means that the driver will use the K_FOREVER value,
waiting as long as necessary.
Loading
Loading