summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/lm3631.txt')
-rw-r--r--Documentation/devicetree/bindings/mfd/lm3631.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/lm3631.txt b/Documentation/devicetree/bindings/mfd/lm3631.txt
new file mode 100644
index 0000000..5247f8c
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/lm3631.txt
@@ -0,0 +1,59 @@
1TI LM3631 MFD Driver
2
3Required properties:
4 - compatible: "ti,lm3631"
5 - reg: I2C slave address. 0x29.
6 - ti,en-gpio: GPIO number of LM3631 nRST pin.
7
8LM3631 consists of two sub-devices, lm3631-regulator and lm3631-bl.
9
10For the LM3631 regulator properties please refer to:
11Documentation/devicetree/bindings/regulator/lm3631-regulator.txt
12
13For the LM3631 backlight properties please refer to:
14Documentation/devicetree/bindings/video/backlight/lm3631_bl.txt
15
16Example:
17
18lm3631@29 {
19 compatible = "ti,lm3631";
20 reg = <0x29>;
21
22 /* GPIO134 for HWEN pin */
23 ti,en-gpio = <&gpio5 6 0>;
24
25 /* Only Vpos and Vneg are used with LCD boost */
26 regulators {
27 compatible = "ti,lm3631-regulator";
28
29 vboost {
30 regulator-name = "lcd_boost";
31 regulator-min-microvolt = <4500000>;
32 regulator-max-microvolt = <6350000>;
33 regulator-always-on;
34 };
35
36 vpos {
37 regulator-name = "lcd_vpos";
38 regulator-min-microvolt = <4000000>;
39 regulator-max-microvolt = <6000000>;
40 regulator-boot-on;
41 };
42
43 vneg {
44 regulator-name = "lcd_vneg";
45 regulator-min-microvolt = <4000000>;
46 regulator-max-microvolt = <6000000>;
47 regulator-boot-on;
48 };
49 };
50
51 /* Backlight mode is I2C + PWM, two strings used */
52 backlight {
53 compatible = "ti,lm3631-backlight";
54
55 bl-name = "lcd";
56 full-strings-used;
57 mode-comb1;
58 };
59};