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-sc27xx-bltc.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 Spreadtrum SC27XX PMIC breathing light controller
    2 
    3 The SC27xx breathing light controller supports to 3 outputs:
    4 red LED, green LED and blue LED. Each LED can work at normal
    5 PWM mode or breath light mode.
    6 
    7 Required properties:
    8 - compatible: Should be "sprd,sc2731-bltc".
    9 - #address-cells: Must be 1.
   10 - #size-cells: Must be 0.
   11 - reg: Specify the controller address.
   12 
   13 Required child properties:
   14 - reg: Port this LED is connected to.
   15 
   16 Optional child properties:
   17 - function: See Documentation/devicetree/bindings/leds/common.txt.
   18 - color: See Documentation/devicetree/bindings/leds/common.txt.
   19 - label: See Documentation/devicetree/bindings/leds/common.txt (deprecated).
   20 
   21 Examples:
   22 
   23 led-controller@200 {
   24         compatible = "sprd,sc2731-bltc";
   25         #address-cells = <1>;
   26         #size-cells = <0>;
   27         reg = <0x200>;
   28 
   29         led@0 {
   30                 color = <LED_COLOR_ID_RED>;
   31                 reg = <0x0>;
   32         };
   33 
   34         led@1 {
   35                 color = <LED_COLOR_ID_GREEN>;
   36                 reg = <0x1>;
   37         };
   38 
   39         led@2 {
   40                 color = <LED_COLOR_ID_BLUE>;
   41                 reg = <0x2>;
   42         };
   43 };

Cache object: e83a41e38d717cb41183b72db64c0e3c


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