1 ChromeOS Embedded Controller
3 Google's ChromeOS EC is a Cortex-M device which talks to the AP and
4 implements various function such as keyboard and battery charging.
6 The EC can be connect through various means (I2C, SPI, LPC) and the
7 compatible string used depends on the inteface. Each connection method has
8 its own driver which connects to the top level interface-agnostic EC driver.
9 Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to
12 Required properties (I2C):
13 - compatible: "google,cros-ec-i2c"
14 - reg: I2C slave address
16 Required properties (SPI):
17 - compatible: "google,cros-ec-spi"
18 - reg: SPI chip select
20 Required properties (LPC):
21 - compatible: "google,cros-ec-lpc"
22 - reg: List of (IO address, size) pairs defining the interface uses
30 compatible = "google,cros-ec-i2c";
32 interrupt-parent = <&wakeup_eint>;
41 compatible = "google,cros-ec-spi";
44 interrupt-parent = <&wakeup_eint>;
46 spi-max-frequency = <5000000>;
48 cs-gpio = <&gpf0 3 4 3 0>;
50 samsung,spi-feedback-delay = <2>;
56 Example for LPC is not supplied as it is not yet implemented.