18c2ecf20Sopenharmony_ci* Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe LM36274 is an integrated four-channel WLED driver and LCD bias supply.
48c2ecf20Sopenharmony_ciThe backlight boost provides the power to bias four parallel LED strings with
58c2ecf20Sopenharmony_ciup to 29V total output voltage. The 11-bit LED current is programmable via
68c2ecf20Sopenharmony_cithe I2C bus and/or controlled via a logic level PWM input from 60 uA to 30 mA.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciParent device properties are documented in
98c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/mfd/ti-lmu.txt
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciRegulator properties are documented in
128c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/regulator/lm363x-regulator.txt
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciRequired backlight properties:
158c2ecf20Sopenharmony_ci	- compatible:
168c2ecf20Sopenharmony_ci		"ti,lm36274-backlight"
178c2ecf20Sopenharmony_ci	- reg : 0
188c2ecf20Sopenharmony_ci	- #address-cells : 1
198c2ecf20Sopenharmony_ci	- #size-cells : 0
208c2ecf20Sopenharmony_ci	- led-sources : Indicates which LED strings will be enabled.
218c2ecf20Sopenharmony_ci			Values from 0-3, sources is 0 based so strings will be
228c2ecf20Sopenharmony_ci			source value + 1.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciOptional backlight properties:
258c2ecf20Sopenharmony_ci	- label : see Documentation/devicetree/bindings/leds/common.txt
268c2ecf20Sopenharmony_ci	- linux,default-trigger :
278c2ecf20Sopenharmony_ci	   see Documentation/devicetree/bindings/leds/common.txt
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciExample:
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciHVLED string 1 and 3 are controlled by control bank A and HVLED 2 string is
328c2ecf20Sopenharmony_cicontrolled by control bank B.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_cilm36274@11 {
358c2ecf20Sopenharmony_ci	compatible = "ti,lm36274";
368c2ecf20Sopenharmony_ci	#address-cells = <1>;
378c2ecf20Sopenharmony_ci	#size-cells = <0>;
388c2ecf20Sopenharmony_ci	reg = <0x11>;
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	regulators {
438c2ecf20Sopenharmony_ci		#address-cells = <1>;
448c2ecf20Sopenharmony_ci		#size-cells = <0>;
458c2ecf20Sopenharmony_ci		compatible = "ti,lm363x-regulator";
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
488c2ecf20Sopenharmony_ci			       <&pioC 1 GPIO_ACTIVE_HIGH>;
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci		vboost {
518c2ecf20Sopenharmony_ci			regulator-name = "lcd_boost";
528c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
538c2ecf20Sopenharmony_ci			regulator-max-microvolt = <7150000>;
548c2ecf20Sopenharmony_ci			regulator-always-on;
558c2ecf20Sopenharmony_ci		};
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci		vpos {
588c2ecf20Sopenharmony_ci			regulator-name = "lcd_vpos";
598c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
608c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6500000>;
618c2ecf20Sopenharmony_ci		};
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci		vneg {
648c2ecf20Sopenharmony_ci			regulator-name = "lcd_vneg";
658c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
668c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6500000>;
678c2ecf20Sopenharmony_ci		};
688c2ecf20Sopenharmony_ci	};
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci	backlight {
718c2ecf20Sopenharmony_ci		#address-cells = <1>;
728c2ecf20Sopenharmony_ci		#size-cells = <0>;
738c2ecf20Sopenharmony_ci		compatible = "ti,lm36274-backlight";
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci		led@0 {
768c2ecf20Sopenharmony_ci			reg = <0>;
778c2ecf20Sopenharmony_ci			led-sources = <0 2>;
788c2ecf20Sopenharmony_ci			label = "white:backlight_cluster";
798c2ecf20Sopenharmony_ci			linux,default-trigger = "backlight";
808c2ecf20Sopenharmony_ci		};
818c2ecf20Sopenharmony_ci	};
828c2ecf20Sopenharmony_ci};
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ciFor more product information please see the link below:
858c2ecf20Sopenharmony_cihttps://www.ti.com/lit/ds/symlink/lm36274.pdf
86