Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver ltc4260
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * Linear Technology LTC4260
0007 
0008     Prefix: 'ltc4260'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheet:
0013 
0014         http://cds.linear.com/docs/en/datasheet/4260fc.pdf
0015 
0016 Author: Guenter Roeck <linux@roeck-us.net>
0017 
0018 
0019 Description
0020 -----------
0021 
0022 The LTC4260 Hot Swap controller allows a board to be safely inserted
0023 and removed from a live backplane.
0024 
0025 
0026 Usage Notes
0027 -----------
0028 
0029 This driver does not probe for LTC4260 devices, since there is no register
0030 which can be safely used to identify the chip. You will have to instantiate
0031 the devices explicitly.
0032 
0033 Example: the following will load the driver for an LTC4260 at address 0x10
0034 on I2C bus #1::
0035 
0036         $ modprobe ltc4260
0037         $ echo ltc4260 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
0038 
0039 
0040 Sysfs entries
0041 -------------
0042 
0043 Voltage readings provided by this driver are reported as obtained from the ADC
0044 registers. If a set of voltage divider resistors is installed, calculate the
0045 real voltage by multiplying the reported value with (R1+R2)/R2, where R1 is the
0046 value of the divider resistor against the measured voltage and R2 is the value
0047 of the divider resistor against Ground.
0048 
0049 Current reading provided by this driver is reported as obtained from the ADC
0050 Current Sense register. The reported value assumes that a 1 mOhm sense resistor
0051 is installed. If a different sense resistor is installed, calculate the real
0052 current by dividing the reported value by the sense resistor value in mOhm.
0053 
0054 ======================= =======================
0055 in1_input               SOURCE voltage (mV)
0056 in1_min_alarm           Undervoltage alarm
0057 in1_max_alarm           Overvoltage alarm
0058 
0059 in2_input               ADIN voltage (mV)
0060 in2_alarm               Power bad alarm
0061 
0062 curr1_input             SENSE current (mA)
0063 curr1_alarm             SENSE overcurrent alarm
0064 ======================= =======================