blob: 3dc490f131a3646781c6c60f1c1138719bf0f061 [file] [log] [blame]
# Host Command Peripheral simulator config
# Copyright (c) 2020 Google LLC
# SPDX-License-Identifier: Apache-2.0
menuconfig EC_HOST_CMD_PERIPH
bool "Embedded Controller Host Command peripheral support"
depends on EC_HOST_CMD
help
Enable the embedded controller host command peripheral driver. This
is needed by the EC host command framework to send and receive data
on the appropriate EC host bus.
if EC_HOST_CMD_PERIPH
choice
prompt "Host commands peripheral"
config EC_HOST_CMD_SIMULATOR
bool "Embedded Controller Host Command Peripheral Simulator"
depends on DT_HAS_ZEPHYR_SIM_EC_HOST_CMD_PERIPH_ENABLED
help
Enable the EC host command simulator.
config EC_HOST_CMD_PERIPH_ESPI
bool "Host commands support using eSPI bus"
depends on ESPI_PERIPHERAL_EC_HOST_CMD
depends on ESPI_PERIPHERAL_CUSTOM_OPCODE
depends on DT_HAS_ZEPHYR_EC_HOST_CMD_PERIPH_ESPI_ENABLED
help
Enable support for Embedded Controller host commands using
the eSPI bus.
endchoice
endif # EC_HOST_CMD_PERIPH