Patrick Daly | cd99982 | 2014-01-17 15:16:52 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 13 | /* SPM controlled regulators: */ |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 14 | |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 15 | &spmi_bus { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 16 | qcom,pm8226@1 { |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 17 | pm8226_s2: spm-regulator@1700 { |
| 18 | compatible = "qcom,spm-regulator"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 19 | regulator-name = "8226_s2"; |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 20 | reg = <0x1700 0x100>; |
| 21 | regulator-min-microvolt = <900000>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 22 | regulator-max-microvolt = <1350000>; |
David Collins | 420ab60 | 2013-08-08 11:47:12 -0700 | [diff] [blame] | 23 | qcom,mode = "auto"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 24 | }; |
| 25 | }; |
| 26 | }; |
| 27 | |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 28 | /* CPR controlled regulator */ |
| 29 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 30 | &soc { |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 31 | apc_vreg_corner: regulator@f9018000 { |
| 32 | status = "okay"; |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 33 | compatible = "qcom,cpr-regulator"; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 34 | reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b8000 0x1000>; |
| 35 | reg-names = "rbcpr", "rbcpr_clk", "efuse_addr"; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 36 | interrupts = <0 15 0>; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 37 | regulator-name = "apc_corner"; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 38 | |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 39 | qcom,pvs-fuse-redun-sel = <22 24 3 2 0>; |
| 40 | qcom,pvs-fuse = <22 6 5 0>; |
| 41 | qcom,pvs-fuse-redun = <22 27 5 0>; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 42 | |
Ke Liu | b43a183 | 2014-02-04 11:53:38 -0800 | [diff] [blame] | 43 | qcom,pvs-voltage-table = |
| 44 | <1050000 1150000 1350000>, |
| 45 | <1050000 1150000 1340000>, |
| 46 | <1050000 1150000 1330000>, |
| 47 | <1050000 1150000 1320000>, |
| 48 | <1050000 1150000 1310000>, |
| 49 | <1050000 1150000 1300000>, |
| 50 | <1050000 1150000 1290000>, |
| 51 | <1050000 1150000 1280000>, |
| 52 | <1050000 1150000 1270000>, |
| 53 | <1050000 1140000 1260000>, |
| 54 | <1050000 1130000 1250000>, |
| 55 | <1050000 1120000 1240000>, |
| 56 | <1050000 1110000 1230000>, |
| 57 | <1050000 1100000 1220000>, |
| 58 | <1050000 1090000 1210000>, |
| 59 | <1050000 1080000 1200000>, |
| 60 | <1050000 1070000 1190000>, |
| 61 | <1050000 1060000 1180000>, |
| 62 | <1050000 1050000 1170000>, |
| 63 | <1050000 1050000 1160000>, |
| 64 | <1050000 1050000 1150000>, |
| 65 | <1050000 1050000 1140000>, |
| 66 | <1050000 1050000 1140000>, |
| 67 | <1050000 1050000 1140000>, |
| 68 | <1050000 1050000 1140000>, |
| 69 | <1050000 1050000 1140000>, |
| 70 | <1050000 1050000 1140000>, |
| 71 | <1050000 1050000 1140000>, |
| 72 | <1050000 1050000 1140000>, |
| 73 | <1050000 1050000 1140000>, |
| 74 | <1050000 1050000 1140000>, |
| 75 | <1050000 1050000 1140000>; |
| 76 | qcom,cpr-voltage-ceiling = <1050000 1150000 1280000>; |
| 77 | qcom,cpr-voltage-floor = <1050000 1050000 1100000>; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 78 | vdd-apc-supply = <&pm8226_s2>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 79 | |
Willie Ruan | 839e8dd | 2013-04-04 09:59:31 -0700 | [diff] [blame] | 80 | vdd-mx-supply = <&pm8226_l3_ao>; |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 81 | qcom,vdd-mx-vmax = <1350000>; |
| 82 | qcom,vdd-mx-vmin-method = <1>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 83 | |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 84 | qcom,cpr-ref-clk = <19200>; |
| 85 | qcom,cpr-timer-delay = <5000>; |
| 86 | qcom,cpr-timer-cons-up = <0>; |
| 87 | qcom,cpr-timer-cons-down = <2>; |
| 88 | qcom,cpr-irq-line = <0>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 89 | qcom,cpr-step-quotient = <30>; |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 90 | qcom,cpr-idle-clocks = <0>; |
| 91 | qcom,cpr-gcnt-time = <1>; |
| 92 | qcom,vdd-apc-step-up-limit = <1>; |
| 93 | qcom,vdd-apc-step-down-limit = <1>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 94 | qcom,cpr-apc-volt-step = <10000>; |
David Collins | 1581afc | 2013-05-21 14:32:00 -0700 | [diff] [blame] | 95 | |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 96 | qcom,cpr-fuse-redun-sel = <138 57 1 1 0>; |
| 97 | qcom,cpr-fuse-row = <138 0>; |
| 98 | qcom,cpr-fuse-bp-cpr-disable = <36>; |
| 99 | qcom,cpr-fuse-bp-scheme = <37>; |
| 100 | qcom,cpr-fuse-target-quot = <24 12 0>; |
| 101 | qcom,cpr-fuse-ro-sel = <54 38 41>; |
| 102 | qcom,cpr-fuse-redun-row = <139 0>; |
| 103 | qcom,cpr-fuse-redun-target-quot = <24 12 0>; |
| 104 | qcom,cpr-fuse-redun-ro-sel = <46 36 39>; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 105 | |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 106 | qcom,cpr-enable; |
| 107 | qcom,cpr-fuse-cond-min-volt-sel = <54 42 6 7 1>; |
| 108 | qcom,cpr-cond-min-voltage = <1140000>; |
| 109 | qcom,cpr-fuse-uplift-sel = <22 53 1 0 0>; |
| 110 | qcom,cpr-uplift-voltage = <50000>; |
| 111 | qcom,cpr-uplift-quotient = <0 0 120>; |
| 112 | qcom,cpr-uplift-max-volt = <1350000>; |
| 113 | qcom,cpr-uplift-speed-bin = <1>; |
| 114 | qcom,speed-bin-fuse-sel = <22 0 3 0>; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 115 | }; |
| 116 | }; |
| 117 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 118 | /* RPM controlled regulators: */ |
| 119 | |
| 120 | &rpm_bus { |
| 121 | rpm-regulator-smpa1 { |
| 122 | status = "okay"; |
| 123 | pm8226_s1: regulator-s1 { |
| 124 | regulator-min-microvolt = <500000>; |
| 125 | regulator-max-microvolt = <1275000>; |
| 126 | status = "okay"; |
| 127 | }; |
| 128 | pm8226_s1_corner: regulator-s1-corner { |
| 129 | compatible = "qcom,rpm-regulator-smd"; |
| 130 | regulator-name = "8226_s1_corner"; |
| 131 | qcom,set = <3>; |
| 132 | regulator-min-microvolt = <1>; |
| 133 | regulator-max-microvolt = <7>; |
| 134 | qcom,use-voltage-corner; |
Patrick Daly | 4c4452a | 2013-04-29 12:25:05 -0700 | [diff] [blame] | 135 | qcom,consumer-supplies = "vdd_dig", ""; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 136 | }; |
| 137 | pm8226_s1_corner_ao: regulator-s1-corner-ao { |
| 138 | compatible = "qcom,rpm-regulator-smd"; |
| 139 | regulator-name = "8226_s1_corner_ao"; |
| 140 | qcom,set = <1>; |
| 141 | regulator-min-microvolt = <1>; |
| 142 | regulator-max-microvolt = <7>; |
| 143 | qcom,use-voltage-corner; |
Patrick Daly | 4c4452a | 2013-04-29 12:25:05 -0700 | [diff] [blame] | 144 | qcom,consumer-supplies = "vdd_sr2_dig", ""; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 145 | }; |
Jennifer Liu | c022d3a | 2013-06-26 11:33:58 -0700 | [diff] [blame] | 146 | pm8226_s1_floor_corner: regulator-s1-floor-corner { |
| 147 | compatible = "qcom,rpm-regulator-smd"; |
| 148 | regulator-name = "8226_s1_floor_corner"; |
| 149 | qcom,set = <3>; |
| 150 | regulator-min-microvolt = <1>; |
| 151 | regulator-max-microvolt = <7>; |
| 152 | qcom,use-voltage-floor-corner; |
| 153 | qcom,always-send-voltage; |
| 154 | }; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 155 | }; |
| 156 | |
| 157 | rpm-regulator-smpa3 { |
| 158 | status = "okay"; |
| 159 | pm8226_s3: regulator-s3 { |
| 160 | regulator-min-microvolt = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 161 | regulator-max-microvolt = <1300000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 162 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 163 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 164 | }; |
| 165 | }; |
| 166 | |
| 167 | rpm-regulator-smpa4 { |
| 168 | status = "okay"; |
| 169 | pm8226_s4: regulator-s4 { |
Bhalchandra Gajare | def08ad | 2013-06-20 15:25:28 -0700 | [diff] [blame] | 170 | regulator-min-microvolt = <1800000>; |
| 171 | regulator-max-microvolt = <2200000>; |
| 172 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 173 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 174 | }; |
| 175 | }; |
| 176 | |
| 177 | rpm-regulator-smpa5 { |
| 178 | status = "okay"; |
| 179 | pm8226_s5: regulator-s5 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 180 | regulator-min-microvolt = <1150000>; |
| 181 | regulator-max-microvolt = <1150000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 182 | qcom,init-voltage = <1150000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 183 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 184 | }; |
| 185 | }; |
| 186 | |
| 187 | rpm-regulator-ldoa1 { |
| 188 | status = "okay"; |
| 189 | pm8226_l1: regulator-l1 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 190 | regulator-name = "8226_l1"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 191 | regulator-min-microvolt = <1225000>; |
| 192 | regulator-max-microvolt = <1225000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 193 | qcom,init-voltage = <1225000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 194 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 195 | }; |
| 196 | }; |
| 197 | |
| 198 | rpm-regulator-ldoa2 { |
| 199 | status = "okay"; |
| 200 | pm8226_l2: regulator-l2 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 201 | regulator-min-microvolt = <1200000>; |
| 202 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 203 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 204 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 205 | }; |
| 206 | }; |
| 207 | |
| 208 | rpm-regulator-ldoa3 { |
| 209 | status = "okay"; |
| 210 | pm8226_l3: regulator-l3 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 211 | regulator-name = "8226_l3"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 212 | regulator-min-microvolt = <750000>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 213 | regulator-max-microvolt = <1337500>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 214 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 215 | }; |
| 216 | pm8226_l3_ao: regulator-3-ao { |
| 217 | compatible = "qcom,rpm-regulator-smd"; |
| 218 | regulator-name = "8226_l3_ao"; |
| 219 | qcom,set = <1>; |
| 220 | regulator-min-microvolt = <750000>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 221 | regulator-max-microvolt = <1337500>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 222 | status = "okay"; |
| 223 | }; |
| 224 | pm8226_l3_so: regulator-l3-so { |
| 225 | compatible = "qcom,rpm-regulator-smd"; |
| 226 | regulator-name = "8226_l3_so"; |
| 227 | qcom,set = <2>; |
| 228 | regulator-min-microvolt = <750000>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 229 | regulator-max-microvolt = <1337500>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 230 | qcom,init-voltage = <750000>; |
| 231 | status = "okay"; |
| 232 | }; |
| 233 | }; |
| 234 | |
| 235 | rpm-regulator-ldoa4 { |
| 236 | status = "okay"; |
| 237 | pm8226_l4: regulator-l4 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 238 | regulator-name = "8226_l4"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 239 | regulator-min-microvolt = <1200000>; |
| 240 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 241 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 242 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 243 | }; |
| 244 | }; |
| 245 | |
| 246 | rpm-regulator-ldoa5 { |
| 247 | status = "okay"; |
| 248 | pm8226_l5: regulator-l5 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 249 | regulator-name = "8226_l5"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 250 | regulator-min-microvolt = <1200000>; |
| 251 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 252 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 253 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 254 | }; |
| 255 | }; |
| 256 | |
| 257 | rpm-regulator-ldoa6 { |
| 258 | status = "okay"; |
| 259 | pm8226_l6: regulator-l6 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 260 | regulator-name = "8226_l6"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 261 | regulator-min-microvolt = <1800000>; |
| 262 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 263 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 264 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 265 | }; |
| 266 | }; |
| 267 | |
| 268 | rpm-regulator-ldoa7 { |
| 269 | status = "okay"; |
| 270 | pm8226_l7: regulator-l7 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 271 | regulator-name = "8226_l7"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 272 | regulator-min-microvolt = <1850000>; |
| 273 | regulator-max-microvolt = <1850000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 274 | qcom,init-voltage = <1850000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 275 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 276 | }; |
| 277 | }; |
| 278 | |
| 279 | rpm-regulator-ldoa8 { |
| 280 | status = "okay"; |
| 281 | pm8226_l8: regulator-l8 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 282 | regulator-min-microvolt = <1800000>; |
| 283 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 284 | qcom,init-voltage = <1800000>; |
| 285 | status = "okay"; |
David Keitel | 3c56f48 | 2013-05-20 12:54:21 -0700 | [diff] [blame] | 286 | }; |
| 287 | |
| 288 | pm8226_l8_ao: regulator-l8-ao { |
| 289 | compatible = "qcom,rpm-regulator-smd"; |
| 290 | regulator-name = "8226_l8_ao"; |
| 291 | qcom,set = <1>; |
| 292 | regulator-min-microvolt = <1800000>; |
| 293 | regulator-max-microvolt = <1800000>; |
| 294 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 295 | qcom,consumer-supplies = "vdd_sr2_pll", ""; |
| 296 | }; |
David Keitel | 3c56f48 | 2013-05-20 12:54:21 -0700 | [diff] [blame] | 297 | |
| 298 | pm8226_l8_so: regulator-l8-so { |
| 299 | compatible = "qcom,rpm-regulator-smd"; |
| 300 | regulator-name = "8226_l8_so"; |
| 301 | qcom,set = <2>; |
| 302 | regulator-min-microvolt = <1800000>; |
| 303 | regulator-max-microvolt = <1800000>; |
| 304 | qcom,init-voltage = <1800000>; |
| 305 | qcom,init-enable = <0>; |
| 306 | }; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 307 | }; |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 308 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 309 | rpm-regulator-ldoa9 { |
| 310 | status = "okay"; |
| 311 | pm8226_l9: regulator-l9 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 312 | regulator-name = "8226_l9"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 313 | regulator-min-microvolt = <2050000>; |
| 314 | regulator-max-microvolt = <2050000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 315 | qcom,init-voltage = <2050000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 316 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 317 | }; |
| 318 | }; |
| 319 | |
| 320 | rpm-regulator-ldoa10 { |
| 321 | status = "okay"; |
| 322 | pm8226_l10: regulator-l10 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 323 | regulator-name = "8226_l10"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 324 | regulator-min-microvolt = <1800000>; |
| 325 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 326 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 327 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 328 | }; |
| 329 | }; |
| 330 | |
| 331 | rpm-regulator-ldoa12 { |
| 332 | status = "okay"; |
| 333 | pm8226_l12: regulator-l12 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 334 | regulator-name = "8226_l12"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 335 | regulator-min-microvolt = <1800000>; |
| 336 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 337 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 338 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 339 | }; |
| 340 | }; |
| 341 | |
| 342 | rpm-regulator-ldoa14 { |
| 343 | status = "okay"; |
| 344 | pm8226_l14: regulator-l14 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 345 | regulator-name = "8226_l14"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 346 | regulator-min-microvolt = <2750000>; |
| 347 | regulator-max-microvolt = <2750000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 348 | qcom,init-voltage = <2750000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 349 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 350 | }; |
| 351 | }; |
| 352 | |
| 353 | rpm-regulator-ldoa15 { |
| 354 | status = "okay"; |
| 355 | pm8226_l15: regulator-l15 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 356 | regulator-name = "8226_l15"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 357 | regulator-min-microvolt = <2800000>; |
| 358 | regulator-max-microvolt = <2800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 359 | qcom,init-voltage = <2800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 360 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 361 | }; |
| 362 | }; |
| 363 | |
| 364 | rpm-regulator-ldoa16 { |
| 365 | status = "okay"; |
| 366 | pm8226_l16: regulator-l16 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 367 | regulator-name = "8226_l16"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 368 | regulator-min-microvolt = <3000000>; |
David Keitel | ede15c4 | 2013-10-21 13:33:41 -0700 | [diff] [blame] | 369 | regulator-max-microvolt = <3350000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 370 | qcom,init-voltage = <3300000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 371 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 372 | }; |
| 373 | }; |
| 374 | |
| 375 | rpm-regulator-ldoa17 { |
| 376 | status = "okay"; |
| 377 | pm8226_l17: regulator-l17 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 378 | regulator-min-microvolt = <2950000>; |
| 379 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 380 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 381 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 382 | }; |
| 383 | }; |
| 384 | |
| 385 | rpm-regulator-ldoa18 { |
| 386 | status = "okay"; |
| 387 | pm8226_l18: regulator-l18 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 388 | regulator-name = "8226_l18"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 389 | regulator-min-microvolt = <2950000>; |
| 390 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 391 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 392 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 393 | }; |
| 394 | }; |
| 395 | |
| 396 | rpm-regulator-ldoa19 { |
| 397 | status = "okay"; |
| 398 | pm8226_l19: regulator-l19 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 399 | regulator-name = "8226_l19"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 400 | regulator-min-microvolt = <2850000>; |
| 401 | regulator-max-microvolt = <2850000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 402 | qcom,init-voltage = <2850000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 403 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 404 | }; |
| 405 | }; |
| 406 | |
| 407 | rpm-regulator-ldoa20 { |
| 408 | status = "okay"; |
| 409 | pm8226_l20: regulator-l20 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 410 | regulator-name = "8226_l20"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 411 | regulator-min-microvolt = <3075000>; |
| 412 | regulator-max-microvolt = <3075000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 413 | qcom,init-voltage = <3075000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 414 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 415 | }; |
| 416 | }; |
| 417 | |
| 418 | rpm-regulator-ldoa21 { |
| 419 | status = "okay"; |
| 420 | pm8226_l21: regulator-l21 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 421 | regulator-name = "8226_l21"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 422 | regulator-min-microvolt = <1800000>; |
| 423 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 424 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 425 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 426 | }; |
| 427 | }; |
| 428 | |
| 429 | rpm-regulator-ldoa22 { |
| 430 | status = "okay"; |
| 431 | pm8226_l22: regulator-l22 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 432 | regulator-name = "8226_l22"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 433 | regulator-min-microvolt = <1800000>; |
| 434 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 435 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 436 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 437 | }; |
| 438 | }; |
| 439 | |
| 440 | rpm-regulator-ldoa23 { |
| 441 | status = "okay"; |
| 442 | pm8226_l23: regulator-l23 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 443 | regulator-name = "8226_l23"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 444 | regulator-min-microvolt = <1800000>; |
| 445 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 446 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 447 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 448 | }; |
| 449 | }; |
| 450 | |
| 451 | rpm-regulator-ldoa24 { |
| 452 | status = "okay"; |
| 453 | pm8226_l24: regulator-l24 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 454 | regulator-name = "8226_l24"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 455 | regulator-min-microvolt = <1300000>; |
David Keitel | ede15c4 | 2013-10-21 13:33:41 -0700 | [diff] [blame] | 456 | regulator-max-microvolt = <1350000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 457 | qcom,init-voltage = <1300000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 458 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 459 | }; |
| 460 | }; |
| 461 | |
David Keitel | 69d1d72 | 2013-06-07 19:30:32 -0700 | [diff] [blame] | 462 | rpm-regulator-ldoa25 { |
| 463 | status = "okay"; |
| 464 | pm8226_l25: regulator-l25 { |
| 465 | regulator-name = "8226_l25"; |
| 466 | regulator-min-microvolt = <1775000>; |
| 467 | regulator-max-microvolt = <2125000>; |
| 468 | qcom,init-voltage = <1775000>; |
| 469 | status = "okay"; |
| 470 | }; |
| 471 | }; |
| 472 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 473 | rpm-regulator-ldoa26 { |
| 474 | status = "okay"; |
| 475 | pm8226_l26: regulator-l26 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 476 | regulator-name = "8226_l26"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 477 | regulator-min-microvolt = <1225000>; |
| 478 | regulator-max-microvolt = <1225000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 479 | qcom,init-voltage = <1225000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 480 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 481 | }; |
| 482 | }; |
| 483 | |
| 484 | rpm-regulator-ldoa27 { |
| 485 | status = "okay"; |
| 486 | pm8226_l27: regulator-l27 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 487 | regulator-name = "8226_l27"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 488 | regulator-min-microvolt = <2050000>; |
| 489 | regulator-max-microvolt = <2050000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 490 | qcom,init-voltage = <2050000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 491 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 492 | }; |
| 493 | }; |
| 494 | |
| 495 | rpm-regulator-ldoa28 { |
| 496 | status = "okay"; |
| 497 | pm8226_l28: regulator-l28 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 498 | regulator-name = "8226_l28"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 499 | regulator-min-microvolt = <1800000>; |
| 500 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 501 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 502 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 503 | }; |
| 504 | }; |
| 505 | |
| 506 | rpm-regulator-vsa1 { |
| 507 | status = "okay"; |
| 508 | pm8226_lvs1: regulator-lvs1 { |
| 509 | status = "okay"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 510 | }; |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 511 | }; |
| 512 | }; |
David Keitel | 55aa28c | 2013-05-22 05:24:47 -0700 | [diff] [blame] | 513 | |
| 514 | &pm8226_chg_boost { |
| 515 | regulator-min-microvolt = <5000000>; |
| 516 | regulator-max-microvolt = <5000000>; |
| 517 | regulator-name = "8226_smbbp_boost"; |
| 518 | }; |
| 519 | |
David Keitel | 3bdfa5d | 2013-07-10 17:36:07 -0700 | [diff] [blame] | 520 | &pm8226_chg { |
| 521 | otg-parent-supply = <&pm8226_chg_boost>; |
| 522 | }; |
| 523 | |
Abhijeet Dharmapurikar | 6ba9076 | 2013-08-05 12:50:21 -0700 | [diff] [blame] | 524 | &pm8226_chg_batif { |
| 525 | regulator-name = "batfet"; |
| 526 | }; |
| 527 | |
David Keitel | 3bdfa5d | 2013-07-10 17:36:07 -0700 | [diff] [blame] | 528 | &pm8226_chg_otg { |
| 529 | regulator-name = "8226_smbbp_otg"; |
David Collins | 091bb24 | 2013-05-23 11:08:24 -0700 | [diff] [blame] | 530 | }; |