Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 1 | Kernel driver ltc2990 |
| 2 | ===================== |
| 3 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 4 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 5 | Supported chips: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 6 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 7 | * Linear Technology LTC2990 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 8 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 9 | Prefix: 'ltc2990' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 10 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 11 | Addresses scanned: - |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 12 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 13 | Datasheet: http://www.linear.com/product/ltc2990 |
| 14 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 15 | |
| 16 | |
| 17 | Author: |
| 18 | |
| 19 | - Mike Looijmans <mike.looijmans@topic.nl> |
| 20 | - Tom Levens <tom.levens@cern.ch> |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 21 | |
| 22 | |
| 23 | Description |
| 24 | ----------- |
| 25 | |
| 26 | LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor. |
| 27 | The chip's inputs can measure 4 voltages, or two inputs together (1+2 and 3+4) |
| 28 | can be combined to measure a differential voltage, which is typically used to |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 29 | measure current through a series resistor, or a temperature with an external |
| 30 | diode. |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 31 | |
| 32 | |
| 33 | Usage Notes |
| 34 | ----------- |
| 35 | |
| 36 | This driver does not probe for PMBus devices. You will have to instantiate |
| 37 | devices explicitly. |
| 38 | |
| 39 | |
| 40 | Sysfs attributes |
| 41 | ---------------- |
| 42 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 43 | ============= ================================================== |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 44 | in0_input Voltage at Vcc pin in millivolt (range 2.5V to 5V) |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 45 | temp1_input Internal chip temperature in millidegrees Celsius |
| 46 | ============= ================================================== |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 47 | |
| 48 | A subset of the following attributes are visible, depending on the measurement |
| 49 | mode of the chip. |
| 50 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 51 | ============= ========================================================== |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 52 | in[1-4]_input Voltage at V[1-4] pin in millivolt |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 53 | temp2_input External temperature sensor TR1 in millidegrees Celsius |
| 54 | temp3_input External temperature sensor TR2 in millidegrees Celsius |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 55 | curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor |
| 56 | curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 57 | ============= ========================================================== |
Tom Levens | 5d9ca43 | 2017-07-03 06:29:00 +0200 | [diff] [blame] | 58 | |
Mike Looijmans | df92270 | 2016-01-15 10:54:59 +0100 | [diff] [blame] | 59 | The "curr*_input" measurements actually report the voltage drop across the |
| 60 | input pins in microvolts. This is equivalent to the current through a 1mOhm |
| 61 | sense resistor. Divide the reported value by the actual sense resistor value |
| 62 | in mOhm to get the actual value. |