blob: 39033538eb030c80a503e164391fe54e674f197b [file] [log] [blame]
Guenter Roeck83f76492011-03-17 13:16:01 -07001Kernel driver adm1275
2=====================
3
4Supported chips:
Guenter Roeck92711262012-02-24 03:40:53 -08005 * Analog Devices ADM1075
6 Prefix: 'adm1075'
7 Addresses scanned: -
8 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
Guenter Roeck4ff0ce22018-03-10 18:59:04 -08009 * Analog Devices ADM1272
10 Prefix: 'adm1272'
11 Addresses scanned: -
12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf
Guenter Roeck83f76492011-03-17 13:16:01 -070013 * Analog Devices ADM1275
14 Prefix: 'adm1275'
15 Addresses scanned: -
16 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
Guenter Roeck5cf231a2011-07-14 11:55:35 -070017 * Analog Devices ADM1276
18 Prefix: 'adm1276'
19 Addresses scanned: -
20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
Guenter Roeck709066ac2015-07-05 11:04:56 -070021 * Analog Devices ADM1278
22 Prefix: 'adm1278'
23 Addresses scanned: -
24 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf
Guenter Roeck68a40382015-03-17 13:19:51 -070025 * Analog Devices ADM1293/ADM1294
26 Prefix: 'adm1293', 'adm1294'
27 Addresses scanned: -
28 Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf
Guenter Roeck83f76492011-03-17 13:16:01 -070029
Guenter Roecke3333e52013-02-20 20:58:42 -080030Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck83f76492011-03-17 13:16:01 -070031
32
33Description
34-----------
35
Guenter Roeck4ff0ce22018-03-10 18:59:04 -080036This driver supports hardware monitoring for Analog Devices ADM1075, ADM1272,
37ADM1275, ADM1276, ADM1278, ADM1293, and ADM1294 Hot-Swap Controller and
38Digital Power Monitors.
Guenter Roeck83f76492011-03-17 13:16:01 -070039
Guenter Roeck4ff0ce22018-03-10 18:59:04 -080040ADM1075, ADM1272, ADM1275, ADM1276, ADM1278, ADM1293, and ADM1294 are hot-swap
Guenter Roeck709066ac2015-07-05 11:04:56 -070041controllers that allow a circuit board to be removed from or inserted into
42a live backplane. They also feature current and voltage readback via an
43integrated 12 bit analog-to-digital converter (ADC), accessed using a
44PMBus interface.
Guenter Roeck83f76492011-03-17 13:16:01 -070045
46The driver is a client driver to the core PMBus driver. Please see
47Documentation/hwmon/pmbus for details on PMBus client drivers.
48
49
50Usage Notes
51-----------
52
53This driver does not auto-detect devices. You will have to instantiate the
54devices explicitly. Please see Documentation/i2c/instantiating-devices for
55details.
56
Guenter Roeck92711262012-02-24 03:40:53 -080057The ADM1075, unlike many other PMBus devices, does not support internal voltage
58or current scaling. Reported voltages, currents, and power are raw measurements,
59and will typically have to be scaled.
60
Guenter Roeck83f76492011-03-17 13:16:01 -070061
62Platform data support
63---------------------
64
65The driver supports standard PMBus driver platform data. Please see
66Documentation/hwmon/pmbus for details.
67
68
69Sysfs entries
70-------------
71
Guenter Roeckc576e302011-07-09 11:17:33 -070072The following attributes are supported. Limits are read-write, history reset
73attributes are write-only, all other attributes are read-only.
Guenter Roeck83f76492011-03-17 13:16:01 -070074
Guenter Roeck68a40382015-03-17 13:19:51 -070075inX_label "vin1" or "vout1" depending on chip variant and
76 configuration. On ADM1075, ADM1293, and ADM1294,
77 vout1 reports the voltage on the VAUX pin.
78inX_input Measured voltage.
79inX_min Minimum Voltage.
80inX_max Maximum voltage.
81inX_min_alarm Voltage low alarm.
82inX_max_alarm Voltage high alarm.
83inX_highest Historical maximum voltage.
84inX_reset_history Write any value to reset history.
Guenter Roeck83f76492011-03-17 13:16:01 -070085
86curr1_label "iout1"
Guenter Roeck5cf231a2011-07-14 11:55:35 -070087curr1_input Measured current.
88curr1_max Maximum current.
89curr1_max_alarm Current high alarm.
Guenter Roeckc5e67632011-08-02 11:08:57 -070090curr1_lcrit Critical minimum current. Depending on the chip
91 configuration, either curr1_lcrit or curr1_crit is
92 supported, but not both.
93curr1_lcrit_alarm Critical current low alarm.
94curr1_crit Critical maximum current. Depending on the chip
95 configuration, either curr1_lcrit or curr1_crit is
96 supported, but not both.
97curr1_crit_alarm Critical current high alarm.
Guenter Roeckc576e302011-07-09 11:17:33 -070098curr1_highest Historical maximum current.
99curr1_reset_history Write any value to reset history.
Guenter Roeck92711262012-02-24 03:40:53 -0800100
101power1_label "pin1"
102power1_input Input power.
Guenter Roeck68a40382015-03-17 13:19:51 -0700103power1_input_lowest Lowest observed input power. ADM1293 and ADM1294 only.
104power1_input_highest Highest observed input power.
Guenter Roeck92711262012-02-24 03:40:53 -0800105power1_reset_history Write any value to reset history.
106
Guenter Roeck4ff0ce22018-03-10 18:59:04 -0800107 Power attributes are supported on ADM1075, ADM1272,
108 ADM1276, ADM1293, and ADM1294.
Guenter Roeck709066ac2015-07-05 11:04:56 -0700109
110temp1_input Chip temperature.
Guenter Roeck709066ac2015-07-05 11:04:56 -0700111temp1_max Maximum chip temperature.
112temp1_max_alarm Temperature alarm.
113temp1_crit Critical chip temperature.
114temp1_crit_alarm Critical temperature high alarm.
115temp1_highest Highest observed temperature.
116temp1_reset_history Write any value to reset history.
117
Guenter Roeck4ff0ce22018-03-10 18:59:04 -0800118 Temperature attributes are supported on ADM1272 and
119 ADM1278.