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-lm3601x.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 * Texas Instruments - lm3601x Single-LED Flash Driver
    2 
    3 The LM3601X are ultra-small LED flash drivers that
    4 provide a high level of adjustability.
    5 
    6 Required properties:
    7         - compatible : Can be one of the following
    8                 "ti,lm36010"
    9                 "ti,lm36011"
   10         - reg : I2C slave address
   11         - #address-cells : 1
   12         - #size-cells : 0
   13 
   14 Required child properties:
   15         - reg : 0 - Indicates a IR mode
   16                 1 - Indicates a Torch (white LED) mode
   17 
   18 Required properties for flash LED child nodes:
   19         See Documentation/devicetree/bindings/leds/common.txt
   20         - flash-max-microamp : Range from 11mA - 1.5A
   21         - flash-max-timeout-us : Range from 40ms - 1600ms
   22         - led-max-microamp : Range from 2.4mA - 376mA
   23 
   24 Optional child properties:
   25         - function : see Documentation/devicetree/bindings/leds/common.txt
   26         - color : see Documentation/devicetree/bindings/leds/common.txt
   27         - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
   28 
   29 Example:
   30 
   31 #include <dt-bindings/leds/common.h>
   32 
   33 led-controller@64 {
   34         compatible = "ti,lm36010";
   35         #address-cells = <1>;
   36         #size-cells = <0>;
   37         reg = <0x64>;
   38 
   39         led@0 {
   40                 reg = <1>;
   41                 function = LED_FUNCTION_TORCH;
   42                 color = <LED_COLOR_ID_WHITE>;
   43                 led-max-microamp = <376000>;
   44                 flash-max-microamp = <1500000>;
   45                 flash-max-timeout-us = <1600000>;
   46         };
   47 }
   48 
   49 For more product information please see the links below:
   50 https://www.ti.com/product/LM36010
   51 https://www.ti.com/product/LM36011

Cache object: 659d67aefd52609a92e945da675b9f40


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