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-arb.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 Common i2c arbitration bus properties.
    2 
    3 - i2c-arb child node
    4 
    5 Required properties for the i2c-arb child node:
    6 - #address-cells = <1>;
    7 - #size-cells = <0>;
    8 
    9 Optional properties for i2c-arb child node:
   10 - Child nodes conforming to i2c bus binding
   11 
   12 
   13 Example :
   14 
   15         /*
   16            An NXP pca9541 I2C bus master selector at address 0x74
   17            with a NXP pca8574 GPIO expander attached.
   18          */
   19 
   20         arb@74 {
   21                 compatible = "nxp,pca9541";
   22                 reg = <0x74>;
   23 
   24                 i2c-arb {
   25                         #address-cells = <1>;
   26                         #size-cells = <0>;
   27 
   28                         gpio@38 {
   29                                 compatible = "nxp,pca8574";
   30                                 reg = <0x38>;
   31                                 #gpio-cells = <2>;
   32                                 gpio-controller;
   33                         };
   34                 };
   35         };

Cache object: 955a90d86d219928c3e905ac90a8cc34


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