-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: Driver for MAX16065 System Manager and compatibles
This patch adds hardware monitoring support for Maxim MAX16065, MAX16066, MAX16067, MAX16068, MAX16070, and MAX16071 flash-configurable system managers with nonvolatile fault registers. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Jean Delvare <khali@linux-fr.org>
- Loading branch information
Guenter Roeck
committed
May 19, 2011
1 parent
82c7465
commit f5bae26
Showing
4 changed files
with
832 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
Kernel driver max16065 | ||
====================== | ||
|
||
Supported chips: | ||
* Maxim MAX16065, MAX16066 | ||
Prefixes: 'max16065', 'max16066' | ||
Addresses scanned: - | ||
Datasheet: | ||
http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf | ||
* Maxim MAX16067 | ||
Prefix: 'max16067' | ||
Addresses scanned: - | ||
Datasheet: | ||
http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf | ||
* Maxim MAX16068 | ||
Prefix: 'max16068' | ||
Addresses scanned: - | ||
Datasheet: | ||
http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf | ||
* Maxim MAX16070/MAX16071 | ||
Prefixes: 'max16070', 'max16071' | ||
Addresses scanned: - | ||
Datasheet: | ||
http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf | ||
|
||
|
||
Author: Guenter Roeck <guenter.roeck@ericsson.com> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
[From datasheets] The MAX16065/MAX16066 flash-configurable system managers | ||
monitor and sequence multiple system voltages. The MAX16065/MAX16066 can also | ||
accurately monitor (+/-2.5%) one current channel using a dedicated high-side | ||
current-sense amplifier. The MAX16065 manages up to twelve system voltages | ||
simultaneously, and the MAX16066 manages up to eight supply voltages. | ||
|
||
The MAX16067 flash-configurable system manager monitors and sequences multiple | ||
system voltages. The MAX16067 manages up to six system voltages simultaneously. | ||
|
||
The MAX16068 flash-configurable system manager monitors and manages up to six | ||
system voltages simultaneously. | ||
|
||
The MAX16070/MAX16071 flash-configurable system monitors supervise multiple | ||
system voltages. The MAX16070/MAX16071 can also accurately monitor (+/-2.5%) | ||
one current channel using a dedicated high-side current-sense amplifier. The | ||
MAX16070 monitors up to twelve system voltages simultaneously, and the MAX16071 | ||
monitors up to eight supply voltages. | ||
|
||
Each monitored channel has its own low and high critical limits. MAX16065, | ||
MAX16066, MAX16070, and MAX16071 support an additional limit which is | ||
configurable as either low or high secondary limit. MAX16065, MAX16066, | ||
MAX16070, and MAX16071 also support supply current monitoring. | ||
|
||
|
||
Usage Notes | ||
----------- | ||
|
||
This driver does not probe for devices, since there is no register which | ||
can be safely used to identify the chip. You will have to instantiate | ||
the devices explicitly. Please see Documentation/i2c/instantiating-devices for | ||
details. | ||
|
||
|
||
Sysfs entries | ||
------------- | ||
|
||
in[0-11]_input Input voltage measurements. | ||
|
||
in12_input Voltage on CSP (Current Sense Positive) pin. | ||
Only if the chip supports current sensing and if | ||
current sensing is enabled. | ||
|
||
in[0-11]_min Low warning limit. | ||
Supported on MAX16065, MAX16066, MAX16070, and MAX16071 | ||
only. | ||
|
||
in[0-11]_max High warning limit. | ||
Supported on MAX16065, MAX16066, MAX16070, and MAX16071 | ||
only. | ||
|
||
Either low or high warning limits are supported | ||
(depending on chip configuration), but not both. | ||
|
||
in[0-11]_lcrit Low critical limit. | ||
|
||
in[0-11]_crit High critical limit. | ||
|
||
in[0-11]_alarm Input voltage alarm. | ||
|
||
curr1_input Current sense input; only if the chip supports current | ||
sensing and if current sensing is enabled. | ||
Displayed current assumes 0.001 Ohm current sense | ||
resistor. | ||
|
||
curr1_alarm Overcurrent alarm; only if the chip supports current | ||
sensing and if current sensing is enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.