Merge remote-tracking branch 'origin/master' into drm-misc-fixes
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / extcon / extcon-usbc-cros-ec.txt
1 ChromeOS EC USB Type-C cable and accessories detection
2
3 On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is
4 able to detect the state of external accessories such as display adapters
5 or USB devices when said accessories are attached or detached.
6
7 The node for this device must be under a cros-ec node like google,cros-ec-spi
8 or google,cros-ec-i2c.
9
10 Required properties:
11 - compatible:           Should be "google,extcon-usbc-cros-ec".
12 - google,usb-port-id:   Specifies the USB port ID to use.
13
14 Example:
15         cros-ec@0 {
16                 compatible = "google,cros-ec-i2c";
17
18                 ...
19
20                 extcon {
21                         compatible = "google,extcon-usbc-cros-ec";
22                         google,usb-port-id = <0>;
23                 };
24         }