WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / leds / leds-lm36274.txt
blobde6f4931fb319bbf6731ceeee47968a133d27022
1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias
3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply.
4 The backlight boost provides the power to bias four parallel LED strings with
5 up to 29V total output voltage. The 11-bit LED current is programmable via
6 the I2C bus and/or controlled via a logic level PWM input from 60 uA to 30 mA.
8 Parent device properties are documented in
9 Documentation/devicetree/bindings/mfd/ti-lmu.txt
11 Regulator properties are documented in
12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt
14 Required backlight properties:
15         - compatible:
16                 "ti,lm36274-backlight"
17         - reg : 0
18         - #address-cells : 1
19         - #size-cells : 0
20         - led-sources : Indicates which LED strings will be enabled.
21                         Values from 0-3, sources is 0 based so strings will be
22                         source value + 1.
24 Optional backlight properties:
25         - label : see Documentation/devicetree/bindings/leds/common.txt
26         - linux,default-trigger :
27            see Documentation/devicetree/bindings/leds/common.txt
29 Example:
31 HVLED string 1 and 3 are controlled by control bank A and HVLED 2 string is
32 controlled by control bank B.
34 lm36274@11 {
35         compatible = "ti,lm36274";
36         #address-cells = <1>;
37         #size-cells = <0>;
38         reg = <0x11>;
40         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
42         regulators {
43                 #address-cells = <1>;
44                 #size-cells = <0>;
45                 compatible = "ti,lm363x-regulator";
47                 enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
48                                <&pioC 1 GPIO_ACTIVE_HIGH>;
50                 vboost {
51                         regulator-name = "lcd_boost";
52                         regulator-min-microvolt = <4000000>;
53                         regulator-max-microvolt = <7150000>;
54                         regulator-always-on;
55                 };
57                 vpos {
58                         regulator-name = "lcd_vpos";
59                         regulator-min-microvolt = <4000000>;
60                         regulator-max-microvolt = <6500000>;
61                 };
63                 vneg {
64                         regulator-name = "lcd_vneg";
65                         regulator-min-microvolt = <4000000>;
66                         regulator-max-microvolt = <6500000>;
67                 };
68         };
70         backlight {
71                 #address-cells = <1>;
72                 #size-cells = <0>;
73                 compatible = "ti,lm36274-backlight";
75                 led@0 {
76                         reg = <0>;
77                         led-sources = <0 2>;
78                         label = "white:backlight_cluster";
79                         linux,default-trigger = "backlight";
80                 };
81         };
84 For more product information please see the link below:
85 https://www.ti.com/lit/ds/symlink/lm36274.pdf