2019-05-22 13:44:35 +08:00
|
|
|
# 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
|
|
|
|
|
2019-09-27 02:36:06 +08:00
|
|
|
config ESPI_GPIO_DEV0
|
|
|
|
string "Name of the GPIO port 0"
|
2019-05-22 13:44:35 +08:00
|
|
|
default "GPIO_0"
|
|
|
|
help
|
|
|
|
Name of the port used in mimimal handshake
|
|
|
|
|
2019-09-27 02:36:06 +08:00
|
|
|
config ESPI_GPIO_DEV1
|
|
|
|
string "Name of the GPIO port 1"
|
|
|
|
default "GPIO_1"
|
|
|
|
help
|
|
|
|
Name of the port used in mimimal handshake
|
|
|
|
|
2019-05-22 13:44:35 +08:00
|
|
|
config ESPI_INIT_PIN
|
|
|
|
int "eSPI master enable pin"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Pin number of eSPI master init pin
|
|
|
|
|
2019-09-27 02:36:06 +08:00
|
|
|
config PWRGD_PIN
|
|
|
|
int "Indication espi master power is up"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Pin number of eSPI master power indication
|
|
|
|
|
2019-05-22 13:44:35 +08:00
|
|
|
endif # ESPI_GPIO_DEV_NEEDED
|
|
|
|
|
|
|
|
source "Kconfig.zephyr"
|