Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver ltc4151
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * Linear Technology LTC4151
0007 
0008     Prefix: 'ltc4151'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheet:
0013 
0014         http://www.linear.com/docs/Datasheet/4151fc.pdf
0015 
0016 Author: Per Dalen <per.dalen@appeartv.com>
0017 
0018 
0019 Description
0020 -----------
0021 
0022 The LTC4151 is a High Voltage I2C Current and Voltage Monitor.
0023 
0024 
0025 Usage Notes
0026 -----------
0027 
0028 This driver does not probe for LTC4151 devices, since there is no register
0029 which can be safely used to identify the chip. You will have to instantiate
0030 the devices explicitly.
0031 
0032 Example: the following will load the driver for an LTC4151 at address 0x6f
0033 on I2C bus #0::
0034 
0035         # modprobe ltc4151
0036         # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device
0037 
0038 
0039 Sysfs entries
0040 -------------
0041 
0042 Voltage readings provided by this driver are reported as obtained from the ADIN
0043 and VIN registers.
0044 
0045 Current reading provided by this driver is reported as obtained from the Current
0046 Sense register. The reported value assumes that a 1 mOhm sense resistor is
0047 installed.
0048 
0049 ======================= ==================
0050 in1_input               VDIN voltage (mV)
0051 
0052 in2_input               ADIN voltage (mV)
0053 
0054 curr1_input             SENSE current (mA)
0055 ======================= ==================