zephyr/drivers/ec_host_cmd_periph/Kconfig
Jett Rink 703fe86220 ec_host_cmd_periph: add device API
The host command peripheral device API abstracts how an embedded
controller sends and receives data from a host on a bus. Each bus like
eSPI, SPI, or I2C would implement their own host command peripheral
device. Each hardware device would then handle the necessary hardware
access to send and receive data over that bus.

The chosen host command peripheral device will be used by the host
command handler framework to send and receive host data correctly.

Signed-off-by: Jett Rink <jettrink@google.com>
2020-09-04 14:50:45 -04:00

21 lines
578 B
Plaintext

# 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"
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
config EC_HOST_CMD_SIMULATOR
bool "Embedded Controller Host Command Peripheral Simulator"
help
Enable the EC host command simulator.
endif # EC_HOST_CMD_PERIPH