blob: e0a369e679d3172844057ba18c3eb9c59f8aa87e [file] [log] [blame]
Mike Looijmansdf922702016-01-15 10:54:59 +01001Kernel driver ltc2990
2=====================
3
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03004
Mike Looijmansdf922702016-01-15 10:54:59 +01005Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03006
Mike Looijmansdf922702016-01-15 10:54:59 +01007 * Linear Technology LTC2990
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03008
Mike Looijmansdf922702016-01-15 10:54:59 +01009 Prefix: 'ltc2990'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030010
Mike Looijmansdf922702016-01-15 10:54:59 +010011 Addresses scanned: -
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030012
Mike Looijmansdf922702016-01-15 10:54:59 +010013 Datasheet: http://www.linear.com/product/ltc2990
14
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030015
16
17Author:
18
19 - Mike Looijmans <mike.looijmans@topic.nl>
20 - Tom Levens <tom.levens@cern.ch>
Mike Looijmansdf922702016-01-15 10:54:59 +010021
22
23Description
24-----------
25
26LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor.
27The chip's inputs can measure 4 voltages, or two inputs together (1+2 and 3+4)
28can be combined to measure a differential voltage, which is typically used to
Tom Levens5d9ca432017-07-03 06:29:00 +020029measure current through a series resistor, or a temperature with an external
30diode.
Mike Looijmansdf922702016-01-15 10:54:59 +010031
32
33Usage Notes
34-----------
35
36This driver does not probe for PMBus devices. You will have to instantiate
37devices explicitly.
38
39
40Sysfs attributes
41----------------
42
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030043============= ==================================================
Tom Levens5d9ca432017-07-03 06:29:00 +020044in0_input Voltage at Vcc pin in millivolt (range 2.5V to 5V)
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030045temp1_input Internal chip temperature in millidegrees Celsius
46============= ==================================================
Tom Levens5d9ca432017-07-03 06:29:00 +020047
48A subset of the following attributes are visible, depending on the measurement
49mode of the chip.
50
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030051============= ==========================================================
Tom Levens5d9ca432017-07-03 06:29:00 +020052in[1-4]_input Voltage at V[1-4] pin in millivolt
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030053temp2_input External temperature sensor TR1 in millidegrees Celsius
54temp3_input External temperature sensor TR2 in millidegrees Celsius
Tom Levens5d9ca432017-07-03 06:29:00 +020055curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor
56curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030057============= ==========================================================
Tom Levens5d9ca432017-07-03 06:29:00 +020058
Mike Looijmansdf922702016-01-15 10:54:59 +010059The "curr*_input" measurements actually report the voltage drop across the
60input pins in microvolts. This is equivalent to the current through a 1mOhm
61sense resistor. Divide the reported value by the actual sense resistor value
62in mOhm to get the actual value.