Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-block.git] / Documentation / hwmon / ltc4151.rst
CommitLineData
de779015 1Kernel driver ltc4151
2=====================
3
4Supported chips:
b04f2f7d 5
de779015 6 * Linear Technology LTC4151
b04f2f7d 7
de779015 8 Prefix: 'ltc4151'
b04f2f7d 9
de779015 10 Addresses scanned: -
b04f2f7d 11
de779015 12 Datasheet:
b04f2f7d
MCC
13
14 http://www.linear.com/docs/Datasheet/4151fc.pdf
de779015 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
b04f2f7d
MCC
33on I2C bus #0::
34
35 # modprobe ltc4151
36 # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device
de779015 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
b04f2f7d 49======================= ==================
de779015 50in1_input VDIN voltage (mV)
51
52in2_input ADIN voltage (mV)
53
54curr1_input SENSE current (mA)
b04f2f7d 55======================= ==================