blob: 097b3ccc4be767fd02a8c205e09812ed8982c5d5 [file] [log] [blame]
Guenter Roeck83f76492011-03-17 13:16:01 -07001Kernel driver adm1275
2=====================
3
4Supported chips:
5 * Analog Devices ADM1275
6 Prefix: 'adm1275'
7 Addresses scanned: -
8 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
9
10Author: Guenter Roeck <guenter.roeck@ericsson.com>
11
12
13Description
14-----------
15
16This driver supports hardware montoring for Analog Devices ADM1275 Hot-Swap
17Controller and Digital Power Monitor.
18
19The ADM1275 is a hot-swap controller that allows a circuit board to be removed
20from or inserted into a live backplane. It also features current and voltage
21readback via an integrated 12-bit analog-to-digital converter (ADC), accessed
22using a PMBus. interface.
23
24The driver is a client driver to the core PMBus driver. Please see
25Documentation/hwmon/pmbus for details on PMBus client drivers.
26
27
28Usage Notes
29-----------
30
31This driver does not auto-detect devices. You will have to instantiate the
32devices explicitly. Please see Documentation/i2c/instantiating-devices for
33details.
34
35
36Platform data support
37---------------------
38
39The driver supports standard PMBus driver platform data. Please see
40Documentation/hwmon/pmbus for details.
41
42
43Sysfs entries
44-------------
45
Guenter Roeckc576e302011-07-09 11:17:33 -070046The following attributes are supported. Limits are read-write, history reset
47attributes are write-only, all other attributes are read-only.
Guenter Roeck83f76492011-03-17 13:16:01 -070048
49in1_label "vin1" or "vout1" depending on chip variant and
50 configuration.
51in1_input Measured voltage. From READ_VOUT register.
52in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
53in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
54in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
55in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
Guenter Roeckc576e302011-07-09 11:17:33 -070056in1_highest Historical maximum voltage.
57in1_reset_history Write any value to reset history.
Guenter Roeck83f76492011-03-17 13:16:01 -070058
59curr1_label "iout1"
60curr1_input Measured current. From READ_IOUT register.
61curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
62curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register.
Guenter Roeckc576e302011-07-09 11:17:33 -070063curr1_highest Historical maximum current.
64curr1_reset_history Write any value to reset history.