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/i2c-cros-ec-tunnel.txt

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 I2C bus that tunnels through the ChromeOS EC (cros-ec)
    2 ======================================================
    3 On some ChromeOS board designs we've got a connection to the EC (embedded
    4 controller) but no direct connection to some devices on the other side of
    5 the EC (like a battery and PMIC).  To get access to those devices we need
    6 to tunnel our i2c commands through the EC.
    7 
    8 The node for this device should be under a cros-ec node like google,cros-ec-spi
    9 or google,cros-ec-i2c.
   10 
   11 
   12 Required properties:
   13 - compatible: google,cros-ec-i2c-tunnel
   14 - google,remote-bus: The EC bus we'd like to talk to.
   15 
   16 Optional child nodes:
   17 - One node per I2C device connected to the tunnelled I2C bus.
   18 
   19 
   20 Example:
   21         cros-ec@0 {
   22                 compatible = "google,cros-ec-spi";
   23 
   24                 ...
   25 
   26                 i2c-tunnel {
   27                         compatible = "google,cros-ec-i2c-tunnel";
   28                         #address-cells = <1>;
   29                         #size-cells = <0>;
   30 
   31                         google,remote-bus = <0>;
   32 
   33                         battery: sbs-battery@b {
   34                                 compatible = "sbs,sbs-battery";
   35                                 reg = <0xb>;
   36                                 sbs,poll-retry-count = <1>;
   37                         };
   38                 };
   39         }

Cache object: b601030ede2493ec04d7f7eaef2e33ea


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