Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / leds / leds-is31fl319x.txt
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 };