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-lt3593.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 Bindings for Linear Technologies LT3593 LED controller
    2 
    3 Required properties:
    4 - compatible:           Should be "lltc,lt3593".
    5 - lltc,ctrl-gpios:      A handle to the GPIO that is connected to the 'CTRL'
    6                         pin of the chip.
    7 
    8 The hardware supports only one LED. The properties of this LED are
    9 configured in a sub-node in the device node.
   10 
   11 Optional sub-node properties:
   12 - function:             See Documentation/devicetree/bindings/leds/common.txt
   13 - color:                See Documentation/devicetree/bindings/leds/common.txt
   14 - label:                A label for the LED. If none is given, the LED will be
   15                         named "lt3595::" (deprecated)
   16 - linux,default-trigger: The default trigger for the LED.
   17                         See Documentation/devicetree/bindings/leds/common.txt
   18 - default-state:        The initial state of the LED.
   19                         See Documentation/devicetree/bindings/leds/common.txt
   20 
   21 If multiple chips of this type are found in a design, each one needs to
   22 be handled by its own device node.
   23 
   24 Example:
   25 
   26 #include <dt-bindings/leds/common.h>
   27 
   28 led-controller {
   29         compatible = "lltc,lt3593";
   30         lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
   31 
   32         led {
   33                 function = LED_FUNCTION_BACKLIGHT;
   34                 color = <LED_COLOR_ID_WHITE>;
   35                 default-state = "on";
   36         };
   37 };

Cache object: 6ce2910aac19eb8b62b8ebf5e5674ca7


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