summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.espi
blob: 60ea99def7df15d9784408edaec1752b97244455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if PLATFORM_EC_HOST_INTERFACE_ESPI

config PLATFORM_EC_ESPI_VW_SLP_S3
	bool "SLP_S3 is an eSPI virtual wire instead of a GPIO"
	help
	  For power sequencing, use an eSPI virtual wire instead of
	  defining GPIO_PCH_SLP_S3 in gpio_map.h.

config PLATFORM_EC_ESPI_VW_SLP_S4
	bool "SLP_S4 is an eSPI virtual wire instead of a GPIO"
	help
	  For power sequencing, use an eSPI virtual wire instead of
	  defining GPIO_PCH_SLP_S4 in gpio_map.h.

config PLATFORM_EC_ESPI_VW_SLP_S5
	bool "SLP_S5 is an eSPI virtual wire instead of an alias for SLP_S4"
	help
	  For power sequencing, use an eSPI virtual wire to read the SLP_S5 line,
	  as opposed to merging it into the same net as SLP_S4.

config PLATFORM_EC_ESPI_RESET_SLP_SX_VW_ON_ESPI_RST
	bool "Reset SLP VW signals on eSPI reset"
	help
	  Enable this config to reset SLP* VW when eSPI_RST is asserted
	  for the Global Reset event case.  Don't enable this config if
	  the platform implements the Deep-Sx entry as EC needs to
	  maintain these pins' states per request. Note that this is
	  currently unimplemented for Zephyr. Please see b/183148073.

config PLATFORM_EC_ESPI_DEFAULT_VW_WIDTH_US
	int "Virtual wire pulse width (microseconds)"
	default 65
	help
	  The minimum pulse width of a eSPI/LPC virtual wire signals to the
	  host. May vary by host chipset.

endif # PLATFORM_EC_HOST_INTERFACE_ESPI