The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_I2C_DW_MAX_INSTANCES

Maximum number of supported driver instances

Type: int

Help

The maximum number of supported driver instances in device tree.

Direct dependencies

(I2C_DW && SOC_APOLLO_LAKE) || (I2C_DW && SOC_ELKHART_LAKE) || (I2C_DW && I2C)

(Includes any dependencies from ifs and menus.)

Defaults

  • 8

  • 15

  • 12

Kconfig definitions

At soc/x86/apollo_lake/Kconfig.defconfig:55

Included via Kconfig:8Kconfig.zephyr:19doc/_build/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config I2C_DW_MAX_INSTANCES
    int
    default 8
    depends on I2C_DW && SOC_APOLLO_LAKE

At soc/x86/elkhart_lake/Kconfig.defconfig:55

Included via Kconfig:8Kconfig.zephyr:19doc/_build/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config I2C_DW_MAX_INSTANCES
    int
    default 15
    depends on I2C_DW && SOC_ELKHART_LAKE

At drivers/i2c/Kconfig.dw:21

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:40drivers/i2c/Kconfig:28

Menu path: (Top) → Device Drivers → I2C Drivers → Design Ware I2C support

config I2C_DW_MAX_INSTANCES
    int "Maximum number of supported driver instances"
    range 1 32
    default 12
    depends on I2C_DW && I2C
    help
      The maximum number of supported driver instances in device tree.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)