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