Commit c77cd342 authored by Pi-Hsun Shih's avatar Pi-Hsun Shih Committed by Lee Jones
Browse files

dt-bindings: Add binding for cros-ec-rpmsg



Add a DT binding documentation for ChromeOS EC driver over rpmsg.

Signed-off-by: default avatarPi-Hsun Shih <pihsun@chromium.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 29793990
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ ChromeOS Embedded Controller
Google's ChromeOS EC is a Cortex-M device which talks to the AP and
Google's ChromeOS EC is a Cortex-M device which talks to the AP and
implements various function such as keyboard and battery charging.
implements various function such as keyboard and battery charging.


The EC can be connect through various means (I2C, SPI, LPC) and the
The EC can be connect through various means (I2C, SPI, LPC, RPMSG) and the
compatible string used depends on the interface. Each connection method has
compatible string used depends on the interface. Each connection method has
its own driver which connects to the top level interface-agnostic EC driver.
its own driver which connects to the top level interface-agnostic EC driver.
Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to
Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to
@@ -17,6 +17,9 @@ Required properties (SPI):
- compatible: "google,cros-ec-spi"
- compatible: "google,cros-ec-spi"
- reg: SPI chip select
- reg: SPI chip select


Required properties (RPMSG):
- compatible: "google,cros-ec-rpmsg"

Optional properties (SPI):
Optional properties (SPI):
- google,cros-ec-spi-pre-delay: Some implementations of the EC need a little
- google,cros-ec-spi-pre-delay: Some implementations of the EC need a little
  time to wake up from sleep before they can receive SPI transfers at a high
  time to wake up from sleep before they can receive SPI transfers at a high