diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-02-24 06:40:22 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:27:52 -0400 |
commit | 590defe59ef9596dcd892d2d8395d730c510323d (patch) | |
tree | d186bfff6b0eb41d8dec801eaad8869c06ef6dbe /Documentation/hwmon | |
parent | 60b873e3329891cd86cf5a2629157dc0022f8beb (diff) |
hwmon: (max34440) Add support for MAX34446
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/max34440 | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/Documentation/hwmon/max34440 b/Documentation/hwmon/max34440 index 36b335c461dc..bbdf9bf5d8f5 100644 --- a/Documentation/hwmon/max34440 +++ b/Documentation/hwmon/max34440 | |||
@@ -11,6 +11,11 @@ Supported chips: | |||
11 | Prefixes: 'max34441' | 11 | Prefixes: 'max34441' |
12 | Addresses scanned: - | 12 | Addresses scanned: - |
13 | Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34441.pdf | 13 | Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34441.pdf |
14 | * Maxim MAX34446 | ||
15 | PMBus Power-Supply Data Logger | ||
16 | Prefixes: 'max34446' | ||
17 | Addresses scanned: - | ||
18 | Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34446.pdf | ||
14 | 19 | ||
15 | Author: Guenter Roeck <guenter.roeck@ericsson.com> | 20 | Author: Guenter Roeck <guenter.roeck@ericsson.com> |
16 | 21 | ||
@@ -19,8 +24,8 @@ Description | |||
19 | ----------- | 24 | ----------- |
20 | 25 | ||
21 | This driver supports hardware montoring for Maxim MAX34440 PMBus 6-Channel | 26 | This driver supports hardware montoring for Maxim MAX34440 PMBus 6-Channel |
22 | Power-Supply Manager and MAX34441 PMBus 5-Channel Power-Supply Manager | 27 | Power-Supply Manager, MAX34441 PMBus 5-Channel Power-Supply Manager |
23 | and Intelligent Fan Controller. | 28 | and Intelligent Fan Controller, and MAX34446 PMBus Power-Supply Data Logger. |
24 | 29 | ||
25 | The driver is a client driver to the core PMBus driver. Please see | 30 | The driver is a client driver to the core PMBus driver. Please see |
26 | Documentation/hwmon/pmbus for details on PMBus client drivers. | 31 | Documentation/hwmon/pmbus for details on PMBus client drivers. |
@@ -33,6 +38,13 @@ This driver does not auto-detect devices. You will have to instantiate the | |||
33 | devices explicitly. Please see Documentation/i2c/instantiating-devices for | 38 | devices explicitly. Please see Documentation/i2c/instantiating-devices for |
34 | details. | 39 | details. |
35 | 40 | ||
41 | For MAX34446, the value of the currX_crit attribute determines if current or | ||
42 | voltage measurement is enabled for a given channel. Voltage measurement is | ||
43 | enabled if currX_crit is set to 0; current measurement is enabled if the | ||
44 | attribute is set to a positive value. Power measurement is only enabled if | ||
45 | channel 1 (3) is configured for voltage measurement, and channel 2 (4) is | ||
46 | configured for current measurement. | ||
47 | |||
36 | 48 | ||
37 | Platform data support | 49 | Platform data support |
38 | --------------------- | 50 | --------------------- |
@@ -60,16 +72,27 @@ in[1-6]_lowest Historical minimum voltage. | |||
60 | in[1-6]_highest Historical maximum voltage. | 72 | in[1-6]_highest Historical maximum voltage. |
61 | in[1-6]_reset_history Write any value to reset history. | 73 | in[1-6]_reset_history Write any value to reset history. |
62 | 74 | ||
75 | MAX34446 only supports in[1-4]. | ||
76 | |||
63 | curr[1-6]_label "iout[1-6]". | 77 | curr[1-6]_label "iout[1-6]". |
64 | curr[1-6]_input Measured current. From READ_IOUT register. | 78 | curr[1-6]_input Measured current. From READ_IOUT register. |
65 | curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 79 | curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
66 | curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 80 | curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. |
67 | curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 81 | curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
68 | curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 82 | curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. |
83 | curr[1-4]_average Historical average current (MAX34446 only). | ||
69 | curr[1-6]_highest Historical maximum current. | 84 | curr[1-6]_highest Historical maximum current. |
70 | curr[1-6]_reset_history Write any value to reset history. | 85 | curr[1-6]_reset_history Write any value to reset history. |
71 | 86 | ||
72 | in6 and curr6 attributes only exist for MAX34440. | 87 | in6 and curr6 attributes only exist for MAX34440. |
88 | MAX34446 only supports curr[1-4]. | ||
89 | |||
90 | power[1,3]_label "pout[1,3]" | ||
91 | power[1,3]_input Measured power. | ||
92 | power[1,3]_average Historical average power. | ||
93 | power[1,3]_highest Historical maximum power. | ||
94 | |||
95 | Power attributes only exist for MAX34446. | ||
73 | 96 | ||
74 | temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register. | 97 | temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register. |
75 | temp1 is the chip's internal temperature. temp2..temp5 | 98 | temp1 is the chip's internal temperature. temp2..temp5 |
@@ -80,7 +103,9 @@ temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register. | |||
80 | temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register. | 103 | temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register. |
81 | temp[1-8]_max_alarm Temperature high alarm. | 104 | temp[1-8]_max_alarm Temperature high alarm. |
82 | temp[1-8]_crit_alarm Temperature critical high alarm. | 105 | temp[1-8]_crit_alarm Temperature critical high alarm. |
106 | temp[1-8]_average Historical average temperature (MAX34446 only). | ||
83 | temp[1-8]_highest Historical maximum temperature. | 107 | temp[1-8]_highest Historical maximum temperature. |
84 | temp[1-8]_reset_history Write any value to reset history. | 108 | temp[1-8]_reset_history Write any value to reset history. |
85 | 109 | ||
86 | temp7 and temp8 attributes only exist for MAX34440. | 110 | temp7 and temp8 attributes only exist for MAX34440. |
111 | MAX34446 only supports temp[1-3]. | ||