Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 1 | PFUZE100 family of regulators |
| 2 | |
| 3 | Required properties: |
Robin Gong | e5a7a72 | 2015-01-09 09:57:33 +0800 | [diff] [blame] | 4 | - compatible: "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000" |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 5 | - reg: I2C slave address |
Robin Gong | 205c97b | 2013-07-26 10:27:18 +0800 | [diff] [blame] | 6 | |
| 7 | Required child node: |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 8 | - regulators: This is the list of child nodes that specify the regulator |
| 9 | initialization data for defined regulators. Please refer to below doc |
| 10 | Documentation/devicetree/bindings/regulator/regulator.txt. |
| 11 | |
| 12 | The valid names for regulators are: |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 13 | --PFUZE100 |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 14 | sw1ab,sw1c,sw2,sw3a,sw3b,sw4,swbst,vsnvs,vrefddr,vgen1~vgen6 |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 15 | --PFUZE200 |
George McCollister | c6182ac | 2017-03-09 08:14:43 -0600 | [diff] [blame] | 16 | sw1ab,sw2,sw3a,sw3b,swbst,vsnvs,vrefddr,vgen1~vgen6,coin |
Robin Gong | e5a7a72 | 2015-01-09 09:57:33 +0800 | [diff] [blame] | 17 | --PFUZE3000 |
| 18 | sw1a,sw1b,sw2,sw3,swbst,vsnvs,vrefddr,vldo1,vldo2,vccsd,v33,vldo3,vldo4 |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 19 | |
| 20 | Each regulator is defined using the standard binding for regulators. |
| 21 | |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 22 | Example 1: PFUZE100 |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 23 | |
Marco Franchi | 26284ca | 2017-10-25 16:57:13 -0200 | [diff] [blame] | 24 | pmic: pfuze100@8 { |
Robin Gong | 3784b6d | 2013-07-25 11:33:18 +0800 | [diff] [blame] | 25 | compatible = "fsl,pfuze100"; |
| 26 | reg = <0x08>; |
| 27 | |
| 28 | regulators { |
| 29 | sw1a_reg: sw1ab { |
| 30 | regulator-min-microvolt = <300000>; |
| 31 | regulator-max-microvolt = <1875000>; |
| 32 | regulator-boot-on; |
| 33 | regulator-always-on; |
| 34 | regulator-ramp-delay = <6250>; |
| 35 | }; |
| 36 | |
| 37 | sw1c_reg: sw1c { |
| 38 | regulator-min-microvolt = <300000>; |
| 39 | regulator-max-microvolt = <1875000>; |
| 40 | regulator-boot-on; |
| 41 | regulator-always-on; |
| 42 | }; |
| 43 | |
| 44 | sw2_reg: sw2 { |
| 45 | regulator-min-microvolt = <800000>; |
| 46 | regulator-max-microvolt = <3300000>; |
| 47 | regulator-boot-on; |
| 48 | regulator-always-on; |
| 49 | }; |
| 50 | |
| 51 | sw3a_reg: sw3a { |
| 52 | regulator-min-microvolt = <400000>; |
| 53 | regulator-max-microvolt = <1975000>; |
| 54 | regulator-boot-on; |
| 55 | regulator-always-on; |
| 56 | }; |
| 57 | |
| 58 | sw3b_reg: sw3b { |
| 59 | regulator-min-microvolt = <400000>; |
| 60 | regulator-max-microvolt = <1975000>; |
| 61 | regulator-boot-on; |
| 62 | regulator-always-on; |
| 63 | }; |
| 64 | |
| 65 | sw4_reg: sw4 { |
| 66 | regulator-min-microvolt = <800000>; |
| 67 | regulator-max-microvolt = <3300000>; |
| 68 | }; |
| 69 | |
| 70 | swbst_reg: swbst { |
| 71 | regulator-min-microvolt = <5000000>; |
| 72 | regulator-max-microvolt = <5150000>; |
| 73 | }; |
| 74 | |
| 75 | snvs_reg: vsnvs { |
| 76 | regulator-min-microvolt = <1000000>; |
| 77 | regulator-max-microvolt = <3000000>; |
| 78 | regulator-boot-on; |
| 79 | regulator-always-on; |
| 80 | }; |
| 81 | |
| 82 | vref_reg: vrefddr { |
| 83 | regulator-boot-on; |
| 84 | regulator-always-on; |
| 85 | }; |
| 86 | |
| 87 | vgen1_reg: vgen1 { |
| 88 | regulator-min-microvolt = <800000>; |
| 89 | regulator-max-microvolt = <1550000>; |
| 90 | }; |
| 91 | |
| 92 | vgen2_reg: vgen2 { |
| 93 | regulator-min-microvolt = <800000>; |
| 94 | regulator-max-microvolt = <1550000>; |
| 95 | }; |
| 96 | |
| 97 | vgen3_reg: vgen3 { |
| 98 | regulator-min-microvolt = <1800000>; |
| 99 | regulator-max-microvolt = <3300000>; |
| 100 | }; |
| 101 | |
| 102 | vgen4_reg: vgen4 { |
| 103 | regulator-min-microvolt = <1800000>; |
| 104 | regulator-max-microvolt = <3300000>; |
| 105 | regulator-always-on; |
| 106 | }; |
| 107 | |
| 108 | vgen5_reg: vgen5 { |
| 109 | regulator-min-microvolt = <1800000>; |
| 110 | regulator-max-microvolt = <3300000>; |
| 111 | regulator-always-on; |
| 112 | }; |
| 113 | |
| 114 | vgen6_reg: vgen6 { |
| 115 | regulator-min-microvolt = <1800000>; |
| 116 | regulator-max-microvolt = <3300000>; |
| 117 | regulator-always-on; |
| 118 | }; |
| 119 | }; |
| 120 | }; |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 121 | |
| 122 | |
| 123 | Example 2: PFUZE200 |
| 124 | |
Marco Franchi | 26284ca | 2017-10-25 16:57:13 -0200 | [diff] [blame] | 125 | pmic: pfuze200@8 { |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 126 | compatible = "fsl,pfuze200"; |
| 127 | reg = <0x08>; |
| 128 | |
| 129 | regulators { |
| 130 | sw1a_reg: sw1ab { |
| 131 | regulator-min-microvolt = <300000>; |
| 132 | regulator-max-microvolt = <1875000>; |
| 133 | regulator-boot-on; |
| 134 | regulator-always-on; |
| 135 | regulator-ramp-delay = <6250>; |
| 136 | }; |
| 137 | |
| 138 | sw2_reg: sw2 { |
| 139 | regulator-min-microvolt = <800000>; |
| 140 | regulator-max-microvolt = <3300000>; |
| 141 | regulator-boot-on; |
| 142 | regulator-always-on; |
| 143 | }; |
| 144 | |
| 145 | sw3a_reg: sw3a { |
| 146 | regulator-min-microvolt = <400000>; |
| 147 | regulator-max-microvolt = <1975000>; |
| 148 | regulator-boot-on; |
| 149 | regulator-always-on; |
| 150 | }; |
| 151 | |
| 152 | sw3b_reg: sw3b { |
| 153 | regulator-min-microvolt = <400000>; |
| 154 | regulator-max-microvolt = <1975000>; |
| 155 | regulator-boot-on; |
| 156 | regulator-always-on; |
| 157 | }; |
| 158 | |
| 159 | swbst_reg: swbst { |
| 160 | regulator-min-microvolt = <5000000>; |
| 161 | regulator-max-microvolt = <5150000>; |
| 162 | }; |
| 163 | |
| 164 | snvs_reg: vsnvs { |
| 165 | regulator-min-microvolt = <1000000>; |
| 166 | regulator-max-microvolt = <3000000>; |
| 167 | regulator-boot-on; |
| 168 | regulator-always-on; |
| 169 | }; |
| 170 | |
| 171 | vref_reg: vrefddr { |
| 172 | regulator-boot-on; |
| 173 | regulator-always-on; |
| 174 | }; |
| 175 | |
| 176 | vgen1_reg: vgen1 { |
| 177 | regulator-min-microvolt = <800000>; |
| 178 | regulator-max-microvolt = <1550000>; |
| 179 | }; |
| 180 | |
| 181 | vgen2_reg: vgen2 { |
| 182 | regulator-min-microvolt = <800000>; |
| 183 | regulator-max-microvolt = <1550000>; |
| 184 | }; |
| 185 | |
| 186 | vgen3_reg: vgen3 { |
| 187 | regulator-min-microvolt = <1800000>; |
| 188 | regulator-max-microvolt = <3300000>; |
| 189 | }; |
| 190 | |
| 191 | vgen4_reg: vgen4 { |
| 192 | regulator-min-microvolt = <1800000>; |
| 193 | regulator-max-microvolt = <3300000>; |
| 194 | regulator-always-on; |
| 195 | }; |
| 196 | |
| 197 | vgen5_reg: vgen5 { |
| 198 | regulator-min-microvolt = <1800000>; |
| 199 | regulator-max-microvolt = <3300000>; |
| 200 | regulator-always-on; |
| 201 | }; |
| 202 | |
| 203 | vgen6_reg: vgen6 { |
| 204 | regulator-min-microvolt = <1800000>; |
| 205 | regulator-max-microvolt = <3300000>; |
| 206 | regulator-always-on; |
| 207 | }; |
George McCollister | c6182ac | 2017-03-09 08:14:43 -0600 | [diff] [blame] | 208 | |
| 209 | coin_reg: coin { |
| 210 | regulator-min-microvolt = <2500000>; |
| 211 | regulator-max-microvolt = <3300000>; |
| 212 | regulator-always-on; |
| 213 | }; |
Robin Gong | f251848 | 2014-03-04 17:40:36 +0800 | [diff] [blame] | 214 | }; |
| 215 | }; |
Robin Gong | e5a7a72 | 2015-01-09 09:57:33 +0800 | [diff] [blame] | 216 | |
| 217 | Example 3: PFUZE3000 |
| 218 | |
Marco Franchi | 26284ca | 2017-10-25 16:57:13 -0200 | [diff] [blame] | 219 | pmic: pfuze3000@8 { |
Robin Gong | e5a7a72 | 2015-01-09 09:57:33 +0800 | [diff] [blame] | 220 | compatible = "fsl,pfuze3000"; |
| 221 | reg = <0x08>; |
| 222 | |
| 223 | regulators { |
| 224 | sw1a_reg: sw1a { |
| 225 | regulator-min-microvolt = <700000>; |
| 226 | regulator-max-microvolt = <1475000>; |
| 227 | regulator-boot-on; |
| 228 | regulator-always-on; |
| 229 | regulator-ramp-delay = <6250>; |
| 230 | }; |
| 231 | /* use sw1c_reg to align with pfuze100/pfuze200 */ |
| 232 | sw1c_reg: sw1b { |
| 233 | regulator-min-microvolt = <700000>; |
| 234 | regulator-max-microvolt = <1475000>; |
| 235 | regulator-boot-on; |
| 236 | regulator-always-on; |
| 237 | regulator-ramp-delay = <6250>; |
| 238 | }; |
| 239 | |
| 240 | sw2_reg: sw2 { |
| 241 | regulator-min-microvolt = <2500000>; |
| 242 | regulator-max-microvolt = <3300000>; |
| 243 | regulator-boot-on; |
| 244 | regulator-always-on; |
| 245 | }; |
| 246 | |
| 247 | sw3a_reg: sw3 { |
| 248 | regulator-min-microvolt = <900000>; |
| 249 | regulator-max-microvolt = <1650000>; |
| 250 | regulator-boot-on; |
| 251 | regulator-always-on; |
| 252 | }; |
| 253 | |
| 254 | swbst_reg: swbst { |
| 255 | regulator-min-microvolt = <5000000>; |
| 256 | regulator-max-microvolt = <5150000>; |
| 257 | }; |
| 258 | |
| 259 | snvs_reg: vsnvs { |
| 260 | regulator-min-microvolt = <1000000>; |
| 261 | regulator-max-microvolt = <3000000>; |
| 262 | regulator-boot-on; |
| 263 | regulator-always-on; |
| 264 | }; |
| 265 | |
| 266 | vref_reg: vrefddr { |
| 267 | regulator-boot-on; |
| 268 | regulator-always-on; |
| 269 | }; |
| 270 | |
| 271 | vgen1_reg: vldo1 { |
| 272 | regulator-min-microvolt = <1800000>; |
| 273 | regulator-max-microvolt = <3300000>; |
| 274 | regulator-always-on; |
| 275 | }; |
| 276 | |
| 277 | vgen2_reg: vldo2 { |
| 278 | regulator-min-microvolt = <800000>; |
| 279 | regulator-max-microvolt = <1550000>; |
| 280 | }; |
| 281 | |
| 282 | vgen3_reg: vccsd { |
| 283 | regulator-min-microvolt = <2850000>; |
| 284 | regulator-max-microvolt = <3300000>; |
| 285 | regulator-always-on; |
| 286 | }; |
| 287 | |
| 288 | vgen4_reg: v33 { |
| 289 | regulator-min-microvolt = <2850000>; |
| 290 | regulator-max-microvolt = <3300000>; |
| 291 | }; |
| 292 | |
| 293 | vgen5_reg: vldo3 { |
| 294 | regulator-min-microvolt = <1800000>; |
| 295 | regulator-max-microvolt = <3300000>; |
| 296 | regulator-always-on; |
| 297 | }; |
| 298 | |
| 299 | vgen6_reg: vldo4 { |
| 300 | regulator-min-microvolt = <1800000>; |
| 301 | regulator-max-microvolt = <3300000>; |
| 302 | regulator-always-on; |
| 303 | }; |
| 304 | }; |
| 305 | }; |