Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver ltc2990
0002 =====================
0003 
0004 
0005 Supported chips:
0006 
0007   * Linear Technology LTC2990
0008 
0009     Prefix: 'ltc2990'
0010 
0011     Addresses scanned: -
0012 
0013     Datasheet: http://www.linear.com/product/ltc2990
0014 
0015 
0016 
0017 Author:
0018 
0019         - Mike Looijmans <mike.looijmans@topic.nl>
0020         - Tom Levens <tom.levens@cern.ch>
0021 
0022 
0023 Description
0024 -----------
0025 
0026 LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor.
0027 The chip's inputs can measure 4 voltages, or two inputs together (1+2 and 3+4)
0028 can be combined to measure a differential voltage, which is typically used to
0029 measure current through a series resistor, or a temperature with an external
0030 diode.
0031 
0032 
0033 Usage Notes
0034 -----------
0035 
0036 This driver does not probe for PMBus devices. You will have to instantiate
0037 devices explicitly.
0038 
0039 
0040 Sysfs attributes
0041 ----------------
0042 
0043 ============= ==================================================
0044 in0_input     Voltage at Vcc pin in millivolt (range 2.5V to 5V)
0045 temp1_input   Internal chip temperature in millidegrees Celsius
0046 ============= ==================================================
0047 
0048 A subset of the following attributes are visible, depending on the measurement
0049 mode of the chip.
0050 
0051 ============= ==========================================================
0052 in[1-4]_input Voltage at V[1-4] pin in millivolt
0053 temp2_input   External temperature sensor TR1 in millidegrees Celsius
0054 temp3_input   External temperature sensor TR2 in millidegrees Celsius
0055 curr1_input   Current in mA across V1-V2 assuming a 1mOhm sense resistor
0056 curr2_input   Current in mA across V3-V4 assuming a 1mOhm sense resistor
0057 ============= ==========================================================
0058 
0059 The "curr*_input" measurements actually report the voltage drop across the
0060 input pins in microvolts. This is equivalent to the current through a 1mOhm
0061 sense resistor. Divide the reported value by the actual sense resistor value
0062 in mOhm to get the actual value.