brintos

brintos / linux-shallow public Read only

0
0
Text · 9.9 KiB · edf24e5 Raw
450 lines · plain
1Kernel driver ltc29782=====================3 4Supported chips:5 6  * Linear Technology LTC29727 8    Prefix: 'ltc2972'9 10    Addresses scanned: -11 12    Datasheet: https://www.analog.com/en/products/ltc2972.html13 14  * Linear Technology LTC297415 16    Prefix: 'ltc2974'17 18    Addresses scanned: -19 20    Datasheet: https://www.analog.com/en/products/ltc297421 22  * Linear Technology LTC297523 24    Prefix: 'ltc2975'25 26    Addresses scanned: -27 28    Datasheet: https://www.analog.com/en/products/ltc297529 30  * Linear Technology LTC297731 32    Prefix: 'ltc2977'33 34    Addresses scanned: -35 36    Datasheet: https://www.analog.com/en/products/ltc297737 38  * Linear Technology LTC2978, LTC2978A39 40    Prefix: 'ltc2978'41 42    Addresses scanned: -43 44    Datasheet: https://www.analog.com/en/products/ltc297845 46	       https://www.analog.com/en/products/ltc2978a47 48  * Linear Technology LTC297949 50    Prefix: 'ltc2979'51 52    Addresses scanned: -53 54    Datasheet: https://www.analog.com/en/products/ltc297955 56  * Linear Technology LTC298057 58    Prefix: 'ltc2980'59 60    Addresses scanned: -61 62    Datasheet: https://www.analog.com/en/products/ltc298063 64  * Linear Technology LTC388065 66    Prefix: 'ltc3880'67 68    Addresses scanned: -69 70    Datasheet: https://www.analog.com/en/products/ltc388071 72  * Linear Technology LTC388273 74    Prefix: 'ltc3882'75 76    Addresses scanned: -77 78    Datasheet: https://www.analog.com/en/products/ltc388279 80  * Linear Technology LTC388381 82    Prefix: 'ltc3883'83 84    Addresses scanned: -85 86    Datasheet: https://www.analog.com/en/products/ltc388387 88  * Linear Technology LTC388489 90    Prefix: 'ltc3884'91 92    Addresses scanned: -93 94    Datasheet: https://www.analog.com/en/products/ltc388495 96  * Linear Technology LTC388697 98    Prefix: 'ltc3886'99 100    Addresses scanned: -101 102    Datasheet: https://www.analog.com/en/products/ltc3886103 104  * Linear Technology LTC3887105 106    Prefix: 'ltc3887'107 108    Addresses scanned: -109 110    Datasheet: https://www.analog.com/en/products/ltc3887111 112  * Linear Technology LTC3889113 114    Prefix: 'ltc3889'115 116    Addresses scanned: -117 118    Datasheet: https://www.analog.com/en/products/ltc3889119 120  * Linear Technology LTC7880121 122    Prefix: 'ltc7880'123 124    Addresses scanned: -125 126    Datasheet: https://www.analog.com/en/products/ltc7880127 128  * Linear Technology LTM2987129 130    Prefix: 'ltm2987'131 132    Addresses scanned: -133 134    Datasheet: https://www.analog.com/en/products/ltm2987135 136  * Linear Technology LTM4644137 138    Prefix: 'ltm4644'139 140    Addresses scanned: -141 142    Datasheet: https://www.analog.com/en/products/ltm4644143 144   * Linear Technology LTM4675145 146    Prefix: 'ltm4675'147 148    Addresses scanned: -149 150    Datasheet: https://www.analog.com/en/products/ltm4675151 152  * Linear Technology LTM4676153 154    Prefix: 'ltm4676'155 156    Addresses scanned: -157 158    Datasheet: https://www.analog.com/en/products/ltm4676159 160  * Linear Technology LTM4677161 162    Prefix: 'ltm4677'163 164    Addresses scanned: -165 166    Datasheet: https://www.analog.com/en/products/ltm4677167 168  * Linear Technology LTM4678169 170    Prefix: 'ltm4678'171 172    Addresses scanned: -173 174    Datasheet: https://www.analog.com/en/products/ltm4678175 176  * Analog Devices LTM4680177 178    Prefix: 'ltm4680'179 180    Addresses scanned: -181 182    Datasheet: https://www.analog.com/ltm4680183 184  * Analog Devices LTM4686185 186    Prefix: 'ltm4686'187 188    Addresses scanned: -189 190    Datasheet: https://www.analog.com/ltm4686191 192  * Analog Devices LTM4700193 194    Prefix: 'ltm4700'195 196    Addresses scanned: -197 198    Datasheet: https://www.analog.com/ltm4700199 200 201 202Author: Guenter Roeck <linux@roeck-us.net>203 204 205Description206-----------207 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 LTC2977212- in a single die. The chip is instantiated and reported as two separate chips213- on two different I2C bus addresses.214- LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down215- 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 plus218- additional components on a single die. The chip is instantiated and reported219- as two separate chips on two different I2C bus addresses.220- LTM4675 is a dual 9A or single 18A μModule regulator221- LTM4676 is a dual 13A or single 26A uModule regulator.222- LTM4686 is a dual 10A or single 20A uModule regulator.223 224 225Usage Notes226-----------227 228This driver does not probe for PMBus devices. You will have to instantiate229devices explicitly.230 231Example: the following commands will load the driver for an LTC2978 at address2320x60 on I2C bus #1::233 234	# modprobe ltc2978235	# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device236 237 238Sysfs attributes239----------------240 241======================= ========================================================242in1_label		"vin"243 244in1_input		Measured input voltage.245 246in1_min			Minimum input voltage.247 248in1_max			Maximum input voltage.249 250			LTC2974, LTC2975, LTC2977, LTC2980, LTC2978,251			LTC2979 and LTM2987 only.252 253in1_lcrit		Critical minimum input voltage.254 255			LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978,256			LTC2979 and LTM2987 only.257 258in1_crit		Critical maximum input voltage.259 260in1_min_alarm		Input voltage low alarm.261 262in1_max_alarm		Input voltage high alarm.263 264			LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978,265			LTC2979 and LTM2987 only.266 267in1_lcrit_alarm		Input voltage critical low alarm.268 269			LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978,270			LTC2979 and LTM2987 only.271 272in1_crit_alarm		Input voltage critical high alarm.273 274in1_lowest		Lowest input voltage.275 276			LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978,277			and LTM2987 only.278 279in1_highest		Highest input voltage.280 281in1_reset_history	Reset input voltage history.282 283in[N]_label		"vout[1-8]".284 285			- LTC2972: N=2-3286			- LTC2974, LTC2975: N=2-5287			- LTC2977, LTC2979, LTC2980, LTM2987: N=2-9288			- LTC2978: N=2-9289			- LTC3880, LTC3882, LTC3884, LTC23886 LTC3887, LTC3889,290			  LTC7880, LTM4644, LTM4675, LTM4676, LTM4677, LTM4678,291			  LTM4680, LTM4700: N=2-3292			- LTC3883: N=2293 294in[N]_input		Measured output voltage.295 296in[N]_min		Minimum output voltage.297 298in[N]_max		Maximum output voltage.299 300in[N]_lcrit		Critical minimum output voltage.301 302in[N]_crit		Critical maximum output voltage.303 304in[N]_min_alarm		Output voltage low alarm.305 306in[N]_max_alarm		Output voltage high alarm.307 308in[N]_lcrit_alarm	Output voltage critical low alarm.309 310in[N]_crit_alarm	Output voltage critical high alarm.311 312in[N]_lowest		Lowest output voltage.313 314			LTC2972, LTC2974, LTC2975,and LTC2978 only.315 316in[N]_highest		Highest output voltage.317 318in[N]_reset_history	Reset output voltage history.319 320temp[N]_input		Measured temperature.321 322			- On LTC2972, temp[1-2] report external temperatures,323			  and temp 3 reports the chip temperature.324			- On LTC2974 and LTC2975, temp[1-4] report external325			  temperatures, and temp5 reports the chip temperature.326			- On LTC2977, LTC2979, LTC2980, LTC2978, and LTM2987,327			  only one temperature measurement is supported and328			  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 external332			  temperatures, and temp3 reports the chip temperature.333			- On LTC3883, temp1 reports an external temperature,334			  and temp2 reports the chip temperature.335 336temp[N]_min		Minimum temperature.337 338			LTC2972, LTC2974, LCT2977, LTM2980, LTC2978,339			LTC2979, and LTM2987 only.340 341temp[N]_max		Maximum temperature.342 343temp[N]_lcrit		Critical low temperature.344 345temp[N]_crit		Critical high temperature.346 347temp[N]_min_alarm	Temperature low alarm.348 349			LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978,350			LTC2979, and LTM2987 only.351 352temp[N]_max_alarm	Temperature high alarm.353 354 355temp[N]_lcrit_alarm	Temperature critical low alarm.356 357temp[N]_crit_alarm	Temperature critical high alarm.358 359temp[N]_lowest		Lowest measured temperature.360 361			- LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978,362			  LTC2979, and LTM2987 only.363			- Not supported for chip temperature sensor on LTC2974364			  and LTC2975.365 366temp[N]_highest		Highest measured temperature.367 368			Not supported for chip temperature sensor on369			LTC2974 and LTC2975.370 371temp[N]_reset_history	Reset temperature history.372 373			Not supported for chip temperature sensor on374			LTC2974 and LTC2975.375 376power1_label		"pin". LTC3883 and LTC3886 only.377 378power1_input		Measured input power.379 380power[N]_label		"pout[1-4]".381 382			- LTC2972: N=1-2383			- LTC2974, LTC2975: N=1-4384			- LTC2977, LTC2979, LTC2980, LTM2987: Not supported385			- LTC2978: Not supported386			- LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889,387			  LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680,388			  LTM4700: N=1-2389			- LTC3883: N=2390 391power[N]_input		Measured output power.392 393curr1_label		"iin".394 395			LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889,396			LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680,397			and LTM4700 only.398 399curr1_input		Measured input current.400 401curr1_max		Maximum input current.402 403curr1_max_alarm		Input current high alarm.404 405curr1_highest		Highest input current.406 407			LTC3883 and LTC3886 only.408 409curr1_reset_history	Reset input current history.410 411			LTC3883 and LTC3886 only.412 413curr[N]_label		"iout[1-4]".414 415			- LTC2972: N-1-2416			- LTC2974, LTC2975: N=1-4417			- LTC2977, LTC2979, LTC2980, LTM2987: not supported418			- LTC2978: not supported419			- LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889,420			  LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680,421			  LTM4700: N=2-3422			- LTC3883: N=2423 424curr[N]_input		Measured output current.425 426curr[N]_max		Maximum output current.427 428curr[N]_crit		Critical high output current.429 430curr[N]_lcrit		Critical low output current.431 432			LTC2972, LTC2974 and LTC2975 only.433 434curr[N]_max_alarm	Output current high alarm.435 436curr[N]_crit_alarm	Output current critical high alarm.437 438curr[N]_lcrit_alarm	Output current critical low alarm.439 440			LTC2972, LTC2974 and LTC2975 only.441 442curr[N]_lowest		Lowest output current.443 444			LTC2972, LTC2974 and LTC2975 only.445 446curr[N]_highest		Highest output current.447 448curr[N]_reset_history	Reset output current history.449======================= ========================================================450