blob: ab70d96d2dfd5fdb583359bb6fed0aee3ebee4ce [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
Guenter Roeck5cf231a2011-07-14 11:55:35 -07009 * Analog Devices ADM1276
10 Prefix: 'adm1276'
11 Addresses scanned: -
12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
Guenter Roeck83f76492011-03-17 13:16:01 -070013
14Author: Guenter Roeck <guenter.roeck@ericsson.com>
15
16
17Description
18-----------
19
Guenter Roeck5cf231a2011-07-14 11:55:35 -070020This driver supports hardware montoring for Analog Devices ADM1275 and ADM1276
21Hot-Swap Controller and Digital Power Monitor.
Guenter Roeck83f76492011-03-17 13:16:01 -070022
Guenter Roeck5cf231a2011-07-14 11:55:35 -070023ADM1275 and ADM1276 are hot-swap controllers that allow a circuit board to be
24removed from or inserted into a live backplane. They also feature current and
25voltage readback via an integrated 12-bit analog-to-digital converter (ADC),
26accessed using a PMBus interface.
Guenter Roeck83f76492011-03-17 13:16:01 -070027
28The driver is a client driver to the core PMBus driver. Please see
29Documentation/hwmon/pmbus for details on PMBus client drivers.
30
31
32Usage Notes
33-----------
34
35This driver does not auto-detect devices. You will have to instantiate the
36devices explicitly. Please see Documentation/i2c/instantiating-devices for
37details.
38
39
40Platform data support
41---------------------
42
43The driver supports standard PMBus driver platform data. Please see
44Documentation/hwmon/pmbus for details.
45
46
47Sysfs entries
48-------------
49
Guenter Roeckc576e302011-07-09 11:17:33 -070050The following attributes are supported. Limits are read-write, history reset
51attributes are write-only, all other attributes are read-only.
Guenter Roeck83f76492011-03-17 13:16:01 -070052
53in1_label "vin1" or "vout1" depending on chip variant and
54 configuration.
Guenter Roeck5cf231a2011-07-14 11:55:35 -070055in1_input Measured voltage.
56in1_min Minumum Voltage.
57in1_max Maximum voltage.
58in1_min_alarm Voltage low alarm.
59in1_max_alarm Voltage high alarm.
Guenter Roeckc576e302011-07-09 11:17:33 -070060in1_highest Historical maximum voltage.
61in1_reset_history Write any value to reset history.
Guenter Roeck83f76492011-03-17 13:16:01 -070062
63curr1_label "iout1"
Guenter Roeck5cf231a2011-07-14 11:55:35 -070064curr1_input Measured current.
65curr1_max Maximum current.
66curr1_max_alarm Current high alarm.
Guenter Roeckc5e67632011-08-02 11:08:57 -070067curr1_lcrit Critical minimum current. Depending on the chip
68 configuration, either curr1_lcrit or curr1_crit is
69 supported, but not both.
70curr1_lcrit_alarm Critical current low alarm.
71curr1_crit Critical maximum current. Depending on the chip
72 configuration, either curr1_lcrit or curr1_crit is
73 supported, but not both.
74curr1_crit_alarm Critical current high alarm.
Guenter Roeckc576e302011-07-09 11:17:33 -070075curr1_highest Historical maximum current.
76curr1_reset_history Write any value to reset history.