zephyr/samples/drivers/espi/Kconfig

44 lines
844 B
Plaintext
Raw Normal View History

# 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"