]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/regulator/tps6586x.txt
Merge tag 'kvm-3.7-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[karo-tx-linux.git] / Documentation / devicetree / bindings / regulator / tps6586x.txt
1 TPS6586x family of regulators
2
3 Required properties:
4 - compatible: "ti,tps6586x"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - #gpio-cells: number of cells to describe a GPIO
8 - gpio-controller: mark the device as a GPIO controller
9 - regulators: A node that houses a sub-node for each regulator within the
10   device. Each sub-node is identified using the node's name (or the deprecated
11   regulator-compatible property if present), with valid values listed below.
12   The content of each sub-node is defined by the standard binding for
13   regulators; see regulator.txt.
14   sys, sm[0-2], ldo[0-9] and ldo_rtc
15 - sys-supply: The input supply for SYS.
16 - vin-sm0-supply: The input supply for the SM0.
17 - vin-sm1-supply: The input supply for the SM1.
18 - vin-sm2-supply: The input supply for the SM2.
19 - vinldo01-supply: The input supply for the LDO1 and LDO2
20 - vinldo23-supply: The input supply for the LDO2 and LDO3
21 - vinldo4-supply: The input supply for the LDO4
22 - vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
23 - vinldo9-supply: The input supply for the LDO9
24
25 Each regulator is defined using the standard binding for regulators.
26
27 Note: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
28       take care of making proper parent child relationship.
29
30 Example:
31
32         pmu: tps6586x@34 {
33                 compatible = "ti,tps6586x";
34                 reg = <0x34>;
35                 interrupts = <0 88 0x4>;
36
37                 #gpio-cells = <2>;
38                 gpio-controller;
39
40                 sys-supply = <&some_reg>;
41                 vin-sm0-supply = <&some_reg>;
42                 vin-sm1-supply = <&some_reg>;
43                 vin-sm2-supply = <&some_reg>;
44                 vinldo01-supply = <...>;
45                 vinldo23-supply = <...>;
46                 vinldo4-supply = <...>;
47                 vinldo678-supply = <...>;
48                 vinldo9-supply = <...>;
49
50                 regulators {
51                         sys_reg: sys {
52                                 regulator-name = "vdd_sys";
53                                 regulator-boot-on;
54                                 regulator-always-on;
55                         };
56
57                         sm0_reg: sm0 {
58                                 regulator-min-microvolt = < 725000>;
59                                 regulator-max-microvolt = <1500000>;
60                                 regulator-boot-on;
61                                 regulator-always-on;
62                         };
63
64                         sm1_reg: sm1 {
65                                 regulator-min-microvolt = < 725000>;
66                                 regulator-max-microvolt = <1500000>;
67                                 regulator-boot-on;
68                                 regulator-always-on;
69                         };
70
71                         sm2_reg: sm2 {
72                                 regulator-min-microvolt = <3000000>;
73                                 regulator-max-microvolt = <4550000>;
74                                 regulator-boot-on;
75                                 regulator-always-on;
76                         };
77
78                         ldo0_reg: ldo0 {
79                                 regulator-name = "PCIE CLK";
80                                 regulator-min-microvolt = <3300000>;
81                                 regulator-max-microvolt = <3300000>;
82                         };
83
84                         ldo1_reg: ldo1 {
85                                 regulator-min-microvolt = < 725000>;
86                                 regulator-max-microvolt = <1500000>;
87                         };
88
89                         ldo2_reg: ldo2 {
90                                 regulator-min-microvolt = < 725000>;
91                                 regulator-max-microvolt = <1500000>;
92                         };
93
94                         ldo3_reg: ldo3 {
95                                 regulator-min-microvolt = <1250000>;
96                                 regulator-max-microvolt = <3300000>;
97                         };
98
99                         ldo4_reg: ldo4 {
100                                 regulator-min-microvolt = <1700000>;
101                                 regulator-max-microvolt = <2475000>;
102                         };
103
104                         ldo5_reg: ldo5 {
105                                 regulator-min-microvolt = <1250000>;
106                                 regulator-max-microvolt = <3300000>;
107                         };
108
109                         ldo6_reg: ldo6 {
110                                 regulator-min-microvolt = <1250000>;
111                                 regulator-max-microvolt = <3300000>;
112                         };
113
114                         ldo7_reg: ldo7 {
115                                 regulator-min-microvolt = <1250000>;
116                                 regulator-max-microvolt = <3300000>;
117                         };
118
119                         ldo8_reg: ldo8 {
120                                 regulator-min-microvolt = <1250000>;
121                                 regulator-max-microvolt = <3300000>;
122                         };
123
124                         ldo9_reg: ldo9 {
125                                 regulator-min-microvolt = <1250000>;
126                                 regulator-max-microvolt = <3300000>;
127                         };
128                 };
129         };