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/spmi/spmi.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 System Power Management Interface (SPMI) Controller
    2 
    3 This document defines a generic set of bindings for use by SPMI controllers.  A
    4 controller is modelled in device tree as a node with zero or more child nodes,
    5 each representing a unique slave on the bus.
    6 
    7 Required properties:
    8 - #address-cells : must be set to 2
    9 - #size-cells : must be set to 0
   10 
   11 Child nodes:
   12 
   13 An SPMI controller node can contain zero or more child nodes representing slave
   14 devices on the bus.  Child 'reg' properties are specified as an address, type
   15 pair.  The address must be in the range 0-15 (4 bits).  The type must be one of
   16 SPMI_USID (0) or SPMI_GSID (1) for Unique Slave ID or Group Slave ID respectively.
   17 These are the identifiers "statically assigned by the system integrator", as
   18 per the SPMI spec.
   19 
   20 Each child node must have one and only one 'reg' entry of type SPMI_USID.
   21 
   22 #include <dt-bindings/spmi/spmi.h>
   23 
   24         spmi@.. {
   25                 compatible = "...";
   26                 reg = <...>;
   27 
   28                 #address-cells = <2>;
   29                 #size-cells = <0>;
   30 
   31                 child@0 {
   32                         compatible = "...";
   33                         reg = <0 SPMI_USID>;
   34                 };
   35 
   36                 child@7 {
   37                         compatible = "...";
   38                         reg = <7 SPMI_USID
   39                                3 SPMI_GSID>;
   40                 };
   41         };

Cache object: f6b4665c93a2e12f1f53c0e62eff3a95


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