xref: /linux/Documentation/hwmon/ltc4151.rst (revision d19e470b6605c900db21fc7b34c66b6891a79983)
1Kernel driver ltc4151
2=====================
3
4Supported chips:
5
6  * Linear Technology LTC4151
7
8    Prefix: 'ltc4151'
9
10    Addresses scanned: -
11
12    Datasheet:
13
14	http://www.linear.com/docs/Datasheet/4151fc.pdf
15
16Author: Per Dalen <per.dalen@appeartv.com>
17
18
19Description
20-----------
21
22The LTC4151 is a High Voltage I2C Current and Voltage Monitor.
23
24
25Usage Notes
26-----------
27
28This driver does not probe for LTC4151 devices, since there is no register
29which can be safely used to identify the chip. You will have to instantiate
30the devices explicitly.
31
32Example: the following will load the driver for an LTC4151 at address 0x6f
33on I2C bus #0::
34
35	# modprobe ltc4151
36	# echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device
37
38
39Sysfs entries
40-------------
41
42Voltage readings provided by this driver are reported as obtained from the ADIN
43and VIN registers.
44
45Current reading provided by this driver is reported as obtained from the Current
46Sense register. The reported value assumes that a 1 mOhm sense resistor is
47installed.
48
49======================= ==================
50in1_input		VDIN voltage (mV)
51
52in2_input		ADIN voltage (mV)
53
54curr1_input		SENSE current (mA)
55======================= ==================
56