The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_I2C_4_DEFAULT_CFG

Port 4 default configuration

Type: hex

Help

Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values.

Direct dependencies

I2C_4 && !HAS_DTS_I2C && I2C

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/i2c/Kconfig:151

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:38

Menu path: (top menu) → Device Drivers → I2C Drivers

config I2C_4_DEFAULT_CFG
    hex
    prompt "Port 4 default configuration" if I2C_4 && !HAS_DTS_I2C && I2C
    default 0x0 if I2C_4 && !HAS_DTS_I2C && I2C
    depends on I2C_4 && !HAS_DTS_I2C && I2C
    help
      Allows the I2C port to be brought up with a default configuration.
      This is useful to set if other drivers depend upon using the I2C bus
      before the application has a chance to custom configure the port.
      Setting this value does not prohibit the application from customizing
      the values later.  Refer to include/i2c.h file for proper values.

(Definitions include propagated dependencies, including from if’s and menus.)