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