Linux-libre 5.7.3-gnu
[librecmc/linux-libre.git] / Documentation / hwmon / ltc4151.rst
1 Kernel driver ltc4151
2 =====================
3
4 Supported 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
16 Author: Per Dalen <per.dalen@appeartv.com>
17
18
19 Description
20 -----------
21
22 The LTC4151 is a High Voltage I2C Current and Voltage Monitor.
23
24
25 Usage Notes
26 -----------
27
28 This driver does not probe for LTC4151 devices, since there is no register
29 which can be safely used to identify the chip. You will have to instantiate
30 the devices explicitly.
31
32 Example: the following will load the driver for an LTC4151 at address 0x6f
33 on I2C bus #0::
34
35         # modprobe ltc4151
36         # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device
37
38
39 Sysfs entries
40 -------------
41
42 Voltage readings provided by this driver are reported as obtained from the ADIN
43 and VIN registers.
44
45 Current reading provided by this driver is reported as obtained from the Current
46 Sense register. The reported value assumes that a 1 mOhm sense resistor is
47 installed.
48
49 ======================= ==================
50 in1_input               VDIN voltage (mV)
51
52 in2_input               ADIN voltage (mV)
53
54 curr1_input             SENSE current (mA)
55 ======================= ==================