David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2016, The Linux Foundation. All rights reserved. |
| 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 | |
| 13 | #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
| 14 | |
| 15 | /* Stub regulators */ |
| 16 | / { |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 17 | pm8998_s1: regulator-pm8998-s1 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 18 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 19 | regulator-name = "pm8998_s1"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 20 | qcom,hpm-min-load = <100000>; |
| 21 | regulator-min-microvolt = <800000>; |
| 22 | regulator-max-microvolt = <800000>; |
| 23 | }; |
| 24 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 25 | pm8998_s2: regulator-pm8998-s2 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 26 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 27 | regulator-name = "pm8998_s2"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 28 | qcom,hpm-min-load = <100000>; |
| 29 | regulator-min-microvolt = <1100000>; |
| 30 | regulator-max-microvolt = <1100000>; |
| 31 | }; |
| 32 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 33 | pm8998_s3: regulator-pm8998-s3 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 34 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 35 | regulator-name = "pm8998_s3"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 36 | qcom,hpm-min-load = <100000>; |
| 37 | regulator-min-microvolt = <1352000>; |
| 38 | regulator-max-microvolt = <1352000>; |
| 39 | }; |
| 40 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 41 | pm8998_s4: regulator-pm8998-s4 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 42 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 43 | regulator-name = "pm8998_s4"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 44 | qcom,hpm-min-load = <100000>; |
| 45 | regulator-min-microvolt = <1800000>; |
| 46 | regulator-max-microvolt = <1800000>; |
| 47 | }; |
| 48 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 49 | pm8998_s5: regulator-pm8998-s5 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 50 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 51 | regulator-name = "pm8998_s5"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 52 | qcom,hpm-min-load = <100000>; |
| 53 | regulator-min-microvolt = <1904000>; |
| 54 | regulator-max-microvolt = <2040000>; |
| 55 | }; |
| 56 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 57 | /* PM8998 S6 = VDD_MX supply */ |
| 58 | pm8998_s6_level: regulator-pm8998-s6-level { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 59 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 60 | regulator-name = "pm8998_s6_level"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 61 | qcom,hpm-min-load = <100000>; |
| 62 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 63 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 64 | }; |
| 65 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 66 | pm8998_s6_level_ao: regulator-pm8998-s6-level-ao { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 67 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 68 | regulator-name = "pm8998_s6_level_ao"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 69 | qcom,hpm-min-load = <100000>; |
| 70 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 71 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 72 | }; |
| 73 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 74 | pm8998_s7: regulator-pm8998-s7 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 75 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 76 | regulator-name = "pm8998_s7"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 77 | qcom,hpm-min-load = <100000>; |
| 78 | regulator-min-microvolt = <900000>; |
| 79 | regulator-max-microvolt = <1028000>; |
| 80 | }; |
| 81 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 82 | /* PM8998 S9 + S8 = VDD_CX supply */ |
| 83 | pm8998_s9_level: regulator-pm8998-s9-level { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 84 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 85 | regulator-name = "pm8998_s9_level"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 86 | qcom,hpm-min-load = <100000>; |
| 87 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 88 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 89 | }; |
| 90 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 91 | pm8998_s9_level_ao: regulator-pm8998-s9-level-ao { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 92 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 93 | regulator-name = "pm8998_s9_level_ao"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 94 | qcom,hpm-min-load = <100000>; |
| 95 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 96 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 97 | }; |
| 98 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 99 | pm8998_l1: regulator-pm8998-l1 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 100 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 101 | regulator-name = "pm8998_l1"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 102 | qcom,hpm-min-load = <10000>; |
| 103 | regulator-min-microvolt = <880000>; |
| 104 | regulator-max-microvolt = <880000>; |
| 105 | }; |
| 106 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 107 | pm8998_l2: regulator-pm8998-l2 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 108 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 109 | regulator-name = "pm8998_l2"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 110 | qcom,hpm-min-load = <10000>; |
| 111 | regulator-min-microvolt = <1200000>; |
| 112 | regulator-max-microvolt = <1200000>; |
| 113 | }; |
| 114 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 115 | pm8998_l3: regulator-pm8998-l3 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 116 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 117 | regulator-name = "pm8998_l3"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 118 | qcom,hpm-min-load = <10000>; |
| 119 | regulator-min-microvolt = <1000000>; |
| 120 | regulator-max-microvolt = <1000000>; |
| 121 | }; |
| 122 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 123 | /* PM8998 L4 = VDD_SSC_MX supply */ |
| 124 | pm8998_l4_level: regulator-pm8998-l4-level { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 125 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 126 | regulator-name = "pm8998_l4_level"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 127 | qcom,hpm-min-load = <10000>; |
| 128 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 129 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 130 | }; |
| 131 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 132 | pm8998_l5: regulator-pm8998-l5 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 133 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 134 | regulator-name = "pm8998_l5"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 135 | qcom,hpm-min-load = <10000>; |
| 136 | regulator-min-microvolt = <800000>; |
| 137 | regulator-max-microvolt = <800000>; |
| 138 | }; |
| 139 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 140 | pm8998_l6: regulator-pm8998-l6 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 141 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 142 | regulator-name = "pm8998_l6"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 143 | qcom,hpm-min-load = <10000>; |
| 144 | regulator-min-microvolt = <1856000>; |
| 145 | regulator-max-microvolt = <1856000>; |
| 146 | }; |
| 147 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 148 | pm8998_l7: regulator-pm8998-l7 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 149 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 150 | regulator-name = "pm8998_l7"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 151 | qcom,hpm-min-load = <10000>; |
| 152 | regulator-min-microvolt = <1800000>; |
| 153 | regulator-max-microvolt = <1800000>; |
| 154 | }; |
| 155 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 156 | pm8998_l8: regulator-pm8998-l8 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 157 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 158 | regulator-name = "pm8998_l8"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 159 | qcom,hpm-min-load = <10000>; |
| 160 | regulator-min-microvolt = <1200000>; |
| 161 | regulator-max-microvolt = <1200000>; |
| 162 | }; |
| 163 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 164 | pm8998_l9: regulator-pm8998-l9 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 165 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 166 | regulator-name = "pm8998_l9"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 167 | qcom,hpm-min-load = <10000>; |
| 168 | regulator-min-microvolt = <1808000>; |
| 169 | regulator-max-microvolt = <2960000>; |
| 170 | }; |
| 171 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 172 | pm8998_l10: regulator-pm8998-l10 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 173 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 174 | regulator-name = "pm8998_l10"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 175 | qcom,hpm-min-load = <10000>; |
| 176 | regulator-min-microvolt = <1808000>; |
| 177 | regulator-max-microvolt = <2960000>; |
| 178 | }; |
| 179 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 180 | pm8998_l11: regulator-pm8998-l11 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 181 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 182 | regulator-name = "pm8998_l11"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 183 | qcom,hpm-min-load = <10000>; |
| 184 | regulator-min-microvolt = <1000000>; |
| 185 | regulator-max-microvolt = <1000000>; |
| 186 | }; |
| 187 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 188 | pm8998_l12: regulator-pm8998-l12 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 189 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 190 | regulator-name = "pm8998_l12"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 191 | qcom,hpm-min-load = <10000>; |
| 192 | regulator-min-microvolt = <1800000>; |
| 193 | regulator-max-microvolt = <1800000>; |
| 194 | }; |
| 195 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 196 | pm8998_l13: regulator-pm8998-l13 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 197 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 198 | regulator-name = "pm8998_l13"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 199 | qcom,hpm-min-load = <10000>; |
| 200 | regulator-min-microvolt = <1808000>; |
| 201 | regulator-max-microvolt = <2960000>; |
| 202 | }; |
| 203 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 204 | pm8998_l14: regulator-pm8998-l14 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 205 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 206 | regulator-name = "pm8998_l14"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 207 | qcom,hpm-min-load = <10000>; |
| 208 | regulator-min-microvolt = <1800000>; |
| 209 | regulator-max-microvolt = <1800000>; |
| 210 | }; |
| 211 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 212 | pm8998_l15: regulator-pm8998-l15 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 213 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 214 | regulator-name = "pm8998_l15"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 215 | qcom,hpm-min-load = <10000>; |
| 216 | regulator-min-microvolt = <1800000>; |
| 217 | regulator-max-microvolt = <1800000>; |
| 218 | }; |
| 219 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 220 | pm8998_l16: regulator-pm8998-l16 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 221 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 222 | regulator-name = "pm8998_l16"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 223 | qcom,hpm-min-load = <10000>; |
| 224 | regulator-min-microvolt = <2704000>; |
| 225 | regulator-max-microvolt = <2704000>; |
| 226 | }; |
| 227 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 228 | pm8998_l17: regulator-pm8998-l17 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 229 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 230 | regulator-name = "pm8998_l17"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 231 | qcom,hpm-min-load = <10000>; |
| 232 | regulator-min-microvolt = <1304000>; |
| 233 | regulator-max-microvolt = <1304000>; |
| 234 | }; |
| 235 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 236 | pm8998_l18: regulator-pm8998-l18 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 237 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 238 | regulator-name = "pm8998_l18"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 239 | qcom,hpm-min-load = <10000>; |
| 240 | regulator-min-microvolt = <2704000>; |
| 241 | regulator-max-microvolt = <2704000>; |
| 242 | }; |
| 243 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 244 | pm8998_l19: regulator-pm8998-l19 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 245 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 246 | regulator-name = "pm8998_l19"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 247 | qcom,hpm-min-load = <10000>; |
| 248 | regulator-min-microvolt = <3008000>; |
| 249 | regulator-max-microvolt = <3008000>; |
| 250 | }; |
| 251 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 252 | pm8998_l20: regulator-pm8998-l20 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 253 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 254 | regulator-name = "pm8998_l20"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 255 | qcom,hpm-min-load = <10000>; |
| 256 | regulator-min-microvolt = <2960000>; |
| 257 | regulator-max-microvolt = <2960000>; |
| 258 | }; |
| 259 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 260 | pm8998_l21: regulator-pm8998-l21 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 261 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 262 | regulator-name = "pm8998_l21"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 263 | qcom,hpm-min-load = <10000>; |
| 264 | regulator-min-microvolt = <2960000>; |
| 265 | regulator-max-microvolt = <2960000>; |
| 266 | }; |
| 267 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 268 | pm8998_l22: regulator-pm8998-l22 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 269 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 270 | regulator-name = "pm8998_l22"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 271 | qcom,hpm-min-load = <10000>; |
| 272 | regulator-min-microvolt = <2864000>; |
| 273 | regulator-max-microvolt = <2864000>; |
| 274 | }; |
| 275 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 276 | pm8998_l23: regulator-pm8998-l23 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 277 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 278 | regulator-name = "pm8998_l23"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 279 | qcom,hpm-min-load = <10000>; |
| 280 | regulator-min-microvolt = <3312000>; |
| 281 | regulator-max-microvolt = <3312000>; |
| 282 | }; |
| 283 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 284 | pm8998_l24: regulator-pm8998-l24 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 285 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 286 | regulator-name = "pm8998_l24"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 287 | qcom,hpm-min-load = <10000>; |
| 288 | regulator-min-microvolt = <3088000>; |
| 289 | regulator-max-microvolt = <3088000>; |
| 290 | }; |
| 291 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 292 | pm8998_l25: regulator-pm8998-l25 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 293 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 294 | regulator-name = "pm8998_l25"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 295 | qcom,hpm-min-load = <10000>; |
| 296 | regulator-min-microvolt = <3104000>; |
| 297 | regulator-max-microvolt = <3104000>; |
| 298 | }; |
| 299 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 300 | pm8998_l26: regulator-pm8998-l26 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 301 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 302 | regulator-name = "pm8998_l26"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 303 | qcom,hpm-min-load = <10000>; |
| 304 | regulator-min-microvolt = <1200000>; |
| 305 | regulator-max-microvolt = <1200000>; |
| 306 | }; |
| 307 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 308 | /* PM8998 L27 = VDD_SSC_CX supply */ |
| 309 | pm8998_l27_level: regulator-pm8998-l27-level { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 310 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 311 | regulator-name = "pm8998_l27_level"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 312 | qcom,hpm-min-load = <10000>; |
| 313 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 314 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 315 | }; |
| 316 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 317 | pm8998_l28: regulator-pm8998-l28 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 318 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 319 | regulator-name = "pm8998_l28"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 320 | qcom,hpm-min-load = <10000>; |
| 321 | regulator-min-microvolt = <3008000>; |
| 322 | regulator-max-microvolt = <3008000>; |
| 323 | }; |
| 324 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 325 | pm8998_lvs1: regulator-pm8998-lvs1 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 326 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 327 | regulator-name = "pm8998_lvs1"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 328 | }; |
| 329 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 330 | pm8998_lvs2: regulator-pm8998-lvs2 { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 331 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 332 | regulator-name = "pm8998_lvs2"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 333 | }; |
| 334 | |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 335 | pmi8998_bob: regulator-pmi8998-bob { |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 336 | compatible = "qcom,stub-regulator"; |
David Collins | 3a45794 | 2016-12-09 16:59:51 -0800 | [diff] [blame^] | 337 | regulator-name = "pmi8998_bob"; |
David Collins | 5ab42b9 | 2016-07-07 17:38:51 -0700 | [diff] [blame] | 338 | regulator-min-microvolt = <3312000>; |
| 339 | regulator-max-microvolt = <3600000>; |
| 340 | }; |
| 341 | |
| 342 | /* PM8005 S1 + S4 = 2 phase VDD_GFX supply */ |
| 343 | pm8005_s1_level: regulator-pm8005-s1-level { |
| 344 | compatible = "qcom,stub-regulator"; |
| 345 | regulator-name = "pm8005_s1_level"; |
| 346 | qcom,hpm-min-load = <100000>; |
| 347 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 348 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 349 | }; |
| 350 | |
| 351 | /* PM8005 S2 = VDD_MODEM supply */ |
| 352 | pm8005_s2_level: regulator-pm8005-s2-level { |
| 353 | compatible = "qcom,stub-regulator"; |
| 354 | regulator-name = "pm8005_s2_level"; |
| 355 | qcom,hpm-min-load = <100000>; |
| 356 | regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| 357 | regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| 358 | }; |
| 359 | |
| 360 | pm8005_s3: regulator-pm8005-s3 { |
| 361 | compatible = "qcom,stub-regulator"; |
| 362 | regulator-name = "pm8005_s3"; |
| 363 | qcom,hpm-min-load = <100000>; |
| 364 | regulator-min-microvolt = <600000>; |
| 365 | regulator-max-microvolt = <600000>; |
| 366 | }; |
| 367 | |
| 368 | apc0_pwrcl_vreg: regulator-pwrcl { |
| 369 | compatible = "qcom,stub-regulator"; |
| 370 | regulator-name = "apc0_pwrcl_corner"; |
| 371 | regulator-min-microvolt = <1>; |
| 372 | regulator-max-microvolt = <23>; |
| 373 | }; |
| 374 | |
| 375 | apc0_l3_vreg: regulator-l3 { |
| 376 | compatible = "qcom,stub-regulator"; |
| 377 | regulator-name = "apc0_l3_corner"; |
| 378 | regulator-min-microvolt = <1>; |
| 379 | regulator-max-microvolt = <19>; |
| 380 | }; |
| 381 | |
| 382 | apc1_perfcl_vreg: regulator-perfcl { |
| 383 | compatible = "qcom,stub-regulator"; |
| 384 | regulator-name = "apc1_perfcl_corner"; |
| 385 | regulator-min-microvolt = <1>; |
| 386 | regulator-max-microvolt = <26>; |
| 387 | }; |
| 388 | }; |