The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_SPI_2_OP_MODES

Port 2 supported operation modes (master/slave/both)

Type: int

Help

This sets the supported operation modes at runtime, by the SPI port 2, where: 1 is MASTER mode only (default) 2 is SLAVE mode only 3 is both modes are available.

Direct dependencies

(SPI_SLAVE && SPI && SOC_SERIES_QUARK_SE) || (SPI_2 && SPI)

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

Defaults

Kconfig definitions

At soc/x86/intel_quark/quark_se/Kconfig.defconfig.series:129

Included via Kconfig:10Kconfig.zephyr:23soc/x86/intel_quark/Kconfig.defconfig:3

Menu path: (top menu)

config SPI_2_OP_MODES
    int
    default 2 if SPI_SLAVE && SPI && SOC_SERIES_QUARK_SE
    depends on SPI_SLAVE && SPI && SOC_SERIES_QUARK_SE

At drivers/spi/Kconfig:90

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

Menu path: (top menu) → Device Drivers → SPI hardware bus support

config SPI_2_OP_MODES
    int
    prompt "Port 2 supported operation modes (master/slave/both)" if SPI_2 && SPI
    range 1 3 if SPI_2 && SPI
    default 1 if SPI_2 && SPI
    depends on SPI_2 && SPI
    help
      This sets the supported operation modes at runtime, by the SPI
      port 2, where:
      1 is MASTER mode only (default)
      2 is SLAVE mode only
      3 is both modes are available.

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