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-lp8860.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 - lp8860 4-Channel LED Driver
    2 
    3 The LP8860-Q1 is an high-efficiency LED
    4 driver with boost controller. It has 4 high-precision
    5 current sinks that can be controlled by a PWM input
    6 signal, a SPI/I2C master, or both.
    7 
    8 Required properties:
    9         - compatible :
   10                 "ti,lp8860"
   11         - reg : I2C slave address
   12         - #address-cells : 1
   13         - #size-cells : 0
   14 
   15 Optional properties:
   16         - enable-gpios : gpio pin to enable (active high)/disable the device.
   17         - vled-supply : LED supply
   18 
   19 Required child properties:
   20         - reg : 0
   21 
   22 Optional child properties:
   23         - function : see Documentation/devicetree/bindings/leds/common.txt
   24         - color : see Documentation/devicetree/bindings/leds/common.txt
   25         - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
   26         - linux,default-trigger :
   27            see Documentation/devicetree/bindings/leds/common.txt
   28 
   29 Example:
   30 
   31 #include <dt-bindings/leds/common.h>
   32 
   33 led-controller@2d {
   34         compatible = "ti,lp8860";
   35         #address-cells = <1>;
   36         #size-cells = <0>;
   37         reg = <0x2d>;
   38         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
   39         vled-supply = <&vbatt>;
   40 
   41         led@0 {
   42                 reg = <0>;
   43                 function = LED_FUNCTION_BACKLIGHT;
   44                 color = <LED_COLOR_ID_WHITE>;
   45                 linux,default-trigger = "backlight";
   46         };
   47 }
   48 
   49 For more product information please see the link below:
   50 https://www.ti.com/product/lp8860-q1

Cache object: 13e5d24f8fffa78bbad8eaff95b3912d


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