diff options
author | per.dalen@appeartv.com <per.dalen@appeartv.com> | 2011-03-03 14:13:21 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-15 01:39:11 -0400 |
commit | de7790155f745d30d58ed131ed112b8735413ab7 (patch) | |
tree | 884ecf5816d1d9279ad2e0e0864f18a693c8a3a6 /Documentation/hwmon/ltc4151 | |
parent | 9f6ad1ce6484a92ef864e00611a8ef3daf9c986d (diff) |
hwmon: Add support for LTC4151
LTC4151 is High Voltage I2C Current and Voltage Monitor from Linear
Technology.
Signed-off-by: Per Dalen <per.dalen@appeartv.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon/ltc4151')
-rw-r--r-- | Documentation/hwmon/ltc4151 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/hwmon/ltc4151 b/Documentation/hwmon/ltc4151 new file mode 100644 index 000000000000..43c667e6677a --- /dev/null +++ b/Documentation/hwmon/ltc4151 | |||
@@ -0,0 +1,47 @@ | |||
1 | Kernel driver ltc4151 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Linear Technology LTC4151 | ||
6 | Prefix: 'ltc4151' | ||
7 | Addresses scanned: - | ||
8 | Datasheet: | ||
9 | http://www.linear.com/docs/Datasheet/4151fc.pdf | ||
10 | |||
11 | Author: Per Dalen <per.dalen@appeartv.com> | ||
12 | |||
13 | |||
14 | Description | ||
15 | ----------- | ||
16 | |||
17 | The LTC4151 is a High Voltage I2C Current and Voltage Monitor. | ||
18 | |||
19 | |||
20 | Usage Notes | ||
21 | ----------- | ||
22 | |||
23 | This driver does not probe for LTC4151 devices, since there is no register | ||
24 | which can be safely used to identify the chip. You will have to instantiate | ||
25 | the devices explicitly. | ||
26 | |||
27 | Example: the following will load the driver for an LTC4151 at address 0x6f | ||
28 | on I2C bus #0: | ||
29 | # modprobe ltc4151 | ||
30 | # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device | ||
31 | |||
32 | |||
33 | Sysfs entries | ||
34 | ------------- | ||
35 | |||
36 | Voltage readings provided by this driver are reported as obtained from the ADIN | ||
37 | and VIN registers. | ||
38 | |||
39 | Current reading provided by this driver is reported as obtained from the Current | ||
40 | Sense register. The reported value assumes that a 1 mOhm sense resistor is | ||
41 | installed. | ||
42 | |||
43 | in1_input VDIN voltage (mV) | ||
44 | |||
45 | in2_input ADIN voltage (mV) | ||
46 | |||
47 | curr1_input SENSE current (mA) | ||