mfd: Ensure AB8500 platform data is passed through db8500-prcmu to MFD Core
[pandora-kernel.git] / Documentation / devicetree / bindings / mfd / tps65910.txt
1 TPS65910 Power Management Integrated Circuit
2
3 Required properties:
4 - compatible: "ti,tps65910" or "ti,tps65911"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - #gpio-cells: number of cells to describe a GPIO, this should be 2.
8   The first cell is the GPIO number.
9   The second cell is used to specify additional options <unused>.
10 - gpio-controller: mark the device as a GPIO controller
11 - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
12   The first cell is the IRQ number.
13   The second cell is the flags, encoded as the trigger masks from
14   Documentation/devicetree/bindings/interrupts.txt
15 - regulators: This is the list of child nodes that specify the regulator
16   initialization data for defined regulators. Not all regulators for the given
17   device need to be present. The definition for each of these nodes is defined
18   using the standard binding for regulators found at
19   Documentation/devicetree/bindings/regulator/regulator.txt.
20
21   The valid names for regulators are:
22   tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
23             vaux2, vaux33, vmmc
24   tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
25             ldo6, ldo7, ldo8
26
27 Optional properties:
28 - ti,vmbch-threshold: (tps65911) main battery charged threshold
29   comparator. (see VMBCH_VSEL in TPS65910 datasheet)
30 - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
31   comparator. (see VMBCH_VSEL in TPS65910 datasheet)
32 - ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL
33   in TPS6591X datasheet)
34 - ti,en-gpio-sleep: enable sleep control for gpios
35   There should be 9 entries here, one for each gpio.
36
37 Regulator Optional properties:
38 - ti,regulator-ext-sleep-control: enable external sleep
39   control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]
40   If this property is not defined, it defaults to 0 (not enabled).
41
42 Example:
43
44         pmu: tps65910@d2 {
45                 compatible = "ti,tps65910";
46                 reg = <0xd2>;
47                 interrupt-parent = <&intc>;
48                 interrupts = < 0 118 0x04 >;
49
50                 #gpio-cells = <2>;
51                 gpio-controller;
52
53                 #interrupt-cells = <2>;
54                 interrupt-controller;
55
56                 ti,vmbch-threshold = 0;
57                 ti,vmbch2-threshold = 0;
58                 ti,en-ck32k-xtal;
59                 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
60
61                 regulators {
62                         vdd1_reg: vdd1 {
63                                 regulator-min-microvolt = < 600000>;
64                                 regulator-max-microvolt = <1500000>;
65                                 regulator-always-on;
66                                 regulator-boot-on;
67                                 ti,regulator-ext-sleep-control = <0>;
68                         };
69                         vdd2_reg: vdd2 {
70                                 regulator-min-microvolt = < 600000>;
71                                 regulator-max-microvolt = <1500000>;
72                                 regulator-always-on;
73                                 regulator-boot-on;
74                                 ti,regulator-ext-sleep-control = <4>;
75                         };
76                         vddctrl_reg: vddctrl {
77                                 regulator-min-microvolt = < 600000>;
78                                 regulator-max-microvolt = <1400000>;
79                                 regulator-always-on;
80                                 regulator-boot-on;
81                                 ti,regulator-ext-sleep-control = <0>;
82                         };
83                         vio_reg: vio {
84                                 regulator-min-microvolt = <1500000>;
85                                 regulator-max-microvolt = <1800000>;
86                                 regulator-always-on;
87                                 regulator-boot-on;
88                                 ti,regulator-ext-sleep-control = <1>;
89                         };
90                         ldo1_reg: ldo1 {
91                                 regulator-min-microvolt = <1000000>;
92                                 regulator-max-microvolt = <3300000>;
93                                 ti,regulator-ext-sleep-control = <0>;
94                         };
95                         ldo2_reg: ldo2 {
96                                 regulator-min-microvolt = <1050000>;
97                                 regulator-max-microvolt = <1050000>;
98                                 ti,regulator-ext-sleep-control = <0>;
99                         };
100                         ldo3_reg: ldo3 {
101                                 regulator-min-microvolt = <1000000>;
102                                 regulator-max-microvolt = <3300000>;
103                                 ti,regulator-ext-sleep-control = <0>;
104                         };
105                         ldo4_reg: ldo4 {
106                                 regulator-min-microvolt = <1000000>;
107                                 regulator-max-microvolt = <3300000>;
108                                 regulator-always-on;
109                                 ti,regulator-ext-sleep-control = <0>;
110                         };
111                         ldo5_reg: ldo5 {
112                                 regulator-min-microvolt = <1000000>;
113                                 regulator-max-microvolt = <3300000>;
114                                 ti,regulator-ext-sleep-control = <0>;
115                         };
116                         ldo6_reg: ldo6 {
117                                 regulator-min-microvolt = <1200000>;
118                                 regulator-max-microvolt = <1200000>;
119                                 ti,regulator-ext-sleep-control = <0>;
120                         };
121                         ldo7_reg: ldo7 {
122                                 regulator-min-microvolt = <1200000>;
123                                 regulator-max-microvolt = <1200000>;
124                                 regulator-always-on;
125                                 regulator-boot-on;
126                                 ti,regulator-ext-sleep-control = <1>;
127                         };
128                         ldo8_reg: ldo8 {
129                                 regulator-min-microvolt = <1000000>;
130                                 regulator-max-microvolt = <3300000>;
131                                 regulator-always-on;
132                                 ti,regulator-ext-sleep-control = <1>;
133                         };
134                 };
135         };