1 TI LM3631 MFD Driver
3 Required properties:
4 - compatible: "ti,lm3631"
5 - reg: I2C slave address. 0x29.
6 - ti,en-gpio: GPIO number of LM3631 nRST pin.
8 LM3631 consists of two sub-devices, lm3631-regulator and lm3631-bl.
10 For the LM3631 regulator properties please refer to:
11 Documentation/devicetree/bindings/regulator/lm3631-regulator.txt
13 For the LM3631 backlight properties please refer to:
14 Documentation/devicetree/bindings/video/backlight/lm3631_bl.txt
16 Example:
18 lm3631@29 {
19 compatible = "ti,lm3631";
20 reg = <0x29>;
22 /* GPIO134 for HWEN pin */
23 ti,en-gpio = <&gpio5 6 0>;
25 /* Only Vpos and Vneg are used with LCD boost */
26 regulators {
27 compatible = "ti,lm3631-regulator";
29 vboost {
30 regulator-name = "lcd_boost";
31 regulator-min-microvolt = <4500000>;
32 regulator-max-microvolt = <6350000>;
33 regulator-always-on;
34 };
36 vpos {
37 regulator-name = "lcd_vpos";
38 regulator-min-microvolt = <4000000>;
39 regulator-max-microvolt = <6000000>;
40 regulator-boot-on;
41 };
43 vneg {
44 regulator-name = "lcd_vneg";
45 regulator-min-microvolt = <4000000>;
46 regulator-max-microvolt = <6000000>;
47 regulator-boot-on;
48 };
49 };
51 /* Backlight mode is I2C + PWM, two strings used */
52 backlight {
53 compatible = "ti,lm3631-backlight";
55 bl-name = "lcd";
56 full-strings-used;
57 mode-comb1;
58 };
59 };