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/i2c/google,cros-ec-i2c-tunnel.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 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 
    5 $id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
    6 $schema: http://devicetree.org/meta-schemas/core.yaml#
    7 
    8 title: I2C bus that tunnels through the ChromeOS EC (cros-ec)
    9 
   10 maintainers:
   11   - Doug Anderson <dianders@chromium.org>
   12   - Benson Leung <bleung@chromium.org>
   13 
   14 description: |
   15   On some ChromeOS board designs we've got a connection to the EC
   16   (embedded controller) but no direct connection to some devices on the
   17   other side of the EC (like a battery and PMIC).  To get access to
   18   those devices we need to tunnel our i2c commands through the EC.
   19 
   20   The node for this device should be under a cros-ec node like
   21   google,cros-ec-spi or google,cros-ec-i2c.
   22 
   23 allOf:
   24   - $ref: i2c-controller.yaml#
   25 
   26 properties:
   27   compatible:
   28     const: google,cros-ec-i2c-tunnel
   29 
   30   google,remote-bus:
   31     description: The EC bus we'd like to talk to.
   32     $ref: /schemas/types.yaml#/definitions/uint32
   33 
   34 required:
   35   - compatible
   36   - google,remote-bus
   37 
   38 unevaluatedProperties: false
   39 
   40 examples:
   41   - |
   42     spi0 {
   43         #address-cells = <1>;
   44         #size-cells = <0>;
   45 
   46         cros-ec@0 {
   47             compatible = "google,cros-ec-spi";
   48             reg = <0>;
   49             spi-max-frequency = <5000000>;
   50 
   51             i2c-tunnel {
   52                 compatible = "google,cros-ec-i2c-tunnel";
   53                 #address-cells = <1>;
   54                 #size-cells = <0>;
   55 
   56                 google,remote-bus = <0>;
   57 
   58                 battery: sbs-battery@b {
   59                     compatible = "sbs,sbs-battery";
   60                     reg = <0xb>;
   61                     sbs,poll-retry-count = <1>;
   62                 };
   63             };
   64         };
   65     };

Cache object: 39ea7c87918a9133d24fb1a2e59a993c


[ 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.