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/leds-pca9532.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 *NXP - pca9532 PWM LED Driver
    2 
    3 The PCA9532 family is SMBus I/O expander optimized for dimming LEDs.
    4 The PWM support 256 steps.
    5 
    6 Required properties:
    7         - compatible:
    8                 "nxp,pca9530"
    9                 "nxp,pca9531"
   10                 "nxp,pca9532"
   11                 "nxp,pca9533"
   12         - reg -  I2C slave address
   13 
   14 Each led is represented as a sub-node of the nxp,pca9530.
   15 
   16 Optional sub-node properties:
   17         - label: see Documentation/devicetree/bindings/leds/common.txt
   18         - type: Output configuration, see dt-bindings/leds/leds-pca9532.h (default NONE)
   19         - linux,default-trigger: see Documentation/devicetree/bindings/leds/common.txt
   20         - default-state: see Documentation/devicetree/bindings/leds/common.txt
   21           This property is only valid for sub-nodes of type <PCA9532_TYPE_LED>.
   22 
   23 Example:
   24   #include <dt-bindings/leds/leds-pca9532.h>
   25 
   26   leds: pca9530@60 {
   27     compatible = "nxp,pca9530";
   28     reg = <0x60>;
   29 
   30     red-power {
   31       label = "pca:red:power";
   32       type = <PCA9532_TYPE_LED>;
   33     };
   34     green-power {
   35       label = "pca:green:power";
   36       type = <PCA9532_TYPE_LED>;
   37     };
   38     kernel-booting {
   39       type = <PCA9532_TYPE_LED>;
   40       default-state = "on";
   41     };
   42     sys-stat {
   43       type = <PCA9532_TYPE_LED>;
   44       default-state = "keep"; // don't touch, was set by U-Boot
   45     };
   46   };
   47 
   48 For more product information please see the link below:
   49 http://nxp.com/documents/data_sheet/PCA9532.pdf

Cache object: b391382f09c32c8306a95c8016de7f9b


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