The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/chrome/google,cros-ec-typec.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Google Chrome OS EC(Embedded Controller) Type C port driver.
    8 
    9 maintainers:
   10   - Benson Leung <bleung@chromium.org>
   11   - Prashant Malani <pmalani@chromium.org>
   12 
   13 description:
   14   Chrome OS devices have an Embedded Controller(EC) which has access to
   15   Type C port state. This node is intended to allow the host to read and
   16   control the Type C ports. The node for this device should be under a
   17   cros-ec node like google,cros-ec-spi.
   18 
   19 properties:
   20   compatible:
   21     const: google,cros-ec-typec
   22 
   23   '#address-cells':
   24     const: 1
   25 
   26   '#size-cells':
   27     const: 0
   28 
   29 patternProperties:
   30   '^connector@[0-9a-f]+$':
   31     $ref: /schemas/connector/usb-connector.yaml#
   32     unevaluatedProperties: false
   33     properties:
   34       reg:
   35         maxItems: 1
   36 
   37 required:
   38   - compatible
   39 
   40 additionalProperties: false
   41 
   42 examples:
   43   - |+
   44     spi0 {
   45       #address-cells = <1>;
   46       #size-cells = <0>;
   47 
   48       cros_ec: ec@0 {
   49         compatible = "google,cros-ec-spi";
   50         reg = <0>;
   51 
   52         typec {
   53           compatible = "google,cros-ec-typec";
   54 
   55           #address-cells = <1>;
   56           #size-cells = <0>;
   57 
   58           connector@0 {
   59             compatible = "usb-c-connector";
   60             reg = <0>;
   61             power-role = "dual";
   62             data-role = "dual";
   63             try-power-role = "source";
   64           };
   65         };
   66       };
   67     };

Cache object: b1e747b0cb946d7aadca9c1f53a59db0


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.