Commit | Line | Data |
---|---|---|
c3ff9a67 GR |
1 | Kernel driver ltc2978 |
2 | ===================== | |
3 | ||
4 | Supported chips: | |
1f234ff1 | 5 | |
ee44fafb MJ |
6 | * Linear Technology LTC2972 |
7 | ||
8 | Prefix: 'ltc2972' | |
9 | ||
10 | Addresses scanned: - | |
11 | ||
12 | Datasheet: https://www.analog.com/en/products/ltc2972.html | |
13 | ||
fd9175d2 | 14 | * Linear Technology LTC2974 |
1f234ff1 | 15 | |
fd9175d2 | 16 | Prefix: 'ltc2974' |
1f234ff1 | 17 | |
fd9175d2 | 18 | Addresses scanned: - |
1f234ff1 | 19 | |
50b6ced7 | 20 | Datasheet: https://www.analog.com/en/products/ltc2974 |
1f234ff1 | 21 | |
649ca820 | 22 | * Linear Technology LTC2975 |
1f234ff1 | 23 | |
649ca820 | 24 | Prefix: 'ltc2975' |
1f234ff1 | 25 | |
649ca820 | 26 | Addresses scanned: - |
1f234ff1 | 27 | |
50b6ced7 | 28 | Datasheet: https://www.analog.com/en/products/ltc2975 |
1f234ff1 | 29 | |
c24c407e | 30 | * Linear Technology LTC2977 |
1f234ff1 | 31 | |
c24c407e | 32 | Prefix: 'ltc2977' |
1f234ff1 | 33 | |
c24c407e | 34 | Addresses scanned: - |
1f234ff1 | 35 | |
50b6ced7 | 36 | Datasheet: https://www.analog.com/en/products/ltc2977 |
1f234ff1 | 37 | |
3f08d7f4 | 38 | * Linear Technology LTC2978, LTC2978A |
1f234ff1 | 39 | |
c3ff9a67 | 40 | Prefix: 'ltc2978' |
1f234ff1 | 41 | |
c3ff9a67 | 42 | Addresses scanned: - |
1f234ff1 | 43 | |
50b6ced7 | 44 | Datasheet: https://www.analog.com/en/products/ltc2978 |
1f234ff1 | 45 | |
50b6ced7 | 46 | https://www.analog.com/en/products/ltc2978a |
1f234ff1 | 47 | |
ee44fafb MJ |
48 | * Linear Technology LTC2979 |
49 | ||
50 | Prefix: 'ltc2979' | |
51 | ||
52 | Addresses scanned: - | |
53 | ||
54 | Datasheet: https://www.analog.com/en/products/ltc2979 | |
55 | ||
52aae6af | 56 | * Linear Technology LTC2980 |
1f234ff1 | 57 | |
52aae6af | 58 | Prefix: 'ltc2980' |
1f234ff1 | 59 | |
52aae6af | 60 | Addresses scanned: - |
1f234ff1 | 61 | |
50b6ced7 | 62 | Datasheet: https://www.analog.com/en/products/ltc2980 |
1f234ff1 | 63 | |
ddfb41ca | 64 | * Linear Technology LTC3880 |
1f234ff1 | 65 | |
ddfb41ca | 66 | Prefix: 'ltc3880' |
1f234ff1 | 67 | |
ddfb41ca | 68 | Addresses scanned: - |
1f234ff1 | 69 | |
50b6ced7 | 70 | Datasheet: https://www.analog.com/en/products/ltc3880 |
1f234ff1 | 71 | |
bf89386f | 72 | * Linear Technology LTC3882 |
1f234ff1 | 73 | |
bf89386f | 74 | Prefix: 'ltc3882' |
1f234ff1 | 75 | |
bf89386f | 76 | Addresses scanned: - |
1f234ff1 | 77 | |
50b6ced7 | 78 | Datasheet: https://www.analog.com/en/products/ltc3882 |
1f234ff1 | 79 | |
fd9175d2 | 80 | * Linear Technology LTC3883 |
1f234ff1 | 81 | |
fd9175d2 | 82 | Prefix: 'ltc3883' |
1f234ff1 | 83 | |
fd9175d2 | 84 | Addresses scanned: - |
1f234ff1 | 85 | |
50b6ced7 | 86 | Datasheet: https://www.analog.com/en/products/ltc3883 |
1f234ff1 | 87 | |
ee44fafb MJ |
88 | * Linear Technology LTC3884 |
89 | ||
90 | Prefix: 'ltc3884' | |
91 | ||
92 | Addresses scanned: - | |
93 | ||
94 | Datasheet: https://www.analog.com/en/products/ltc3884 | |
95 | ||
228b687d | 96 | * Linear Technology LTC3886 |
1f234ff1 | 97 | |
228b687d | 98 | Prefix: 'ltc3886' |
1f234ff1 | 99 | |
228b687d | 100 | Addresses scanned: - |
1f234ff1 | 101 | |
50b6ced7 | 102 | Datasheet: https://www.analog.com/en/products/ltc3886 |
1f234ff1 | 103 | |
15398566 | 104 | * Linear Technology LTC3887 |
1f234ff1 | 105 | |
15398566 | 106 | Prefix: 'ltc3887' |
1f234ff1 | 107 | |
15398566 | 108 | Addresses scanned: - |
1f234ff1 | 109 | |
50b6ced7 | 110 | Datasheet: https://www.analog.com/en/products/ltc3887 |
1f234ff1 | 111 | |
ee44fafb MJ |
112 | * Linear Technology LTC3889 |
113 | ||
114 | Prefix: 'ltc3889' | |
115 | ||
116 | Addresses scanned: - | |
117 | ||
118 | Datasheet: https://www.analog.com/en/products/ltc3889 | |
119 | ||
120 | * Linear Technology LTC7880 | |
121 | ||
122 | Prefix: 'ltc7880' | |
123 | ||
124 | Addresses scanned: - | |
125 | ||
126 | Datasheet: https://www.analog.com/en/products/ltc7880 | |
127 | ||
52aae6af | 128 | * Linear Technology LTM2987 |
1f234ff1 | 129 | |
52aae6af | 130 | Prefix: 'ltm2987' |
1f234ff1 | 131 | |
52aae6af | 132 | Addresses scanned: - |
1f234ff1 | 133 | |
50b6ced7 | 134 | Datasheet: https://www.analog.com/en/products/ltm2987 |
1f234ff1 | 135 | |
ee44fafb MJ |
136 | * Linear Technology LTM4644 |
137 | ||
138 | Prefix: 'ltm4644' | |
139 | ||
140 | Addresses scanned: - | |
141 | ||
142 | Datasheet: https://www.analog.com/en/products/ltm4644 | |
143 | ||
144 | * Linear Technology LTM4675 | |
1f234ff1 | 145 | |
ccf2dc51 | 146 | Prefix: 'ltm4675' |
1f234ff1 | 147 | |
ccf2dc51 | 148 | Addresses scanned: - |
1f234ff1 | 149 | |
50b6ced7 | 150 | Datasheet: https://www.analog.com/en/products/ltm4675 |
1f234ff1 | 151 | |
f76992b0 | 152 | * Linear Technology LTM4676 |
1f234ff1 | 153 | |
f76992b0 | 154 | Prefix: 'ltm4676' |
1f234ff1 | 155 | |
f76992b0 | 156 | Addresses scanned: - |
1f234ff1 | 157 | |
50b6ced7 | 158 | Datasheet: https://www.analog.com/en/products/ltm4676 |
1f234ff1 | 159 | |
ee44fafb MJ |
160 | * Linear Technology LTM4677 |
161 | ||
162 | Prefix: 'ltm4677' | |
163 | ||
164 | Addresses scanned: - | |
165 | ||
166 | Datasheet: https://www.analog.com/en/products/ltm4677 | |
167 | ||
168 | * Linear Technology LTM4678 | |
169 | ||
170 | Prefix: 'ltm4678' | |
171 | ||
172 | Addresses scanned: - | |
173 | ||
174 | Datasheet: https://www.analog.com/en/products/ltm4678 | |
175 | ||
176 | * Analog Devices LTM4680 | |
177 | ||
178 | Prefix: 'ltm4680' | |
179 | ||
180 | Addresses scanned: - | |
181 | ||
f12d634f | 182 | Datasheet: https://www.analog.com/ltm4680 |
ee44fafb | 183 | |
4e15d05d | 184 | * Analog Devices LTM4686 |
1f234ff1 | 185 | |
4e15d05d | 186 | Prefix: 'ltm4686' |
1f234ff1 | 187 | |
4e15d05d | 188 | Addresses scanned: - |
1f234ff1 | 189 | |
f12d634f | 190 | Datasheet: https://www.analog.com/ltm4686 |
c3ff9a67 | 191 | |
ee44fafb MJ |
192 | * Analog Devices LTM4700 |
193 | ||
194 | Prefix: 'ltm4700' | |
195 | ||
196 | Addresses scanned: - | |
197 | ||
f12d634f | 198 | Datasheet: https://www.analog.com/ltm4700 |
ee44fafb MJ |
199 | |
200 | ||
1f234ff1 | 201 | |
e3333e57 | 202 | Author: Guenter Roeck <linux@roeck-us.net> |
c3ff9a67 GR |
203 | |
204 | ||
205 | Description | |
206 | ----------- | |
207 | ||
1f234ff1 MCC |
208 | - LTC2974 and LTC2975 are quad digital power supply managers. |
209 | - LTC2978 is an octal power supply monitor. | |
210 | - LTC2977 is a pin compatible replacement for LTC2978. | |
211 | - LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977 | |
212 | - in a single die. The chip is instantiated and reported as two separate chips | |
213 | - on two different I2C bus addresses. | |
214 | - LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down | |
215 | - DC/DC controllers. | |
216 | - LTC3883 is a single phase step-down DC/DC controller. | |
217 | - LTM2987 is a 16-channel Power System Manager with two LTC2977 plus | |
218 | - additional components on a single die. The chip is instantiated and reported | |
219 | - as two separate chips on two different I2C bus addresses. | |
220 | - LTM4675 is a dual 9A or single 18A μModule regulator | |
221 | - LTM4676 is a dual 13A or single 26A uModule regulator. | |
222 | - LTM4686 is a dual 10A or single 20A uModule regulator. | |
c3ff9a67 GR |
223 | |
224 | ||
225 | Usage Notes | |
226 | ----------- | |
227 | ||
228 | This driver does not probe for PMBus devices. You will have to instantiate | |
229 | devices explicitly. | |
230 | ||
231 | Example: the following commands will load the driver for an LTC2978 at address | |
1f234ff1 | 232 | 0x60 on I2C bus #1:: |
c3ff9a67 | 233 | |
1f234ff1 MCC |
234 | # modprobe ltc2978 |
235 | # echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device | |
c3ff9a67 GR |
236 | |
237 | ||
238 | Sysfs attributes | |
239 | ---------------- | |
240 | ||
1f234ff1 | 241 | ======================= ======================================================== |
c3ff9a67 | 242 | in1_label "vin" |
1f234ff1 | 243 | |
c3ff9a67 | 244 | in1_input Measured input voltage. |
1f234ff1 | 245 | |
c3ff9a67 | 246 | in1_min Minimum input voltage. |
1f234ff1 | 247 | |
c24c407e | 248 | in1_max Maximum input voltage. |
1f234ff1 | 249 | |
ee44fafb MJ |
250 | LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, |
251 | LTC2979 and LTM2987 only. | |
1f234ff1 | 252 | |
c24c407e | 253 | in1_lcrit Critical minimum input voltage. |
1f234ff1 | 254 | |
ee44fafb MJ |
255 | LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, |
256 | LTC2979 and LTM2987 only. | |
1f234ff1 | 257 | |
c3ff9a67 | 258 | in1_crit Critical maximum input voltage. |
1f234ff1 | 259 | |
c3ff9a67 | 260 | in1_min_alarm Input voltage low alarm. |
1f234ff1 | 261 | |
c24c407e | 262 | in1_max_alarm Input voltage high alarm. |
1f234ff1 | 263 | |
ee44fafb MJ |
264 | LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, |
265 | LTC2979 and LTM2987 only. | |
266 | ||
c24c407e | 267 | in1_lcrit_alarm Input voltage critical low alarm. |
1f234ff1 | 268 | |
ee44fafb MJ |
269 | LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, |
270 | LTC2979 and LTM2987 only. | |
271 | ||
c3ff9a67 | 272 | in1_crit_alarm Input voltage critical high alarm. |
1f234ff1 | 273 | |
c24c407e | 274 | in1_lowest Lowest input voltage. |
1f234ff1 | 275 | |
ee44fafb MJ |
276 | LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, |
277 | and LTM2987 only. | |
278 | ||
c3ff9a67 | 279 | in1_highest Highest input voltage. |
1f234ff1 | 280 | |
8c770f3a | 281 | in1_reset_history Reset input voltage history. |
c3ff9a67 | 282 | |
fd9175d2 | 283 | in[N]_label "vout[1-8]". |
1f234ff1 | 284 | |
ee44fafb | 285 | - LTC2972: N=2-3 |
1f234ff1 | 286 | - LTC2974, LTC2975: N=2-5 |
ee44fafb | 287 | - LTC2977, LTC2979, LTC2980, LTM2987: N=2-9 |
1f234ff1 | 288 | - LTC2978: N=2-9 |
ee44fafb MJ |
289 | - LTC3880, LTC3882, LTC3884, LTC23886 LTC3887, LTC3889, |
290 | LTC7880, LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, | |
291 | LTM4680, LTM4700: N=2-3 | |
1f234ff1 MCC |
292 | - LTC3883: N=2 |
293 | ||
fd9175d2 | 294 | in[N]_input Measured output voltage. |
1f234ff1 | 295 | |
fd9175d2 | 296 | in[N]_min Minimum output voltage. |
1f234ff1 | 297 | |
fd9175d2 | 298 | in[N]_max Maximum output voltage. |
1f234ff1 | 299 | |
fd9175d2 | 300 | in[N]_lcrit Critical minimum output voltage. |
1f234ff1 | 301 | |
fd9175d2 | 302 | in[N]_crit Critical maximum output voltage. |
1f234ff1 | 303 | |
fd9175d2 | 304 | in[N]_min_alarm Output voltage low alarm. |
1f234ff1 | 305 | |
fd9175d2 | 306 | in[N]_max_alarm Output voltage high alarm. |
1f234ff1 | 307 | |
fd9175d2 | 308 | in[N]_lcrit_alarm Output voltage critical low alarm. |
1f234ff1 | 309 | |
fd9175d2 | 310 | in[N]_crit_alarm Output voltage critical high alarm. |
1f234ff1 MCC |
311 | |
312 | in[N]_lowest Lowest output voltage. | |
313 | ||
ee44fafb | 314 | LTC2972, LTC2974, LTC2975,and LTC2978 only. |
1f234ff1 | 315 | |
fd9175d2 | 316 | in[N]_highest Highest output voltage. |
1f234ff1 | 317 | |
fd9175d2 GR |
318 | in[N]_reset_history Reset output voltage history. |
319 | ||
320 | temp[N]_input Measured temperature. | |
1f234ff1 | 321 | |
ee44fafb MJ |
322 | - On LTC2972, temp[1-2] report external temperatures, |
323 | and temp 3 reports the chip temperature. | |
1f234ff1 MCC |
324 | - On LTC2974 and LTC2975, temp[1-4] report external |
325 | temperatures, and temp5 reports the chip temperature. | |
ee44fafb MJ |
326 | - On LTC2977, LTC2979, LTC2980, LTC2978, and LTM2987, |
327 | only one temperature measurement is supported and | |
328 | reports the chip temperature. | |
329 | - On LTC3880, LTC3882, LTC3886, LTC3887, LTC3889, | |
330 | LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | |
331 | and LTM4700, temp1 and temp2 report external | |
332 | temperatures, and temp3 reports the chip temperature. | |
1f234ff1 MCC |
333 | - On LTC3883, temp1 reports an external temperature, |
334 | and temp2 reports the chip temperature. | |
335 | ||
12087a36 | 336 | temp[N]_min Minimum temperature. |
1f234ff1 | 337 | |
ee44fafb MJ |
338 | LTC2972, LTC2974, LCT2977, LTM2980, LTC2978, |
339 | LTC2979, and LTM2987 only. | |
1f234ff1 | 340 | |
fd9175d2 | 341 | temp[N]_max Maximum temperature. |
1f234ff1 | 342 | |
fd9175d2 | 343 | temp[N]_lcrit Critical low temperature. |
1f234ff1 | 344 | |
fd9175d2 | 345 | temp[N]_crit Critical high temperature. |
1f234ff1 | 346 | |
c24c407e | 347 | temp[N]_min_alarm Temperature low alarm. |
1f234ff1 | 348 | |
ee44fafb MJ |
349 | LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, |
350 | LTC2979, and LTM2987 only. | |
1f234ff1 | 351 | |
fd9175d2 | 352 | temp[N]_max_alarm Temperature high alarm. |
1f234ff1 MCC |
353 | |
354 | ||
fd9175d2 | 355 | temp[N]_lcrit_alarm Temperature critical low alarm. |
1f234ff1 | 356 | |
fd9175d2 | 357 | temp[N]_crit_alarm Temperature critical high alarm. |
1f234ff1 | 358 | |
c24c407e | 359 | temp[N]_lowest Lowest measured temperature. |
1f234ff1 | 360 | |
ee44fafb MJ |
361 | - LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, |
362 | LTC2979, and LTM2987 only. | |
1f234ff1 MCC |
363 | - Not supported for chip temperature sensor on LTC2974 |
364 | and LTC2975. | |
365 | ||
366 | temp[N]_highest Highest measured temperature. | |
367 | ||
368 | Not supported for chip temperature sensor on | |
369 | LTC2974 and LTC2975. | |
370 | ||
371 | temp[N]_reset_history Reset temperature history. | |
372 | ||
373 | Not supported for chip temperature sensor on | |
374 | LTC2974 and LTC2975. | |
fd9175d2 | 375 | |
228b687d | 376 | power1_label "pin". LTC3883 and LTC3886 only. |
1f234ff1 | 377 | |
fd9175d2 GR |
378 | power1_input Measured input power. |
379 | ||
380 | power[N]_label "pout[1-4]". | |
1f234ff1 | 381 | |
ee44fafb | 382 | - LTC2972: N=1-2 |
1f234ff1 | 383 | - LTC2974, LTC2975: N=1-4 |
ee44fafb | 384 | - LTC2977, LTC2979, LTC2980, LTM2987: Not supported |
1f234ff1 | 385 | - LTC2978: Not supported |
ee44fafb MJ |
386 | - LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889, |
387 | LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | |
388 | LTM4700: N=1-2 | |
1f234ff1 MCC |
389 | - LTC3883: N=2 |
390 | ||
fd9175d2 GR |
391 | power[N]_input Measured output power. |
392 | ||
1f234ff1 MCC |
393 | curr1_label "iin". |
394 | ||
ee44fafb MJ |
395 | LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889, |
396 | LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | |
397 | and LTM4700 only. | |
1f234ff1 | 398 | |
ddfb41ca | 399 | curr1_input Measured input current. |
1f234ff1 | 400 | |
ddfb41ca | 401 | curr1_max Maximum input current. |
1f234ff1 | 402 | |
ddfb41ca | 403 | curr1_max_alarm Input current high alarm. |
1f234ff1 MCC |
404 | |
405 | curr1_highest Highest input current. | |
406 | ||
407 | LTC3883 and LTC3886 only. | |
408 | ||
409 | curr1_reset_history Reset input current history. | |
410 | ||
411 | LTC3883 and LTC3886 only. | |
fd9175d2 GR |
412 | |
413 | curr[N]_label "iout[1-4]". | |
1f234ff1 | 414 | |
ee44fafb | 415 | - LTC2972: N-1-2 |
1f234ff1 | 416 | - LTC2974, LTC2975: N=1-4 |
ee44fafb | 417 | - LTC2977, LTC2979, LTC2980, LTM2987: not supported |
1f234ff1 | 418 | - LTC2978: not supported |
ee44fafb MJ |
419 | - LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889, |
420 | LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | |
421 | LTM4700: N=2-3 | |
1f234ff1 MCC |
422 | - LTC3883: N=2 |
423 | ||
fd9175d2 | 424 | curr[N]_input Measured output current. |
1f234ff1 | 425 | |
fd9175d2 | 426 | curr[N]_max Maximum output current. |
1f234ff1 | 427 | |
fd9175d2 | 428 | curr[N]_crit Critical high output current. |
1f234ff1 MCC |
429 | |
430 | curr[N]_lcrit Critical low output current. | |
431 | ||
ee44fafb | 432 | LTC2972, LTC2974 and LTC2975 only. |
1f234ff1 | 433 | |
fd9175d2 | 434 | curr[N]_max_alarm Output current high alarm. |
1f234ff1 | 435 | |
fd9175d2 | 436 | curr[N]_crit_alarm Output current critical high alarm. |
1f234ff1 | 437 | |
649ca820 | 438 | curr[N]_lcrit_alarm Output current critical low alarm. |
1f234ff1 | 439 | |
ee44fafb | 440 | LTC2972, LTC2974 and LTC2975 only. |
1f234ff1 MCC |
441 | |
442 | curr[N]_lowest Lowest output current. | |
443 | ||
ee44fafb | 444 | LTC2972, LTC2974 and LTC2975 only. |
1f234ff1 | 445 | |
fd9175d2 | 446 | curr[N]_highest Highest output current. |
1f234ff1 | 447 | |
fd9175d2 | 448 | curr[N]_reset_history Reset output current history. |
1f234ff1 | 449 | ======================= ======================================================== |