zephyr/samples/drivers/espi/Kconfig
Jose Alberto Meza 11d0725489 samples: drivers: espi: Add eSPI driver sample app
Show eSPI API driver usage, including early configuration,
send of virtual wire packets and callback mechanism

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2019-07-25 08:23:38 -07:00

44 lines
844 B
Plaintext

# Kconfig - Private config options for eSPI sample app
#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
mainmenu "Enhanced Serial Peripheral Interface application"
config ESPI_DEV
string "Name of the eSPI device"
default "ESPI_0"
help
Name of the eSPI device used for send an receive.
config ESPI_VIRTUAL_WIRE_TIMEOUT
int "Timeout for virtual wires"
default 5000
help
Timeout for virtual wires
config ESPI_GPIO_DEV_NEEDED
bool "GPIO required for minimum eSPI handshake"
default n
if ESPI_GPIO_DEV_NEEDED
config ESPI_GPIO_DEV
string "Name of the GPIO port"
default "GPIO_0"
help
Name of the port used in mimimal handshake
config ESPI_INIT_PIN
int "eSPI master enable pin"
default 0
help
Pin number of eSPI master init pin
endif # ESPI_GPIO_DEV_NEEDED
source "Kconfig.zephyr"