Lines Matching +full:host +full:- +full:interface

3 EC Host Command
8 The host command protocol defines the interface for a host, or application processor, to
9 communicate with a target embedded controller (EC). The EC Host command subsystem implements the
10 target side of the protocol, generating responses to commands sent by the host. The host command
11 protocol interface supports multiple versions, but this subsystem implementation only support
16 The Host Command subsystem contains a few components:
32 SHI (Serial Host Interface) is different to this because it is used only for communication with a
33 host. SHI does not have API itself, thus the backend and peripheral driver layers are combined into
39 Another case is SPI. Unfortunately, the current SPI API can't be used to handle the host commands
40 communication. The main issues are unknown command size sent by the host (the SPI transaction
44 can be changed in the future once the SPI API is extended to host command needs. Please check `the
45 discussion <https://github.com/zephyrproject-rtos/zephyr/issues/56091>`_.
48 a SPI node has changed to use the Host Command version of a SPI driver. The rest of the properties
51 .. code-block:: devicetree
54 /* Change the compatible string to use the Host Command version of the
57 compatible = "st,stm32-spi-host-cmd";
62 dma-names = "tx", "rx";
64 cs-gpios = <&gpioa 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
67 The STM32 SPI host command backend driver supports the :dtcompatible:`st,stm32h7-spi` and
68 :dtcompatible:`st,stm32-spi-fifo` variant implementations. To enable these variants, append the
72 .. code-block:: devicetree
75 compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi-host-cmd";
79 The chip that runs Zephyr is a SPI slave and the ``cs-gpios`` property is used to point our CS pin.
80 For the SPI, it is required to set the backend chosen node ``zephyr,host-cmd-spi-backend``.
85 * SHI - ITE and NPCX
86 * eSPI - any eSPI slave driver that support :kconfig:option:`CONFIG_ESPI_PERIPHERAL_EC_HOST_CMD` and
88 * UART - any UART driver that supports the asynchronous API
89 * SPI - STM32
96 initializes the host command subsystem by calling :c:func:`ec_host_cmd_init`:
98 * ``zephyr,host-cmd-espi-backend``
99 * ``zephyr,host-cmd-shi-backend``
100 * ``zephyr,host-cmd-uart-backend``
101 * ``zephyr,host-cmd-spi-backend``
110 The host command communication requires buffers for rx and tx. The buffers are be provided by the
120 The host command has an embedded logging system of the ongoing communication. The are a few logging