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/leds/pca963x.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 LEDs connected to pca9632, pca9633 or pca9634
    2 
    3 Required properties:
    4 - compatible : should be : "nxp,pca9632", "nxp,pca9633", "nxp,pca9634" or "nxp,pca9635"
    5 
    6 Optional properties:
    7 - nxp,totem-pole : use totem pole (push-pull) instead of open-drain (pca9632 defaults
    8   to open-drain, newer chips to totem pole)
    9 - nxp,hw-blink : use hardware blinking instead of software blinking
   10 - nxp,period-scale : In some configurations, the chip blinks faster than expected.
   11                      This parameter provides a scaling ratio (fixed point, decimal divided
   12                      by 1000) to compensate, e.g. 1300=1.3x and 750=0.75x.
   13 - nxp,inverted-out: invert the polarity of the generated PWM
   14 
   15 Each led is represented as a sub-node of the nxp,pca963x device.
   16 
   17 LED sub-node properties:
   18 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
   19 - reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633,
   20                 0 to 7 in pca9634, or 0 to 15 in pca9635)
   21 - linux,default-trigger : (optional)
   22    see Documentation/devicetree/bindings/leds/common.txt
   23 
   24 Examples:
   25 
   26 pca9632: pca9632 {
   27         compatible = "nxp,pca9632";
   28         #address-cells = <1>;
   29         #size-cells = <0>;
   30         reg = <0x62>;
   31 
   32         red@0 {
   33                 label = "red";
   34                 reg = <0>;
   35                 linux,default-trigger = "none";
   36         };
   37         green@1 {
   38                 label = "green";
   39                 reg = <1>;
   40                 linux,default-trigger = "none";
   41         };
   42         blue@2 {
   43                 label = "blue";
   44                 reg = <2>;
   45                 linux,default-trigger = "none";
   46         };
   47         unused@3 {
   48                 label = "unused";
   49                 reg = <3>;
   50                 linux,default-trigger = "none";
   51         };
   52 };

Cache object: 986d2e95166395f509173bed69694d41


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