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 <Zephyr>/soc/x86/apollo_lake/Kconfig.defconfig:55

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config I2C_DW_MAX_INSTANCES
    int
    default 8
    depends on I2C_DW && SOC_APOLLO_LAKE

At <Zephyr>/soc/x86/elkhart_lake/Kconfig.defconfig:55

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config I2C_DW_MAX_INSTANCES
    int
    default 15
    depends on I2C_DW && SOC_ELKHART_LAKE

At <Zephyr>/drivers/i2c/Kconfig.dw:21

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:40<Zephyr>/drivers/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.)