CONFIG_ESPI_PERIPHERAL_UART_SOC_MAPPING

SoC port exposed as logical eSPI UART

SoC port exposed as logical eSPI UART

Type: int

Help

This tells the driver to which SoC UART to direct the UART traffic
send over eSPI from host.

Help

This tells the driver to which SoC UART to direct the UART traffic
send over eSPI from host. MEC172x implements two UARTs.

Direct dependencies

(ESPI_PERIPHERAL_UART && ESPI_XEC && ESPI) || (ESPI_PERIPHERAL_UART && ESPI_XEC_V2 && ESPI)

(Includes any dependencies from ifs and menus.)

Defaults

  • 2

  • 1

Kconfig definitions

At <Zephyr>/drivers/espi/Kconfig.xec:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:92<Zephyr>/drivers/espi/Kconfig:13

Menu path: (Top) → Device Drivers → ESPI Driver → XEC Microchip ESPI driver

config ESPI_PERIPHERAL_UART_SOC_MAPPING
    int "SoC port exposed as logical eSPI UART"
    default 2
    depends on ESPI_PERIPHERAL_UART && ESPI_XEC && ESPI
    help
      This tells the driver to which SoC UART to direct the UART traffic
      send over eSPI from host.

At <Zephyr>/drivers/espi/Kconfig.xec_v2:52

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:92<Zephyr>/drivers/espi/Kconfig:15

Menu path: (Top) → Device Drivers → ESPI Driver

config ESPI_PERIPHERAL_UART_SOC_MAPPING
    int "SoC port exposed as logical eSPI UART"
    default 1
    depends on ESPI_PERIPHERAL_UART && ESPI_XEC_V2 && ESPI
    help
      This tells the driver to which SoC UART to direct the UART traffic
      send over eSPI from host. MEC172x implements two UARTs.

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