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-is31fl319x.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 is31fl319x LED controller chip
    2 
    3 Required properties:
    4 - compatible : Should be any of
    5         "issi,is31fl3190"
    6         "issi,is31fl3191"
    7         "issi,is31fl3193"
    8         "issi,is31fl3196"
    9         "issi,is31fl3199"
   10         "si-en,sn3199".
   11 - #address-cells: Must be 1.
   12 - #size-cells: Must be 0.
   13 - reg: 0x64, 0x65, 0x66, or 0x67.
   14 
   15 Optional properties:
   16 - audio-gain-db : audio gain selection for external analog modulation input.
   17         Valid values: 0 - 21, step by 3 (rounded down)
   18         Default: 0
   19 - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip.
   20 
   21 Each led is represented as a sub-node of the issi,is31fl319x device.
   22 There can be less leds subnodes than the chip can support but not more.
   23 
   24 Required led sub-node properties:
   25 - reg : number of LED line
   26         Valid values: 1 - number of leds supported by the chip variant.
   27 
   28 Optional led sub-node properties:
   29 - label : see Documentation/devicetree/bindings/leds/common.txt.
   30 - linux,default-trigger :
   31         see Documentation/devicetree/bindings/leds/common.txt.
   32 - led-max-microamp : (optional)
   33         Valid values: 5000 - 40000, step by 5000 (rounded down)
   34         Default: 20000 (20 mA)
   35         Note: a driver will take the lowest of all led limits since the
   36         chip has a single global setting. The lowest value will be chosen
   37         due to the PWM specificity, where lower brightness is achieved
   38         by reducing the dury-cycle of pulses and not the current, which
   39         will always have its peak value equal to led-max-microamp.
   40 
   41 Examples:
   42 
   43 fancy_leds: leds@65 {
   44         compatible = "issi,is31fl3196";
   45         #address-cells = <1>;
   46         #size-cells = <0>;
   47         reg = <0x65>;
   48         shutdown-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
   49 
   50         red_aux: led@1 {
   51                 label = "red:aux";
   52                 reg = <1>;
   53                 led-max-microamp = <10000>;
   54         };
   55 
   56         green_power: led@5 {
   57                 label = "green:power";
   58                 reg = <5>;
   59                 linux,default-trigger = "default-on";
   60         };
   61 };

Cache object: bc91b105788ffe3b513420f0856811bb


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