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>
This commit is contained in:
parent
35ad4e8632
commit
703fe86220
11 changed files with 350 additions and 0 deletions
|
@ -14,6 +14,7 @@ add_subdirectory_ifdef(CONFIG_DAC dac)
|
|||
add_subdirectory_ifdef(CONFIG_DISPLAY display)
|
||||
add_subdirectory_ifdef(CONFIG_DMA dma)
|
||||
add_subdirectory_ifdef(CONFIG_GPIO gpio)
|
||||
add_subdirectory_ifdef(CONFIG_EC_HOST_CMD_PERIPH ec_host_cmd_periph)
|
||||
add_subdirectory_ifdef(CONFIG_I2C i2c)
|
||||
add_subdirectory_ifdef(CONFIG_I2S i2s)
|
||||
add_subdirectory_ifdef(CONFIG_IEEE802154 ieee802154)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue