diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-08-02 14:08:57 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-10-24 14:09:34 -0400 |
commit | c5e6763667ffc94eaad4634841cb1b7ecd951fb7 (patch) | |
tree | 9f12484699dc25462e3275fba42bba65f47644d6 /Documentation/hwmon | |
parent | 866cf12a0eab65f94e40608bdd21ca8dea4d0ac2 (diff) |
hwmon: (pmbus/adm1275) Add support for second current limit
ADM1275 supports a second current limit, which can be configured as either lower
or upper limit. Add support for it and report it as either lower or upper
critical current limit.
Also replace error return code EINVAL for unsupported pages with ENXIO as this
is more appropriate for the observed condition.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/adm1275 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275 index 097b3ccc4be7..c438c98bdbc8 100644 --- a/Documentation/hwmon/adm1275 +++ b/Documentation/hwmon/adm1275 | |||
@@ -60,5 +60,13 @@ curr1_label "iout1" | |||
60 | curr1_input Measured current. From READ_IOUT register. | 60 | curr1_input Measured current. From READ_IOUT register. |
61 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 61 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
62 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. | 62 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. |
63 | curr1_lcrit Critical minimum current. Depending on the chip | ||
64 | configuration, either curr1_lcrit or curr1_crit is | ||
65 | supported, but not both. | ||
66 | curr1_lcrit_alarm Critical current low alarm. | ||
67 | curr1_crit Critical maximum current. Depending on the chip | ||
68 | configuration, either curr1_lcrit or curr1_crit is | ||
69 | supported, but not both. | ||
70 | curr1_crit_alarm Critical current high alarm. | ||
63 | curr1_highest Historical maximum current. | 71 | curr1_highest Historical maximum current. |
64 | curr1_reset_history Write any value to reset history. | 72 | curr1_reset_history Write any value to reset history. |