summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/max16065
blob: 208a29e430105fa78fd86f2e548e19690d91fbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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 <linux@roeck-us.net>


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.

WARNING: Do not access chip registers using the i2cdump command, and do not use
any of the i2ctools commands on a command register (0xa5 to 0xac). The chips
supported by this driver interpret any access to a command register (including
read commands) as request to execute the command in question. This may result in
power loss, board resets, and/or Flash corruption. Worst case, your board may
turn into a brick.


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.