CONFIG_ETH_SAM_GMAC_MAC_I2C_DEV_NAME

I2C bus driver device name

Type: string

Help

Device name, e.g. I2C_0, of an I2C bus driver device. It is required to obtain handle to the I2C device object.

Direct dependencies

(ETH_SAM_GMAC && BOARD_SAM_E70_XPLAINED) || (ETH_SAM_GMAC_MAC_I2C_EEPROM && ETH_SAM_GMAC && NET_L2_ETHERNET)

(Includes any dependencies from ifs and menus.)

Default

  • “I2C_0”

Kconfig definitions

At boards/arm/sam_e70_xplained/Kconfig.defconfig:37

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config ETH_SAM_GMAC_MAC_I2C_DEV_NAME
    string
    default "I2C_0"
    depends on ETH_SAM_GMAC && BOARD_SAM_E70_XPLAINED

At drivers/ethernet/Kconfig.sam_gmac:151

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:16drivers/ethernet/Kconfig:28

Menu path: (Top) → Device Drivers → Ethernet Drivers → Atmel SAM Ethernet driver

config ETH_SAM_GMAC_MAC_I2C_DEV_NAME
    string "I2C bus driver device name"
    depends on ETH_SAM_GMAC_MAC_I2C_EEPROM && ETH_SAM_GMAC && NET_L2_ETHERNET
    help
      Device name, e.g. I2C_0, of an I2C bus driver device. It is required to
      obtain handle to the I2C device object.

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