-
CONFIG_I2C_NPCX
¶
Nuvoton NPCX embedded controller (EC) I2C driver
Type: bool
Help¶
Enable support for NPCX I2C driver. The NPCX SMB/I2C modules provides
full support for a two-wire SMBus/I2C synchronous serial interface.
Each interface is a two-wire serial interface that is compatible with
both Intel SMBus and Philips I2C physical layer. There are 8 SMBus
modules and 10 buses in NPCX7 series.
Help¶
This option enables the I2C driver for NPCX family of
processors.
Say y if you wish to use I2C modules on NPCX MCU.
Direct dependencies¶
(I2C
&& SOC_SERIES_NPCX7
) || (SOC_FAMILY_NPCX
&& I2C
)
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definitions¶
At <Zephyr>/soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:75
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arm/nuvoton_npcx/Kconfig.defconfig:6
Menu path: (Top)
config I2C_NPCX
bool
default y
depends on I2C && SOC_SERIES_NPCX7
help
Enable support for NPCX I2C driver. The NPCX SMB/I2C modules provides
full support for a two-wire SMBus/I2C synchronous serial interface.
Each interface is a two-wire serial interface that is compatible with
both Intel SMBus and Philips I2C physical layer. There are 8 SMBus
modules and 10 buses in NPCX7 series.
At <Zephyr>/drivers/i2c/Kconfig.npcx:6
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:40
→ <Zephyr>/drivers/i2c/Kconfig:42
Menu path: (Top) → Device Drivers → I2C Drivers
config I2C_NPCX
bool "Nuvoton NPCX embedded controller (EC) I2C driver"
depends on SOC_FAMILY_NPCX && I2C
help
This option enables the I2C driver for NPCX family of
processors.
Say y if you wish to use I2C modules on NPCX MCU.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)