diff options
author | Yuval Peress <peress@chromium.org> | 2021-04-06 13:03:44 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-07 06:03:05 +0000 |
commit | 70bbc2af478e37d3c74d02d674b96d99da279289 (patch) | |
tree | aeed9c97439ed4e070d8a0fe801415b2747d4d7f /zephyr/Kconfig.espi | |
parent | 835d9a445e09d5b6f8c330c16f654f9ba63bbe32 (diff) | |
download | chrome-ec-70bbc2af478e37d3c74d02d674b96d99da279289.tar.gz |
zephyr: kconfig: move espi configs to separate file
Clean up the root Kconfig for Zephyr by moving sub configs to separate
file (Kconfig.espi).
BRANCH=none
BUG=none
TEST=zmake testall
Change-Id: Ie5bd22b1179b03370a3e45cc91738b767865e2a0
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2808146
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.espi')
-rw-r--r-- | zephyr/Kconfig.espi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/zephyr/Kconfig.espi b/zephyr/Kconfig.espi new file mode 100644 index 0000000000..81b9f11e57 --- /dev/null +++ b/zephyr/Kconfig.espi @@ -0,0 +1,28 @@ +# 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_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_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. + +endif # PLATFORM_EC_ESPI
\ No newline at end of file |