summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-17 05:46:26 -0400
committerGuenter Roeck <linux@roeck-us.net>2019-04-17 12:51:06 -0400
commit1f234ff1621787860cfcca6aa8fb626519405a72 (patch)
treeef23bb753259f1bd5711da83f86171338ebf537b /Documentation/hwmon
parent0d9256262f92d26ebd29ee469bd07761a9835739 (diff)
docs: hwmon: pmbus files: convert to ReST format
Convert pmbus files to ReST format, in order to allow them to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/adm127526
-rw-r--r--Documentation/hwmon/ibm-cffps3
-rw-r--r--Documentation/hwmon/ir3522111
-rw-r--r--Documentation/hwmon/lm2506630
-rw-r--r--Documentation/hwmon/ltc2978267
-rw-r--r--Documentation/hwmon/ltc381512
-rw-r--r--Documentation/hwmon/max1606415
-rw-r--r--Documentation/hwmon/max207517
-rw-r--r--Documentation/hwmon/max317856
-rw-r--r--Documentation/hwmon/max3444088
-rw-r--r--Documentation/hwmon/max868818
-rw-r--r--Documentation/hwmon/pmbus90
-rw-r--r--Documentation/hwmon/pmbus-core173
-rw-r--r--Documentation/hwmon/tps4042223
-rw-r--r--Documentation/hwmon/ucd900031
-rw-r--r--Documentation/hwmon/ucd920042
-rw-r--r--Documentation/hwmon/zl610069
17 files changed, 684 insertions, 227 deletions
diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275
index 5e277b0d91ce..5c5860011d6e 100644
--- a/Documentation/hwmon/adm1275
+++ b/Documentation/hwmon/adm1275
@@ -2,29 +2,53 @@ Kernel driver adm1275
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * Analog Devices ADM1075 6 * Analog Devices ADM1075
7
6 Prefix: 'adm1075' 8 Prefix: 'adm1075'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf 12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
13
9 * Analog Devices ADM1272 14 * Analog Devices ADM1272
15
10 Prefix: 'adm1272' 16 Prefix: 'adm1272'
17
11 Addresses scanned: - 18 Addresses scanned: -
19
12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf 20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf
21
13 * Analog Devices ADM1275 22 * Analog Devices ADM1275
23
14 Prefix: 'adm1275' 24 Prefix: 'adm1275'
25
15 Addresses scanned: - 26 Addresses scanned: -
27
16 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf 28 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
29
17 * Analog Devices ADM1276 30 * Analog Devices ADM1276
31
18 Prefix: 'adm1276' 32 Prefix: 'adm1276'
33
19 Addresses scanned: - 34 Addresses scanned: -
35
20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf 36 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
37
21 * Analog Devices ADM1278 38 * Analog Devices ADM1278
39
22 Prefix: 'adm1278' 40 Prefix: 'adm1278'
41
23 Addresses scanned: - 42 Addresses scanned: -
43
24 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf 44 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf
45
25 * Analog Devices ADM1293/ADM1294 46 * Analog Devices ADM1293/ADM1294
47
26 Prefix: 'adm1293', 'adm1294' 48 Prefix: 'adm1293', 'adm1294'
49
27 Addresses scanned: - 50 Addresses scanned: -
51
28 Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf 52 Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf
29 53
30Author: Guenter Roeck <linux@roeck-us.net> 54Author: Guenter Roeck <linux@roeck-us.net>
@@ -75,6 +99,7 @@ Sysfs entries
75The following attributes are supported. Limits are read-write, history reset 99The following attributes are supported. Limits are read-write, history reset
76attributes are write-only, all other attributes are read-only. 100attributes are write-only, all other attributes are read-only.
77 101
102======================= =======================================================
78inX_label "vin1" or "vout1" depending on chip variant and 103inX_label "vin1" or "vout1" depending on chip variant and
79 configuration. On ADM1075, ADM1293, and ADM1294, 104 configuration. On ADM1075, ADM1293, and ADM1294,
80 vout1 reports the voltage on the VAUX pin. 105 vout1 reports the voltage on the VAUX pin.
@@ -120,3 +145,4 @@ temp1_reset_history Write any value to reset history.
120 145
121 Temperature attributes are supported on ADM1272 and 146 Temperature attributes are supported on ADM1272 and
122 ADM1278. 147 ADM1278.
148======================= =======================================================
diff --git a/Documentation/hwmon/ibm-cffps b/Documentation/hwmon/ibm-cffps
index e05ecd8ecfcf..52e74e39463a 100644
--- a/Documentation/hwmon/ibm-cffps
+++ b/Documentation/hwmon/ibm-cffps
@@ -2,6 +2,7 @@ Kernel driver ibm-cffps
2======================= 2=======================
3 3
4Supported chips: 4Supported chips:
5
5 * IBM Common Form Factor power supply 6 * IBM Common Form Factor power supply
6 7
7Author: Eddie James <eajames@us.ibm.com> 8Author: Eddie James <eajames@us.ibm.com>
@@ -24,6 +25,7 @@ Sysfs entries
24 25
25The following attributes are supported: 26The following attributes are supported:
26 27
28======================= ======================================================
27curr1_alarm Output current over-current alarm. 29curr1_alarm Output current over-current alarm.
28curr1_input Measured output current in mA. 30curr1_input Measured output current in mA.
29curr1_label "iout1" 31curr1_label "iout1"
@@ -52,3 +54,4 @@ temp2_alarm Secondary rectifier temp over-temperature alarm.
52temp2_input Measured secondary rectifier temp in millidegrees C. 54temp2_input Measured secondary rectifier temp in millidegrees C.
53temp3_alarm ORing FET temperature over-temperature alarm. 55temp3_alarm ORing FET temperature over-temperature alarm.
54temp3_input Measured ORing FET temperature in millidegrees C. 56temp3_input Measured ORing FET temperature in millidegrees C.
57======================= ======================================================
diff --git a/Documentation/hwmon/ir35221 b/Documentation/hwmon/ir35221
index 3e82f3d93f44..a83922e5ccb5 100644
--- a/Documentation/hwmon/ir35221
+++ b/Documentation/hwmon/ir35221
@@ -3,8 +3,11 @@ Kernel driver ir35221
3 3
4Supported chips: 4Supported chips:
5 * Infineon IR35221 5 * Infineon IR35221
6
6 Prefix: 'ir35221' 7 Prefix: 'ir35221'
8
7 Addresses scanned: - 9 Addresses scanned: -
10
8 Datasheet: Datasheet is not publicly available. 11 Datasheet: Datasheet is not publicly available.
9 12
10Author: Samuel Mendoza-Jonas <sam@mendozajonas.com> 13Author: Samuel Mendoza-Jonas <sam@mendozajonas.com>
@@ -23,15 +26,16 @@ This driver does not probe for PMBus devices. You will have to instantiate
23devices explicitly. 26devices explicitly.
24 27
25Example: the following commands will load the driver for an IR35221 28Example: the following commands will load the driver for an IR35221
26at address 0x70 on I2C bus #4: 29at address 0x70 on I2C bus #4::
27 30
28# modprobe ir35221 31 # modprobe ir35221
29# echo ir35221 0x70 > /sys/bus/i2c/devices/i2c-4/new_device 32 # echo ir35221 0x70 > /sys/bus/i2c/devices/i2c-4/new_device
30 33
31 34
32Sysfs attributes 35Sysfs attributes
33---------------- 36----------------
34 37
38======================= =======================================================
35curr1_label "iin" 39curr1_label "iin"
36curr1_input Measured input current 40curr1_input Measured input current
37curr1_max Maximum current 41curr1_max Maximum current
@@ -85,3 +89,4 @@ temp[1-2]_highest Highest temperature
85temp[1-2]_lowest Lowest temperature 89temp[1-2]_lowest Lowest temperature
86temp[1-2]_max Maximum temperature 90temp[1-2]_max Maximum temperature
87temp[1-2]_max_alarm Chip temperature high alarm 91temp[1-2]_max_alarm Chip temperature high alarm
92======================= =======================================================
diff --git a/Documentation/hwmon/lm25066 b/Documentation/hwmon/lm25066
index 51b32aa203a8..60b7f2722931 100644
--- a/Documentation/hwmon/lm25066
+++ b/Documentation/hwmon/lm25066
@@ -2,34 +2,62 @@ Kernel driver lm25066
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * TI LM25056 6 * TI LM25056
7
6 Prefix: 'lm25056' 8 Prefix: 'lm25056'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheets: 12 Datasheets:
13
9 http://www.ti.com/lit/gpn/lm25056 14 http://www.ti.com/lit/gpn/lm25056
15
10 http://www.ti.com/lit/gpn/lm25056a 16 http://www.ti.com/lit/gpn/lm25056a
17
11 * National Semiconductor LM25066 18 * National Semiconductor LM25066
19
12 Prefix: 'lm25066' 20 Prefix: 'lm25066'
21
13 Addresses scanned: - 22 Addresses scanned: -
23
14 Datasheets: 24 Datasheets:
25
15 http://www.national.com/pf/LM/LM25066.html 26 http://www.national.com/pf/LM/LM25066.html
27
16 http://www.national.com/pf/LM/LM25066A.html 28 http://www.national.com/pf/LM/LM25066A.html
29
17 * National Semiconductor LM5064 30 * National Semiconductor LM5064
31
18 Prefix: 'lm5064' 32 Prefix: 'lm5064'
33
19 Addresses scanned: - 34 Addresses scanned: -
35
20 Datasheet: 36 Datasheet:
37
21 http://www.national.com/pf/LM/LM5064.html 38 http://www.national.com/pf/LM/LM5064.html
39
22 * National Semiconductor LM5066 40 * National Semiconductor LM5066
41
23 Prefix: 'lm5066' 42 Prefix: 'lm5066'
43
24 Addresses scanned: - 44 Addresses scanned: -
45
25 Datasheet: 46 Datasheet:
47
26 http://www.national.com/pf/LM/LM5066.html 48 http://www.national.com/pf/LM/LM5066.html
49
27 * Texas Instruments LM5066I 50 * Texas Instruments LM5066I
51
28 Prefix: 'lm5066i' 52 Prefix: 'lm5066i'
53
29 Addresses scanned: - 54 Addresses scanned: -
55
30 Datasheet: 56 Datasheet:
57
31 http://www.ti.com/product/LM5066I 58 http://www.ti.com/product/LM5066I
32 59
60
33Author: Guenter Roeck <linux@roeck-us.net> 61Author: Guenter Roeck <linux@roeck-us.net>
34 62
35 63
@@ -64,6 +92,7 @@ Sysfs entries
64The following attributes are supported. Limits are read-write; all other 92The following attributes are supported. Limits are read-write; all other
65attributes are read-only. 93attributes are read-only.
66 94
95======================= =======================================================
67in1_label "vin" 96in1_label "vin"
68in1_input Measured input voltage. 97in1_input Measured input voltage.
69in1_average Average measured input voltage. 98in1_average Average measured input voltage.
@@ -105,3 +134,4 @@ temp1_max Maximum temperature.
105temp1_crit Critical high temperature. 134temp1_crit Critical high temperature.
106temp1_max_alarm Chip temperature high alarm. 135temp1_max_alarm Chip temperature high alarm.
107temp1_crit_alarm Chip temperature critical high alarm. 136temp1_crit_alarm Chip temperature critical high alarm.
137======================= =======================================================
diff --git a/Documentation/hwmon/ltc2978 b/Documentation/hwmon/ltc2978
index dfb2caa401d9..01a24fd6d5fe 100644
--- a/Documentation/hwmon/ltc2978
+++ b/Documentation/hwmon/ltc2978
@@ -2,85 +2,143 @@ Kernel driver ltc2978
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * Linear Technology LTC2974 6 * Linear Technology LTC2974
7
6 Prefix: 'ltc2974' 8 Prefix: 'ltc2974'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://www.linear.com/product/ltc2974 12 Datasheet: http://www.linear.com/product/ltc2974
13
9 * Linear Technology LTC2975 14 * Linear Technology LTC2975
15
10 Prefix: 'ltc2975' 16 Prefix: 'ltc2975'
17
11 Addresses scanned: - 18 Addresses scanned: -
19
12 Datasheet: http://www.linear.com/product/ltc2975 20 Datasheet: http://www.linear.com/product/ltc2975
21
13 * Linear Technology LTC2977 22 * Linear Technology LTC2977
23
14 Prefix: 'ltc2977' 24 Prefix: 'ltc2977'
25
15 Addresses scanned: - 26 Addresses scanned: -
27
16 Datasheet: http://www.linear.com/product/ltc2977 28 Datasheet: http://www.linear.com/product/ltc2977
29
17 * Linear Technology LTC2978, LTC2978A 30 * Linear Technology LTC2978, LTC2978A
31
18 Prefix: 'ltc2978' 32 Prefix: 'ltc2978'
33
19 Addresses scanned: - 34 Addresses scanned: -
35
20 Datasheet: http://www.linear.com/product/ltc2978 36 Datasheet: http://www.linear.com/product/ltc2978
21 http://www.linear.com/product/ltc2978a 37
38 http://www.linear.com/product/ltc2978a
39
22 * Linear Technology LTC2980 40 * Linear Technology LTC2980
41
23 Prefix: 'ltc2980' 42 Prefix: 'ltc2980'
43
24 Addresses scanned: - 44 Addresses scanned: -
45
25 Datasheet: http://www.linear.com/product/ltc2980 46 Datasheet: http://www.linear.com/product/ltc2980
47
26 * Linear Technology LTC3880 48 * Linear Technology LTC3880
49
27 Prefix: 'ltc3880' 50 Prefix: 'ltc3880'
51
28 Addresses scanned: - 52 Addresses scanned: -
53
29 Datasheet: http://www.linear.com/product/ltc3880 54 Datasheet: http://www.linear.com/product/ltc3880
55
30 * Linear Technology LTC3882 56 * Linear Technology LTC3882
57
31 Prefix: 'ltc3882' 58 Prefix: 'ltc3882'
59
32 Addresses scanned: - 60 Addresses scanned: -
61
33 Datasheet: http://www.linear.com/product/ltc3882 62 Datasheet: http://www.linear.com/product/ltc3882
63
34 * Linear Technology LTC3883 64 * Linear Technology LTC3883
65
35 Prefix: 'ltc3883' 66 Prefix: 'ltc3883'
67
36 Addresses scanned: - 68 Addresses scanned: -
69
37 Datasheet: http://www.linear.com/product/ltc3883 70 Datasheet: http://www.linear.com/product/ltc3883
71
38 * Linear Technology LTC3886 72 * Linear Technology LTC3886
73
39 Prefix: 'ltc3886' 74 Prefix: 'ltc3886'
75
40 Addresses scanned: - 76 Addresses scanned: -
77
41 Datasheet: http://www.linear.com/product/ltc3886 78 Datasheet: http://www.linear.com/product/ltc3886
79
42 * Linear Technology LTC3887 80 * Linear Technology LTC3887
81
43 Prefix: 'ltc3887' 82 Prefix: 'ltc3887'
83
44 Addresses scanned: - 84 Addresses scanned: -
85
45 Datasheet: http://www.linear.com/product/ltc3887 86 Datasheet: http://www.linear.com/product/ltc3887
87
46 * Linear Technology LTM2987 88 * Linear Technology LTM2987
89
47 Prefix: 'ltm2987' 90 Prefix: 'ltm2987'
91
48 Addresses scanned: - 92 Addresses scanned: -
93
49 Datasheet: http://www.linear.com/product/ltm2987 94 Datasheet: http://www.linear.com/product/ltm2987
95
50 * Linear Technology LTM4675 96 * Linear Technology LTM4675
97
51 Prefix: 'ltm4675' 98 Prefix: 'ltm4675'
99
52 Addresses scanned: - 100 Addresses scanned: -
101
53 Datasheet: http://www.linear.com/product/ltm4675 102 Datasheet: http://www.linear.com/product/ltm4675
103
54 * Linear Technology LTM4676 104 * Linear Technology LTM4676
105
55 Prefix: 'ltm4676' 106 Prefix: 'ltm4676'
107
56 Addresses scanned: - 108 Addresses scanned: -
109
57 Datasheet: http://www.linear.com/product/ltm4676 110 Datasheet: http://www.linear.com/product/ltm4676
111
58 * Analog Devices LTM4686 112 * Analog Devices LTM4686
113
59 Prefix: 'ltm4686' 114 Prefix: 'ltm4686'
115
60 Addresses scanned: - 116 Addresses scanned: -
117
61 Datasheet: http://www.analog.com/ltm4686 118 Datasheet: http://www.analog.com/ltm4686
62 119
120
63Author: Guenter Roeck <linux@roeck-us.net> 121Author: Guenter Roeck <linux@roeck-us.net>
64 122
65 123
66Description 124Description
67----------- 125-----------
68 126
69LTC2974 and LTC2975 are quad digital power supply managers. 127- LTC2974 and LTC2975 are quad digital power supply managers.
70LTC2978 is an octal power supply monitor. 128- LTC2978 is an octal power supply monitor.
71LTC2977 is a pin compatible replacement for LTC2978. 129- LTC2977 is a pin compatible replacement for LTC2978.
72LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977 130- LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977
73in a single die. The chip is instantiated and reported as two separate chips 131- in a single die. The chip is instantiated and reported as two separate chips
74on two different I2C bus addresses. 132- on two different I2C bus addresses.
75LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down 133- LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down
76DC/DC controllers. 134- DC/DC controllers.
77LTC3883 is a single phase step-down DC/DC controller. 135- LTC3883 is a single phase step-down DC/DC controller.
78LTM2987 is a 16-channel Power System Manager with two LTC2977 plus 136- LTM2987 is a 16-channel Power System Manager with two LTC2977 plus
79additional components on a single die. The chip is instantiated and reported 137- additional components on a single die. The chip is instantiated and reported
80as two separate chips on two different I2C bus addresses. 138- as two separate chips on two different I2C bus addresses.
81LTM4675 is a dual 9A or single 18A μModule regulator 139- LTM4675 is a dual 9A or single 18A μModule regulator
82LTM4676 is a dual 13A or single 26A uModule regulator. 140- LTM4676 is a dual 13A or single 26A uModule regulator.
83LTM4686 is a dual 10A or single 20A uModule regulator. 141- LTM4686 is a dual 10A or single 20A uModule regulator.
84 142
85 143
86Usage Notes 144Usage Notes
@@ -90,127 +148,208 @@ This driver does not probe for PMBus devices. You will have to instantiate
90devices explicitly. 148devices explicitly.
91 149
92Example: the following commands will load the driver for an LTC2978 at address 150Example: the following commands will load the driver for an LTC2978 at address
930x60 on I2C bus #1: 1510x60 on I2C bus #1::
94 152
95# modprobe ltc2978 153 # modprobe ltc2978
96# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device 154 # echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
97 155
98 156
99Sysfs attributes 157Sysfs attributes
100---------------- 158----------------
101 159
160======================= ========================================================
102in1_label "vin" 161in1_label "vin"
162
103in1_input Measured input voltage. 163in1_input Measured input voltage.
164
104in1_min Minimum input voltage. 165in1_min Minimum input voltage.
166
105in1_max Maximum input voltage. 167in1_max Maximum input voltage.
168
106 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and 169 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
107 LTM2987 only. 170 LTM2987 only.
171
108in1_lcrit Critical minimum input voltage. 172in1_lcrit Critical minimum input voltage.
173
109 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and 174 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
110 LTM2987 only. 175 LTM2987 only.
176
111in1_crit Critical maximum input voltage. 177in1_crit Critical maximum input voltage.
178
112in1_min_alarm Input voltage low alarm. 179in1_min_alarm Input voltage low alarm.
180
113in1_max_alarm Input voltage high alarm. 181in1_max_alarm Input voltage high alarm.
182
114 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and 183 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
115 LTM2987 only. 184 LTM2987 only.
116in1_lcrit_alarm Input voltage critical low alarm. 185in1_lcrit_alarm Input voltage critical low alarm.
186
117 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and 187 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
118 LTM2987 only. 188 LTM2987 only.
119in1_crit_alarm Input voltage critical high alarm. 189in1_crit_alarm Input voltage critical high alarm.
190
120in1_lowest Lowest input voltage. 191in1_lowest Lowest input voltage.
192
121 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and 193 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
122 LTM2987 only. 194 LTM2987 only.
123in1_highest Highest input voltage. 195in1_highest Highest input voltage.
196
124in1_reset_history Reset input voltage history. 197in1_reset_history Reset input voltage history.
125 198
126in[N]_label "vout[1-8]". 199in[N]_label "vout[1-8]".
127 LTC2974, LTC2975: N=2-5 200
128 LTC2977, LTC2980, LTM2987: N=2-9 201 - LTC2974, LTC2975: N=2-5
129 LTC2978: N=2-9 202 - LTC2977, LTC2980, LTM2987: N=2-9
130 LTC3880, LTC3882, LTC23886 LTC3887, LTM4675, LTM4676: 203 - LTC2978: N=2-9
131 N=2-3 204 - LTC3880, LTC3882, LTC23886 LTC3887, LTM4675, LTM4676:
132 LTC3883: N=2 205 N=2-3
206 - LTC3883: N=2
207
133in[N]_input Measured output voltage. 208in[N]_input Measured output voltage.
209
134in[N]_min Minimum output voltage. 210in[N]_min Minimum output voltage.
211
135in[N]_max Maximum output voltage. 212in[N]_max Maximum output voltage.
213
136in[N]_lcrit Critical minimum output voltage. 214in[N]_lcrit Critical minimum output voltage.
215
137in[N]_crit Critical maximum output voltage. 216in[N]_crit Critical maximum output voltage.
217
138in[N]_min_alarm Output voltage low alarm. 218in[N]_min_alarm Output voltage low alarm.
219
139in[N]_max_alarm Output voltage high alarm. 220in[N]_max_alarm Output voltage high alarm.
221
140in[N]_lcrit_alarm Output voltage critical low alarm. 222in[N]_lcrit_alarm Output voltage critical low alarm.
223
141in[N]_crit_alarm Output voltage critical high alarm. 224in[N]_crit_alarm Output voltage critical high alarm.
142in[N]_lowest Lowest output voltage. LTC2974, LTC2975, 225
143 and LTC2978 only. 226in[N]_lowest Lowest output voltage.
227
228
229 LTC2974, LTC2975,and LTC2978 only.
230
144in[N]_highest Highest output voltage. 231in[N]_highest Highest output voltage.
232
145in[N]_reset_history Reset output voltage history. 233in[N]_reset_history Reset output voltage history.
146 234
147temp[N]_input Measured temperature. 235temp[N]_input Measured temperature.
148 On LTC2974 and LTC2975, temp[1-4] report external 236
149 temperatures, and temp5 reports the chip temperature. 237 - On LTC2974 and LTC2975, temp[1-4] report external
150 On LTC2977, LTC2980, LTC2978, and LTM2987, only one 238 temperatures, and temp5 reports the chip temperature.
151 temperature measurement is supported and reports 239 - On LTC2977, LTC2980, LTC2978, and LTM2987, only one
152 the chip temperature. 240 temperature measurement is supported and reports
153 On LTC3880, LTC3882, LTC3887, LTM4675, and LTM4676, 241 the chip temperature.
154 temp1 and temp2 report external temperatures, and temp3 242 - On LTC3880, LTC3882, LTC3887, LTM4675, and LTM4676,
155 reports the chip temperature. 243 temp1 and temp2 report external temperatures, and
156 On LTC3883, temp1 reports an external temperature, 244 temp3 reports the chip temperature.
157 and temp2 reports the chip temperature. 245 - On LTC3883, temp1 reports an external temperature,
158temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978, 246 and temp2 reports the chip temperature.
159 and LTM2987 only. 247
248temp[N]_min Mimimum temperature.
249
250 LTC2974, LCT2977, LTM2980, LTC2978, and LTM2987 only.
251
160temp[N]_max Maximum temperature. 252temp[N]_max Maximum temperature.
253
161temp[N]_lcrit Critical low temperature. 254temp[N]_lcrit Critical low temperature.
255
162temp[N]_crit Critical high temperature. 256temp[N]_crit Critical high temperature.
257
163temp[N]_min_alarm Temperature low alarm. 258temp[N]_min_alarm Temperature low alarm.
259
164 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and 260 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
165 LTM2987 only. 261 LTM2987 only.
262
166temp[N]_max_alarm Temperature high alarm. 263temp[N]_max_alarm Temperature high alarm.
264
265
167temp[N]_lcrit_alarm Temperature critical low alarm. 266temp[N]_lcrit_alarm Temperature critical low alarm.
267
168temp[N]_crit_alarm Temperature critical high alarm. 268temp[N]_crit_alarm Temperature critical high alarm.
269
169temp[N]_lowest Lowest measured temperature. 270temp[N]_lowest Lowest measured temperature.
170 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and 271
171 LTM2987 only. 272 - LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
172 Not supported for chip temperature sensor on LTC2974 and 273 LTM2987 only.
173 LTC2975. 274 - Not supported for chip temperature sensor on LTC2974
174temp[N]_highest Highest measured temperature. Not supported for chip 275 and LTC2975.
175 temperature sensor on LTC2974 and LTC2975. 276
176temp[N]_reset_history Reset temperature history. Not supported for chip 277temp[N]_highest Highest measured temperature.
177 temperature sensor on LTC2974 and LTC2975. 278
279 Not supported for chip temperature sensor on
280 LTC2974 and LTC2975.
281
282temp[N]_reset_history Reset temperature history.
283
284 Not supported for chip temperature sensor on
285 LTC2974 and LTC2975.
178 286
179power1_label "pin". LTC3883 and LTC3886 only. 287power1_label "pin". LTC3883 and LTC3886 only.
288
180power1_input Measured input power. 289power1_input Measured input power.
181 290
182power[N]_label "pout[1-4]". 291power[N]_label "pout[1-4]".
183 LTC2974, LTC2975: N=1-4 292
184 LTC2977, LTC2980, LTM2987: Not supported 293 - LTC2974, LTC2975: N=1-4
185 LTC2978: Not supported 294 - LTC2977, LTC2980, LTM2987: Not supported
186 LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676: 295 - LTC2978: Not supported
187 N=1-2 296 - LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676:
188 LTC3883: N=2 297 N=1-2
298 - LTC3883: N=2
299
189power[N]_input Measured output power. 300power[N]_input Measured output power.
190 301
191curr1_label "iin". LTC3880, LTC3883, LTC3886, LTC3887, LTM4675, 302curr1_label "iin".
303
304 LTC3880, LTC3883, LTC3886, LTC3887, LTM4675,
192 and LTM4676 only. 305 and LTM4676 only.
306
193curr1_input Measured input current. 307curr1_input Measured input current.
308
194curr1_max Maximum input current. 309curr1_max Maximum input current.
310
195curr1_max_alarm Input current high alarm. 311curr1_max_alarm Input current high alarm.
196curr1_highest Highest input current. LTC3883 and LTC3886 only. 312
197curr1_reset_history Reset input current history. LTC3883 and LTC3886 only. 313curr1_highest Highest input current.
314
315 LTC3883 and LTC3886 only.
316
317curr1_reset_history Reset input current history.
318
319 LTC3883 and LTC3886 only.
198 320
199curr[N]_label "iout[1-4]". 321curr[N]_label "iout[1-4]".
200 LTC2974, LTC2975: N=1-4 322
201 LTC2977, LTC2980, LTM2987: not supported 323 - LTC2974, LTC2975: N=1-4
202 LTC2978: not supported 324 - LTC2977, LTC2980, LTM2987: not supported
203 LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676: 325 - LTC2978: not supported
204 N=2-3 326 - LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676:
205 LTC3883: N=2 327 N=2-3
328 - LTC3883: N=2
329
206curr[N]_input Measured output current. 330curr[N]_input Measured output current.
331
207curr[N]_max Maximum output current. 332curr[N]_max Maximum output current.
333
208curr[N]_crit Critical high output current. 334curr[N]_crit Critical high output current.
209curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only. 335
336curr[N]_lcrit Critical low output current.
337
338 LTC2974 and LTC2975 only.
339
210curr[N]_max_alarm Output current high alarm. 340curr[N]_max_alarm Output current high alarm.
341
211curr[N]_crit_alarm Output current critical high alarm. 342curr[N]_crit_alarm Output current critical high alarm.
343
212curr[N]_lcrit_alarm Output current critical low alarm. 344curr[N]_lcrit_alarm Output current critical low alarm.
345
346 LTC2974 and LTC2975 only.
347
348curr[N]_lowest Lowest output current.
349
213 LTC2974 and LTC2975 only. 350 LTC2974 and LTC2975 only.
214curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only. 351
215curr[N]_highest Highest output current. 352curr[N]_highest Highest output current.
353
216curr[N]_reset_history Reset output current history. 354curr[N]_reset_history Reset output current history.
355======================= ========================================================
diff --git a/Documentation/hwmon/ltc3815 b/Documentation/hwmon/ltc3815
index eb7db2d13587..fb0135fc1925 100644
--- a/Documentation/hwmon/ltc3815
+++ b/Documentation/hwmon/ltc3815
@@ -2,9 +2,13 @@ Kernel driver ltc3815
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * Linear Technology LTC3815 6 * Linear Technology LTC3815
7
6 Prefix: 'ltc3815' 8 Prefix: 'ltc3815'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://www.linear.com/product/ltc3815 12 Datasheet: http://www.linear.com/product/ltc3815
9 13
10Author: Guenter Roeck <linux@roeck-us.net> 14Author: Guenter Roeck <linux@roeck-us.net>
@@ -23,15 +27,16 @@ This driver does not probe for PMBus devices. You will have to instantiate
23devices explicitly. 27devices explicitly.
24 28
25Example: the following commands will load the driver for an LTC3815 29Example: the following commands will load the driver for an LTC3815
26at address 0x20 on I2C bus #1: 30at address 0x20 on I2C bus #1::
27 31
28# modprobe ltc3815 32 # modprobe ltc3815
29# echo ltc3815 0x20 > /sys/bus/i2c/devices/i2c-1/new_device 33 # echo ltc3815 0x20 > /sys/bus/i2c/devices/i2c-1/new_device
30 34
31 35
32Sysfs attributes 36Sysfs attributes
33---------------- 37----------------
34 38
39======================= =======================================================
35in1_label "vin" 40in1_label "vin"
36in1_input Measured input voltage. 41in1_input Measured input voltage.
37in1_alarm Input voltage alarm. 42in1_alarm Input voltage alarm.
@@ -59,3 +64,4 @@ curr2_input Measured output current.
59curr2_alarm Output current alarm. 64curr2_alarm Output current alarm.
60curr2_highest Highest output current. 65curr2_highest Highest output current.
61curr2_reset_history Reset output current history. 66curr2_reset_history Reset output current history.
67======================= =======================================================
diff --git a/Documentation/hwmon/max16064 b/Documentation/hwmon/max16064
index 265370f5cb82..61ec679dc477 100644
--- a/Documentation/hwmon/max16064
+++ b/Documentation/hwmon/max16064
@@ -2,9 +2,13 @@ Kernel driver max16064
2====================== 2======================
3 3
4Supported chips: 4Supported chips:
5
5 * Maxim MAX16064 6 * Maxim MAX16064
7
6 Prefix: 'max16064' 8 Prefix: 'max16064'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX16064.pdf 12 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX16064.pdf
9 13
10Author: Guenter Roeck <linux@roeck-us.net> 14Author: Guenter Roeck <linux@roeck-us.net>
@@ -40,16 +44,20 @@ Sysfs entries
40The following attributes are supported. Limits are read-write; all other 44The following attributes are supported. Limits are read-write; all other
41attributes are read-only. 45attributes are read-only.
42 46
47======================= ========================================================
43in[1-4]_label "vout[1-4]" 48in[1-4]_label "vout[1-4]"
44in[1-4]_input Measured voltage. From READ_VOUT register. 49in[1-4]_input Measured voltage. From READ_VOUT register.
45in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 50in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
46in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 51in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
47in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 52in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
48in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. 53in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
54 register.
49in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 55in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
50in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 56in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
51in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 57in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
52in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 58 status.
59in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
60 status.
53in[1-4]_highest Historical maximum voltage. 61in[1-4]_highest Historical maximum voltage.
54in[1-4]_reset_history Write any value to reset history. 62in[1-4]_reset_history Write any value to reset history.
55 63
@@ -64,3 +72,4 @@ temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
64 status is set. 72 status is set.
65temp1_highest Historical maximum temperature. 73temp1_highest Historical maximum temperature.
66temp1_reset_history Write any value to reset history. 74temp1_reset_history Write any value to reset history.
75======================= ========================================================
diff --git a/Documentation/hwmon/max20751 b/Documentation/hwmon/max20751
index f9fa25ebb521..d546695900ef 100644
--- a/Documentation/hwmon/max20751
+++ b/Documentation/hwmon/max20751
@@ -2,10 +2,15 @@ Kernel driver max20751
2====================== 2======================
3 3
4Supported chips: 4Supported chips:
5
5 * maxim MAX20751 6 * maxim MAX20751
7
6 Prefix: 'max20751' 8 Prefix: 'max20751'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX20751.pdf 12 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX20751.pdf
13
9 Application note: http://pdfserv.maximintegrated.com/en/an/AN5941.pdf 14 Application note: http://pdfserv.maximintegrated.com/en/an/AN5941.pdf
10 15
11Author: Guenter Roeck <linux@roeck-us.net> 16Author: Guenter Roeck <linux@roeck-us.net>
@@ -40,6 +45,7 @@ Sysfs entries
40 45
41The following attributes are supported. 46The following attributes are supported.
42 47
48======================= =======================================================
43in1_label "vin1" 49in1_label "vin1"
44in1_input Measured voltage. 50in1_input Measured voltage.
45in1_min Minimum input voltage. 51in1_min Minimum input voltage.
@@ -75,3 +81,4 @@ temp1_crit_alarm Chip temperature critical high alarm.
75 81
76power1_input Output power. 82power1_input Output power.
77power1_label "pout1" 83power1_label "pout1"
84======================= =======================================================
diff --git a/Documentation/hwmon/max31785 b/Documentation/hwmon/max31785
index 270c5f865261..c8c6756d0ee1 100644
--- a/Documentation/hwmon/max31785
+++ b/Documentation/hwmon/max31785
@@ -2,9 +2,13 @@ Kernel driver max31785
2====================== 2======================
3 3
4Supported chips: 4Supported chips:
5
5 * Maxim MAX31785, MAX31785A 6 * Maxim MAX31785, MAX31785A
7
6 Prefix: 'max31785' or 'max31785a' 8 Prefix: 'max31785' or 'max31785a'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf 12 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf
9 13
10Author: Andrew Jeffery <andrew@aj.id.au> 14Author: Andrew Jeffery <andrew@aj.id.au>
@@ -30,6 +34,7 @@ devices explicitly.
30Sysfs attributes 34Sysfs attributes
31---------------- 35----------------
32 36
37======================= =======================================================
33fan[1-4]_alarm Fan alarm. 38fan[1-4]_alarm Fan alarm.
34fan[1-4]_fault Fan fault. 39fan[1-4]_fault Fan fault.
35fan[1-8]_input Fan RPM. On the MAX31785A, inputs 5-8 correspond to the 40fan[1-8]_input Fan RPM. On the MAX31785A, inputs 5-8 correspond to the
@@ -58,3 +63,4 @@ temp[1-11]_crit_alarm Chip temperature critical high alarm
58temp[1-11]_input Measured temperature 63temp[1-11]_input Measured temperature
59temp[1-11]_max Maximum temperature 64temp[1-11]_max Maximum temperature
60temp[1-11]_max_alarm Chip temperature high alarm 65temp[1-11]_max_alarm Chip temperature high alarm
66======================= =======================================================
diff --git a/Documentation/hwmon/max34440 b/Documentation/hwmon/max34440
index b2de8fa49273..639838ef29fd 100644
--- a/Documentation/hwmon/max34440
+++ b/Documentation/hwmon/max34440
@@ -2,34 +2,63 @@ Kernel driver max34440
2====================== 2======================
3 3
4Supported chips: 4Supported chips:
5
5 * Maxim MAX34440 6 * Maxim MAX34440
7
6 Prefixes: 'max34440' 8 Prefixes: 'max34440'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34440.pdf 12 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34440.pdf
13
9 * Maxim MAX34441 14 * Maxim MAX34441
15
10 PMBus 5-Channel Power-Supply Manager and Intelligent Fan Controller 16 PMBus 5-Channel Power-Supply Manager and Intelligent Fan Controller
17
11 Prefixes: 'max34441' 18 Prefixes: 'max34441'
19
12 Addresses scanned: - 20 Addresses scanned: -
21
13 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34441.pdf 22 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34441.pdf
23
14 * Maxim MAX34446 24 * Maxim MAX34446
25
15 PMBus Power-Supply Data Logger 26 PMBus Power-Supply Data Logger
27
16 Prefixes: 'max34446' 28 Prefixes: 'max34446'
29
17 Addresses scanned: - 30 Addresses scanned: -
31
18 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34446.pdf 32 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34446.pdf
33
19 * Maxim MAX34451 34 * Maxim MAX34451
35
20 PMBus 16-Channel V/I Monitor and 12-Channel Sequencer/Marginer 36 PMBus 16-Channel V/I Monitor and 12-Channel Sequencer/Marginer
37
21 Prefixes: 'max34451' 38 Prefixes: 'max34451'
39
22 Addresses scanned: - 40 Addresses scanned: -
41
23 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34451.pdf 42 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34451.pdf
43
24 * Maxim MAX34460 44 * Maxim MAX34460
45
25 PMBus 12-Channel Voltage Monitor & Sequencer 46 PMBus 12-Channel Voltage Monitor & Sequencer
47
26 Prefix: 'max34460' 48 Prefix: 'max34460'
49
27 Addresses scanned: - 50 Addresses scanned: -
51
28 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34460.pdf 52 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34460.pdf
53
29 * Maxim MAX34461 54 * Maxim MAX34461
55
30 PMBus 16-Channel Voltage Monitor & Sequencer 56 PMBus 16-Channel Voltage Monitor & Sequencer
57
31 Prefix: 'max34461' 58 Prefix: 'max34461'
59
32 Addresses scanned: - 60 Addresses scanned: -
61
33 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34461.pdf 62 Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX34461.pdf
34 63
35Author: Guenter Roeck <linux@roeck-us.net> 64Author: Guenter Roeck <linux@roeck-us.net>
@@ -77,42 +106,67 @@ Sysfs entries
77The following attributes are supported. Limits are read-write; all other 106The following attributes are supported. Limits are read-write; all other
78attributes are read-only. 107attributes are read-only.
79 108
109In
110~~
111
112======================= =======================================================
80in[1-6]_label "vout[1-6]". 113in[1-6]_label "vout[1-6]".
81in[1-6]_input Measured voltage. From READ_VOUT register. 114in[1-6]_input Measured voltage. From READ_VOUT register.
82in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 115in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
83in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 116in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
84in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 117in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
85in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. 118in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
119 register.
86in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 120in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
87in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 121in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
88in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 122in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
89in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 123 status.
124in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
125 status.
90in[1-6]_lowest Historical minimum voltage. 126in[1-6]_lowest Historical minimum voltage.
91in[1-6]_highest Historical maximum voltage. 127in[1-6]_highest Historical maximum voltage.
92in[1-6]_reset_history Write any value to reset history. 128in[1-6]_reset_history Write any value to reset history.
129======================= =======================================================
130
131.. note:: MAX34446 only supports in[1-4].
93 132
94 MAX34446 only supports in[1-4]. 133Curr
134~~~~
95 135
136======================= ========================================================
96curr[1-6]_label "iout[1-6]". 137curr[1-6]_label "iout[1-6]".
97curr[1-6]_input Measured current. From READ_IOUT register. 138curr[1-6]_input Measured current. From READ_IOUT register.
98curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register. 139curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
99curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. 140curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
141 register.
100curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. 142curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
101curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 143curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
102curr[1-4]_average Historical average current (MAX34446/34451 only). 144curr[1-4]_average Historical average current (MAX34446/34451 only).
103curr[1-6]_highest Historical maximum current. 145curr[1-6]_highest Historical maximum current.
104curr[1-6]_reset_history Write any value to reset history. 146curr[1-6]_reset_history Write any value to reset history.
147======================= ========================================================
148
149.. note::
150
151 - in6 and curr6 attributes only exist for MAX34440.
152 - MAX34446 only supports curr[1-4].
105 153
106 in6 and curr6 attributes only exist for MAX34440. 154Power
107 MAX34446 only supports curr[1-4]. 155~~~~~
108 156
157======================= ========================================================
109power[1,3]_label "pout[1,3]" 158power[1,3]_label "pout[1,3]"
110power[1,3]_input Measured power. 159power[1,3]_input Measured power.
111power[1,3]_average Historical average power. 160power[1,3]_average Historical average power.
112power[1,3]_highest Historical maximum power. 161power[1,3]_highest Historical maximum power.
162======================= ========================================================
113 163
114 Power attributes only exist for MAX34446. 164.. note:: Power attributes only exist for MAX34446.
115 165
166Temp
167~~~~
168
169======================= ========================================================
116temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register. 170temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register.
117 temp1 is the chip's internal temperature. temp2..temp5 171 temp1 is the chip's internal temperature. temp2..temp5
118 are remote I2C temperature sensors. For MAX34441, temp6 172 are remote I2C temperature sensors. For MAX34441, temp6
@@ -125,11 +179,17 @@ temp[1-8]_crit_alarm Temperature critical high alarm.
125temp[1-8]_average Historical average temperature (MAX34446 only). 179temp[1-8]_average Historical average temperature (MAX34446 only).
126temp[1-8]_highest Historical maximum temperature. 180temp[1-8]_highest Historical maximum temperature.
127temp[1-8]_reset_history Write any value to reset history. 181temp[1-8]_reset_history Write any value to reset history.
182======================= ========================================================
183
184
185.. note::
186 - temp7 and temp8 attributes only exist for MAX34440.
187 - MAX34446 only supports temp[1-3].
188
128 189
129 temp7 and temp8 attributes only exist for MAX34440. 190.. note::
130 MAX34446 only supports temp[1-3].
131 191
132MAX34451 supports attribute groups in[1-16] (or curr[1-16] based on input pins) 192 - MAX34451 supports attribute groups in[1-16] (or curr[1-16] based on
133and temp[1-5]. 193 input pins) and temp[1-5].
134MAX34460 supports attribute groups in[1-12] and temp[1-5]. 194 - MAX34460 supports attribute groups in[1-12] and temp[1-5].
135MAX34461 supports attribute groups in[1-16] and temp[1-5]. 195 - MAX34461 supports attribute groups in[1-16] and temp[1-5].
diff --git a/Documentation/hwmon/max8688 b/Documentation/hwmon/max8688
index ca233bec7a8a..43da139234c1 100644
--- a/Documentation/hwmon/max8688
+++ b/Documentation/hwmon/max8688
@@ -2,9 +2,13 @@ Kernel driver max8688
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * Maxim MAX8688 6 * Maxim MAX8688
7
6 Prefix: 'max8688' 8 Prefix: 'max8688'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX8688.pdf 12 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX8688.pdf
9 13
10Author: Guenter Roeck <linux@roeck-us.net> 14Author: Guenter Roeck <linux@roeck-us.net>
@@ -40,23 +44,28 @@ Sysfs entries
40The following attributes are supported. Limits are read-write; all other 44The following attributes are supported. Limits are read-write; all other
41attributes are read-only. 45attributes are read-only.
42 46
47======================= ========================================================
43in1_label "vout1" 48in1_label "vout1"
44in1_input Measured voltage. From READ_VOUT register. 49in1_input Measured voltage. From READ_VOUT register.
45in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 50in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
46in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 51in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
47in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 52in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
48in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. 53in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
54 register.
49in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 55in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
50in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 56in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
51in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 57in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
52in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 58 status.
59in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
60 status.
53in1_highest Historical maximum voltage. 61in1_highest Historical maximum voltage.
54in1_reset_history Write any value to reset history. 62in1_reset_history Write any value to reset history.
55 63
56curr1_label "iout1" 64curr1_label "iout1"
57curr1_input Measured current. From READ_IOUT register. 65curr1_input Measured current. From READ_IOUT register.
58curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. 66curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
59curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. 67curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
68 register.
60curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. 69curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register.
61curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 70curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
62curr1_highest Historical maximum current. 71curr1_highest Historical maximum current.
@@ -73,3 +82,4 @@ temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
73 status is set. 82 status is set.
74temp1_highest Historical maximum temperature. 83temp1_highest Historical maximum temperature.
75temp1_reset_history Write any value to reset history. 84temp1_reset_history Write any value to reset history.
85======================= ========================================================
diff --git a/Documentation/hwmon/pmbus b/Documentation/hwmon/pmbus
index dfd9c65996c0..abfb9dd4857d 100644
--- a/Documentation/hwmon/pmbus
+++ b/Documentation/hwmon/pmbus
@@ -1,42 +1,77 @@
1Kernel driver pmbus 1Kernel driver pmbus
2==================== 2===================
3 3
4Supported chips: 4Supported chips:
5
5 * Ericsson BMR453, BMR454 6 * Ericsson BMR453, BMR454
7
6 Prefixes: 'bmr453', 'bmr454' 8 Prefixes: 'bmr453', 'bmr454'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: 12 Datasheet:
13
9 http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146395 14 http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146395
15
10 * ON Semiconductor ADP4000, NCP4200, NCP4208 16 * ON Semiconductor ADP4000, NCP4200, NCP4208
17
11 Prefixes: 'adp4000', 'ncp4200', 'ncp4208' 18 Prefixes: 'adp4000', 'ncp4200', 'ncp4208'
19
12 Addresses scanned: - 20 Addresses scanned: -
21
13 Datasheets: 22 Datasheets:
23
14 http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF 24 http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF
25
15 http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF 26 http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
27
16 http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF 28 http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
29
17 * Lineage Power 30 * Lineage Power
31
18 Prefixes: 'mdt040', 'pdt003', 'pdt006', 'pdt012', 'udt020' 32 Prefixes: 'mdt040', 'pdt003', 'pdt006', 'pdt012', 'udt020'
33
19 Addresses scanned: - 34 Addresses scanned: -
35
20 Datasheets: 36 Datasheets:
37
21 http://www.lineagepower.com/oem/pdf/PDT003A0X.pdf 38 http://www.lineagepower.com/oem/pdf/PDT003A0X.pdf
39
22 http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf 40 http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf
41
23 http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf 42 http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf
43
24 http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf 44 http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf
45
25 http://www.lineagepower.com/oem/pdf/MDT040A0X.pdf 46 http://www.lineagepower.com/oem/pdf/MDT040A0X.pdf
47
26 * Texas Instruments TPS40400, TPS544B20, TPS544B25, TPS544C20, TPS544C25 48 * Texas Instruments TPS40400, TPS544B20, TPS544B25, TPS544C20, TPS544C25
49
27 Prefixes: 'tps40400', 'tps544b20', 'tps544b25', 'tps544c20', 'tps544c25' 50 Prefixes: 'tps40400', 'tps544b20', 'tps544b25', 'tps544c20', 'tps544c25'
51
28 Addresses scanned: - 52 Addresses scanned: -
53
29 Datasheets: 54 Datasheets:
55
30 http://www.ti.com/lit/gpn/tps40400 56 http://www.ti.com/lit/gpn/tps40400
57
31 http://www.ti.com/lit/gpn/tps544b20 58 http://www.ti.com/lit/gpn/tps544b20
59
32 http://www.ti.com/lit/gpn/tps544b25 60 http://www.ti.com/lit/gpn/tps544b25
61
33 http://www.ti.com/lit/gpn/tps544c20 62 http://www.ti.com/lit/gpn/tps544c20
63
34 http://www.ti.com/lit/gpn/tps544c25 64 http://www.ti.com/lit/gpn/tps544c25
65
35 * Generic PMBus devices 66 * Generic PMBus devices
67
36 Prefix: 'pmbus' 68 Prefix: 'pmbus'
69
37 Addresses scanned: - 70 Addresses scanned: -
71
38 Datasheet: n.a. 72 Datasheet: n.a.
39 73
74
40Author: Guenter Roeck <linux@roeck-us.net> 75Author: Guenter Roeck <linux@roeck-us.net>
41 76
42 77
@@ -62,9 +97,10 @@ supported by all chips), and since there is no well defined address range for
62PMBus devices. You will have to instantiate the devices explicitly. 97PMBus devices. You will have to instantiate the devices explicitly.
63 98
64Example: the following will load the driver for an LTC2978 at address 0x60 99Example: the following will load the driver for an LTC2978 at address 0x60
65on I2C bus #1: 100on I2C bus #1::
66$ modprobe pmbus 101
67$ echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device 102 $ modprobe pmbus
103 $ echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
68 104
69 105
70Platform data support 106Platform data support
@@ -72,9 +108,9 @@ Platform data support
72 108
73Support for additional PMBus chips can be added by defining chip parameters in 109Support for additional PMBus chips can be added by defining chip parameters in
74a new chip specific driver file. For example, (untested) code to add support for 110a new chip specific driver file. For example, (untested) code to add support for
75Emerson DS1200 power modules might look as follows. 111Emerson DS1200 power modules might look as follows::
76 112
77static struct pmbus_driver_info ds1200_info = { 113 static struct pmbus_driver_info ds1200_info = {
78 .pages = 1, 114 .pages = 1,
79 /* Note: All other sensors are in linear mode */ 115 /* Note: All other sensors are in linear mode */
80 .direct[PSC_VOLTAGE_OUT] = true, 116 .direct[PSC_VOLTAGE_OUT] = true,
@@ -95,45 +131,45 @@ static struct pmbus_driver_info ds1200_info = {
95 | PMBUS_HAVE_PIN | PMBUS_HAVE_POUT 131 | PMBUS_HAVE_PIN | PMBUS_HAVE_POUT
96 | PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP 132 | PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP
97 | PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12, 133 | PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12,
98}; 134 };
99 135
100static int ds1200_probe(struct i2c_client *client, 136 static int ds1200_probe(struct i2c_client *client,
101 const struct i2c_device_id *id) 137 const struct i2c_device_id *id)
102{ 138 {
103 return pmbus_do_probe(client, id, &ds1200_info); 139 return pmbus_do_probe(client, id, &ds1200_info);
104} 140 }
105 141
106static int ds1200_remove(struct i2c_client *client) 142 static int ds1200_remove(struct i2c_client *client)
107{ 143 {
108 return pmbus_do_remove(client); 144 return pmbus_do_remove(client);
109} 145 }
110 146
111static const struct i2c_device_id ds1200_id[] = { 147 static const struct i2c_device_id ds1200_id[] = {
112 {"ds1200", 0}, 148 {"ds1200", 0},
113 {} 149 {}
114}; 150 };
115 151
116MODULE_DEVICE_TABLE(i2c, ds1200_id); 152 MODULE_DEVICE_TABLE(i2c, ds1200_id);
117 153
118/* This is the driver that will be inserted */ 154 /* This is the driver that will be inserted */
119static struct i2c_driver ds1200_driver = { 155 static struct i2c_driver ds1200_driver = {
120 .driver = { 156 .driver = {
121 .name = "ds1200", 157 .name = "ds1200",
122 }, 158 },
123 .probe = ds1200_probe, 159 .probe = ds1200_probe,
124 .remove = ds1200_remove, 160 .remove = ds1200_remove,
125 .id_table = ds1200_id, 161 .id_table = ds1200_id,
126}; 162 };
127 163
128static int __init ds1200_init(void) 164 static int __init ds1200_init(void)
129{ 165 {
130 return i2c_add_driver(&ds1200_driver); 166 return i2c_add_driver(&ds1200_driver);
131} 167 }
132 168
133static void __exit ds1200_exit(void) 169 static void __exit ds1200_exit(void)
134{ 170 {
135 i2c_del_driver(&ds1200_driver); 171 i2c_del_driver(&ds1200_driver);
136} 172 }
137 173
138 174
139Sysfs entries 175Sysfs entries
@@ -148,6 +184,7 @@ a given sysfs entry.
148The following attributes are supported. Limits are read-write; all other 184The following attributes are supported. Limits are read-write; all other
149attributes are read-only. 185attributes are read-only.
150 186
187======================= ========================================================
151inX_input Measured voltage. From READ_VIN or READ_VOUT register. 188inX_input Measured voltage. From READ_VIN or READ_VOUT register.
152inX_min Minimum Voltage. 189inX_min Minimum Voltage.
153 From VIN_UV_WARN_LIMIT or VOUT_UV_WARN_LIMIT register. 190 From VIN_UV_WARN_LIMIT or VOUT_UV_WARN_LIMIT register.
@@ -214,3 +251,4 @@ tempX_lcrit_alarm Chip temperature critical low alarm. Set by comparing
214tempX_crit_alarm Chip temperature critical high alarm. Set by comparing 251tempX_crit_alarm Chip temperature critical high alarm. Set by comparing
215 READ_TEMPERATURE_X with OT_FAULT_LIMIT if 252 READ_TEMPERATURE_X with OT_FAULT_LIMIT if
216 TEMP_OT_FAULT status is set. 253 TEMP_OT_FAULT status is set.
254======================= ========================================================
diff --git a/Documentation/hwmon/pmbus-core b/Documentation/hwmon/pmbus-core
index 8ed10e9ddfb5..92515c446fe3 100644
--- a/Documentation/hwmon/pmbus-core
+++ b/Documentation/hwmon/pmbus-core
@@ -1,3 +1,4 @@
1==================================
1PMBus core driver and internal API 2PMBus core driver and internal API
2================================== 3==================================
3 4
@@ -120,24 +121,24 @@ Specifically, it provides the following information.
120 non-standard PMBus commands to standard commands, or to augment standard 121 non-standard PMBus commands to standard commands, or to augment standard
121 command return values with device specific information. 122 command return values with device specific information.
122 123
123 API functions 124API functions
124 ------------- 125=============
125 126
126 Functions provided by chip driver 127Functions provided by chip driver
127 --------------------------------- 128---------------------------------
128 129
129 All functions return the command return value (read) or zero (write) if 130All functions return the command return value (read) or zero (write) if
130 successful. A return value of -ENODATA indicates that there is no manufacturer 131successful. A return value of -ENODATA indicates that there is no manufacturer
131 specific command, but that a standard PMBus command may exist. Any other 132specific command, but that a standard PMBus command may exist. Any other
132 negative return value indicates that the commands does not exist for this 133negative return value indicates that the commands does not exist for this
133 chip, and that no attempt should be made to read or write the standard 134chip, and that no attempt should be made to read or write the standard
134 command. 135command.
135 136
136 As mentioned above, an exception to this rule applies to virtual commands, 137As mentioned above, an exception to this rule applies to virtual commands,
137 which _must_ be handled in driver specific code. See "Virtual PMBus Commands" 138which *must* be handled in driver specific code. See "Virtual PMBus Commands"
138 above for more details. 139above for more details.
139 140
140 Command execution in the core PMBus driver code is as follows. 141Command execution in the core PMBus driver code is as follows::
141 142
142 if (chip_access_function) { 143 if (chip_access_function) {
143 status = chip_access_function(); 144 status = chip_access_function();
@@ -148,128 +149,160 @@ Specifically, it provides the following information.
148 return -EINVAL; 149 return -EINVAL;
149 return generic_access(); 150 return generic_access();
150 151
151 Chip drivers may provide pointers to the following functions in struct 152Chip drivers may provide pointers to the following functions in struct
152 pmbus_driver_info. All functions are optional. 153pmbus_driver_info. All functions are optional.
154
155::
153 156
154 int (*read_byte_data)(struct i2c_client *client, int page, int reg); 157 int (*read_byte_data)(struct i2c_client *client, int page, int reg);
155 158
156 Read byte from page <page>, register <reg>. 159Read byte from page <page>, register <reg>.
157 <page> may be -1, which means "current page". 160<page> may be -1, which means "current page".
161
162
163::
158 164
159 int (*read_word_data)(struct i2c_client *client, int page, int reg); 165 int (*read_word_data)(struct i2c_client *client, int page, int reg);
160 166
161 Read word from page <page>, register <reg>. 167Read word from page <page>, register <reg>.
168
169::
162 170
163 int (*write_word_data)(struct i2c_client *client, int page, int reg, 171 int (*write_word_data)(struct i2c_client *client, int page, int reg,
164 u16 word); 172 u16 word);
165 173
166 Write word to page <page>, register <reg>. 174Write word to page <page>, register <reg>.
175
176::
167 177
168 int (*write_byte)(struct i2c_client *client, int page, u8 value); 178 int (*write_byte)(struct i2c_client *client, int page, u8 value);
169 179
170 Write byte to page <page>, register <reg>. 180Write byte to page <page>, register <reg>.
171 <page> may be -1, which means "current page". 181<page> may be -1, which means "current page".
182
183::
172 184
173 int (*identify)(struct i2c_client *client, struct pmbus_driver_info *info); 185 int (*identify)(struct i2c_client *client, struct pmbus_driver_info *info);
174 186
175 Determine supported PMBus functionality. This function is only necessary 187Determine supported PMBus functionality. This function is only necessary
176 if a chip driver supports multiple chips, and the chip functionality is not 188if a chip driver supports multiple chips, and the chip functionality is not
177 pre-determined. It is currently only used by the generic pmbus driver 189pre-determined. It is currently only used by the generic pmbus driver
178 (pmbus.c). 190(pmbus.c).
191
192Functions exported by core driver
193---------------------------------
179 194
180 Functions exported by core driver 195Chip drivers are expected to use the following functions to read or write
181 --------------------------------- 196PMBus registers. Chip drivers may also use direct I2C commands. If direct I2C
197commands are used, the chip driver code must not directly modify the current
198page, since the selected page is cached in the core driver and the core driver
199will assume that it is selected. Using pmbus_set_page() to select a new page
200is mandatory.
182 201
183 Chip drivers are expected to use the following functions to read or write 202::
184 PMBus registers. Chip drivers may also use direct I2C commands. If direct I2C
185 commands are used, the chip driver code must not directly modify the current
186 page, since the selected page is cached in the core driver and the core driver
187 will assume that it is selected. Using pmbus_set_page() to select a new page
188 is mandatory.
189 203
190 int pmbus_set_page(struct i2c_client *client, u8 page); 204 int pmbus_set_page(struct i2c_client *client, u8 page);
191 205
192 Set PMBus page register to <page> for subsequent commands. 206Set PMBus page register to <page> for subsequent commands.
207
208::
193 209
194 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg); 210 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg);
195 211
196 Read word data from <page>, <reg>. Similar to i2c_smbus_read_word_data(), but 212Read word data from <page>, <reg>. Similar to i2c_smbus_read_word_data(), but
197 selects page first. 213selects page first.
214
215::
198 216
199 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, 217 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg,
200 u16 word); 218 u16 word);
201 219
202 Write word data to <page>, <reg>. Similar to i2c_smbus_write_word_data(), but 220Write word data to <page>, <reg>. Similar to i2c_smbus_write_word_data(), but
203 selects page first. 221selects page first.
222
223::
204 224
205 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg); 225 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg);
206 226
207 Read byte data from <page>, <reg>. Similar to i2c_smbus_read_byte_data(), but 227Read byte data from <page>, <reg>. Similar to i2c_smbus_read_byte_data(), but
208 selects page first. <page> may be -1, which means "current page". 228selects page first. <page> may be -1, which means "current page".
229
230::
209 231
210 int pmbus_write_byte(struct i2c_client *client, int page, u8 value); 232 int pmbus_write_byte(struct i2c_client *client, int page, u8 value);
211 233
212 Write byte data to <page>, <reg>. Similar to i2c_smbus_write_byte(), but 234Write byte data to <page>, <reg>. Similar to i2c_smbus_write_byte(), but
213 selects page first. <page> may be -1, which means "current page". 235selects page first. <page> may be -1, which means "current page".
236
237::
214 238
215 void pmbus_clear_faults(struct i2c_client *client); 239 void pmbus_clear_faults(struct i2c_client *client);
216 240
217 Execute PMBus "Clear Fault" command on all chip pages. 241Execute PMBus "Clear Fault" command on all chip pages.
218 This function calls the device specific write_byte function if defined. 242This function calls the device specific write_byte function if defined.
219 Therefore, it must _not_ be called from that function. 243Therefore, it must _not_ be called from that function.
244
245::
220 246
221 bool pmbus_check_byte_register(struct i2c_client *client, int page, int reg); 247 bool pmbus_check_byte_register(struct i2c_client *client, int page, int reg);
222 248
223 Check if byte register exists. Return true if the register exists, false 249Check if byte register exists. Return true if the register exists, false
224 otherwise. 250otherwise.
225 This function calls the device specific write_byte function if defined to 251This function calls the device specific write_byte function if defined to
226 obtain the chip status. Therefore, it must _not_ be called from that function. 252obtain the chip status. Therefore, it must _not_ be called from that function.
253
254::
227 255
228 bool pmbus_check_word_register(struct i2c_client *client, int page, int reg); 256 bool pmbus_check_word_register(struct i2c_client *client, int page, int reg);
229 257
230 Check if word register exists. Return true if the register exists, false 258Check if word register exists. Return true if the register exists, false
231 otherwise. 259otherwise.
232 This function calls the device specific write_byte function if defined to 260This function calls the device specific write_byte function if defined to
233 obtain the chip status. Therefore, it must _not_ be called from that function. 261obtain the chip status. Therefore, it must _not_ be called from that function.
262
263::
234 264
235 int pmbus_do_probe(struct i2c_client *client, const struct i2c_device_id *id, 265 int pmbus_do_probe(struct i2c_client *client, const struct i2c_device_id *id,
236 struct pmbus_driver_info *info); 266 struct pmbus_driver_info *info);
267
268Execute probe function. Similar to standard probe function for other drivers,
269with the pointer to struct pmbus_driver_info as additional argument. Calls
270identify function if supported. Must only be called from device probe
271function.
237 272
238 Execute probe function. Similar to standard probe function for other drivers, 273::
239 with the pointer to struct pmbus_driver_info as additional argument. Calls
240 identify function if supported. Must only be called from device probe
241 function.
242 274
243 void pmbus_do_remove(struct i2c_client *client); 275 void pmbus_do_remove(struct i2c_client *client);
244 276
245 Execute driver remove function. Similar to standard driver remove function. 277Execute driver remove function. Similar to standard driver remove function.
278
279::
246 280
247 const struct pmbus_driver_info 281 const struct pmbus_driver_info
248 *pmbus_get_driver_info(struct i2c_client *client); 282 *pmbus_get_driver_info(struct i2c_client *client);
249 283
250 Return pointer to struct pmbus_driver_info as passed to pmbus_do_probe(). 284Return pointer to struct pmbus_driver_info as passed to pmbus_do_probe().
251 285
252 286
253PMBus driver platform data 287PMBus driver platform data
254========================== 288==========================
255 289
256PMBus platform data is defined in include/linux/pmbus.h. Platform data 290PMBus platform data is defined in include/linux/pmbus.h. Platform data
257currently only provides a flag field with a single bit used. 291currently only provides a flag field with a single bit used::
258 292
259#define PMBUS_SKIP_STATUS_CHECK (1 << 0) 293 #define PMBUS_SKIP_STATUS_CHECK (1 << 0)
260 294
261struct pmbus_platform_data { 295 struct pmbus_platform_data {
262 u32 flags; /* Device specific flags */ 296 u32 flags; /* Device specific flags */
263}; 297 };
264 298
265 299
266Flags 300Flags
267----- 301-----
268 302
269PMBUS_SKIP_STATUS_CHECK 303PMBUS_SKIP_STATUS_CHECK
270 304 During register detection, skip checking the status register for
271During register detection, skip checking the status register for 305 communication or command errors.
272communication or command errors.
273 306
274Some PMBus chips respond with valid data when trying to read an unsupported 307Some PMBus chips respond with valid data when trying to read an unsupported
275register. For such chips, checking the status register is mandatory when 308register. For such chips, checking the status register is mandatory when
diff --git a/Documentation/hwmon/tps40422 b/Documentation/hwmon/tps40422
index 24bb0688d515..359751eb5ed4 100644
--- a/Documentation/hwmon/tps40422
+++ b/Documentation/hwmon/tps40422
@@ -2,9 +2,13 @@ Kernel driver tps40422
2====================== 2======================
3 3
4Supported chips: 4Supported chips:
5
5 * TI TPS40422 6 * TI TPS40422
7
6 Prefix: 'tps40422' 8 Prefix: 'tps40422'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://www.ti.com/lit/gpn/tps40422 12 Datasheet: http://www.ti.com/lit/gpn/tps40422
9 13
10Author: Zhu Laiwen <richard.zhu@nsn.com> 14Author: Zhu Laiwen <richard.zhu@nsn.com>
@@ -39,6 +43,7 @@ Sysfs entries
39 43
40The following attributes are supported. 44The following attributes are supported.
41 45
46======================= =======================================================
42in[1-2]_label "vout[1-2]" 47in[1-2]_label "vout[1-2]"
43in[1-2]_input Measured voltage. From READ_VOUT register. 48in[1-2]_input Measured voltage. From READ_VOUT register.
44in[1-2]_alarm voltage alarm. 49in[1-2]_alarm voltage alarm.
@@ -46,19 +51,23 @@ in[1-2]_alarm voltage alarm.
46curr[1-2]_input Measured current. From READ_IOUT register. 51curr[1-2]_input Measured current. From READ_IOUT register.
47curr[1-2]_label "iout[1-2]" 52curr[1-2]_label "iout[1-2]"
48curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. 53curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
49curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. 54curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
55 register.
50curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status. 56curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status.
51curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 57curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
52curr2_alarm Current high alarm. From IOUT_OC_WARNING status. 58curr2_alarm Current high alarm. From IOUT_OC_WARNING status.
53 59
54temp1_input Measured temperature. From READ_TEMPERATURE_2 register on page 0. 60temp1_input Measured temperature. From READ_TEMPERATURE_2 register
61 on page 0.
55temp1_max Maximum temperature. From OT_WARN_LIMIT register. 62temp1_max Maximum temperature. From OT_WARN_LIMIT register.
56temp1_crit Critical high temperature. From OT_FAULT_LIMIT register. 63temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.
57temp1_max_alarm Chip temperature high alarm. Set by comparing 64temp1_max_alarm Chip temperature high alarm. Set by comparing
58 READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if TEMP_OT_WARNING 65 READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if
59 status is set. 66 TEMP_OT_WARNING status is set.
60temp1_crit_alarm Chip temperature critical high alarm. Set by comparing 67temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
61 READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if TEMP_OT_FAULT 68 READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if
62 status is set. 69 TEMP_OT_FAULT status is set.
63temp2_input Measured temperature. From READ_TEMPERATURE_2 register on page 1. 70temp2_input Measured temperature. From READ_TEMPERATURE_2 register
71 on page 1.
64temp2_alarm Chip temperature alarm on page 1. 72temp2_alarm Chip temperature alarm on page 1.
73======================= =======================================================
diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000
index 262e713e60ff..d69061b7312c 100644
--- a/Documentation/hwmon/ucd9000
+++ b/Documentation/hwmon/ucd9000
@@ -2,15 +2,20 @@ Kernel driver ucd9000
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * TI UCD90120, UCD90124, UCD90160, UCD9090, and UCD90910 6 * TI UCD90120, UCD90124, UCD90160, UCD9090, and UCD90910
7
6 Prefixes: 'ucd90120', 'ucd90124', 'ucd90160', 'ucd9090', 'ucd90910' 8 Prefixes: 'ucd90120', 'ucd90124', 'ucd90160', 'ucd9090', 'ucd90910'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheets: 12 Datasheets:
9 http://focus.ti.com/lit/ds/symlink/ucd90120.pdf 13
10 http://focus.ti.com/lit/ds/symlink/ucd90124.pdf 14 - http://focus.ti.com/lit/ds/symlink/ucd90120.pdf
11 http://focus.ti.com/lit/ds/symlink/ucd90160.pdf 15 - http://focus.ti.com/lit/ds/symlink/ucd90124.pdf
12 http://focus.ti.com/lit/ds/symlink/ucd9090.pdf 16 - http://focus.ti.com/lit/ds/symlink/ucd90160.pdf
13 http://focus.ti.com/lit/ds/symlink/ucd90910.pdf 17 - http://focus.ti.com/lit/ds/symlink/ucd9090.pdf
18 - http://focus.ti.com/lit/ds/symlink/ucd90910.pdf
14 19
15Author: Guenter Roeck <linux@roeck-us.net> 20Author: Guenter Roeck <linux@roeck-us.net>
16 21
@@ -76,23 +81,28 @@ Sysfs entries
76The following attributes are supported. Limits are read-write; all other 81The following attributes are supported. Limits are read-write; all other
77attributes are read-only. 82attributes are read-only.
78 83
84======================= ========================================================
79in[1-12]_label "vout[1-12]". 85in[1-12]_label "vout[1-12]".
80in[1-12]_input Measured voltage. From READ_VOUT register. 86in[1-12]_input Measured voltage. From READ_VOUT register.
81in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 87in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
82in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 88in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
83in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 89in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
84in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. 90in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
91 register.
85in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 92in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
86in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 93in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
87in[1-12]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 94in[1-12]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
88in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 95 status.
96in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
97 status.
89 98
90curr[1-12]_label "iout[1-12]". 99curr[1-12]_label "iout[1-12]".
91curr[1-12]_input Measured current. From READ_IOUT register. 100curr[1-12]_input Measured current. From READ_IOUT register.
92curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. 101curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
93curr[1-12]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT 102curr[1-12]_lcrit Critical minimum output current. From
103 IOUT_UC_FAULT_LIMIT register.
104curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
94 register. 105 register.
95curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
96curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. 106curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
97curr[1-12]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 107curr[1-12]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
98 108
@@ -116,3 +126,4 @@ fan[1-4]_fault Fan fault.
116 created only for enabled fans. 126 created only for enabled fans.
117 Note that even though UCD90910 supports up to 10 fans, 127 Note that even though UCD90910 supports up to 10 fans,
118 only up to four fans are currently supported. 128 only up to four fans are currently supported.
129======================= ========================================================
diff --git a/Documentation/hwmon/ucd9200 b/Documentation/hwmon/ucd9200
index 1e8060e631bd..44eda4a579b6 100644
--- a/Documentation/hwmon/ucd9200
+++ b/Documentation/hwmon/ucd9200
@@ -2,18 +2,23 @@ Kernel driver ucd9200
2===================== 2=====================
3 3
4Supported chips: 4Supported chips:
5
5 * TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248 6 * TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248
7
6 Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246', 8 Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246',
7 'ucd9248' 9 'ucd9248'
10
8 Addresses scanned: - 11 Addresses scanned: -
12
9 Datasheets: 13 Datasheets:
10 http://focus.ti.com/lit/ds/symlink/ucd9220.pdf 14
11 http://focus.ti.com/lit/ds/symlink/ucd9222.pdf 15 - http://focus.ti.com/lit/ds/symlink/ucd9220.pdf
12 http://focus.ti.com/lit/ds/symlink/ucd9224.pdf 16 - http://focus.ti.com/lit/ds/symlink/ucd9222.pdf
13 http://focus.ti.com/lit/ds/symlink/ucd9240.pdf 17 - http://focus.ti.com/lit/ds/symlink/ucd9224.pdf
14 http://focus.ti.com/lit/ds/symlink/ucd9244.pdf 18 - http://focus.ti.com/lit/ds/symlink/ucd9240.pdf
15 http://focus.ti.com/lit/ds/symlink/ucd9246.pdf 19 - http://focus.ti.com/lit/ds/symlink/ucd9244.pdf
16 http://focus.ti.com/lit/ds/symlink/ucd9248.pdf 20 - http://focus.ti.com/lit/ds/symlink/ucd9246.pdf
21 - http://focus.ti.com/lit/ds/symlink/ucd9248.pdf
17 22
18Author: Guenter Roeck <linux@roeck-us.net> 23Author: Guenter Roeck <linux@roeck-us.net>
19 24
@@ -52,12 +57,14 @@ Sysfs entries
52The following attributes are supported. Limits are read-write; all other 57The following attributes are supported. Limits are read-write; all other
53attributes are read-only. 58attributes are read-only.
54 59
60======================= ========================================================
55in1_label "vin". 61in1_label "vin".
56in1_input Measured voltage. From READ_VIN register. 62in1_input Measured voltage. From READ_VIN register.
57in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. 63in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register.
58in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. 64in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register.
59in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. 65in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register.
60in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. 66in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT
67 register.
61in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. 68in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status.
62in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. 69in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status.
63in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status. 70in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status.
@@ -68,11 +75,14 @@ in[2-5]_input Measured voltage. From READ_VOUT register.
68in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 75in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
69in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 76in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
70in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 77in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
71in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. 78in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
79 register.
72in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 80in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
73in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 81in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
74in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 82in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
75in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 83 status.
84in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
85 status.
76 86
77curr1_label "iin". 87curr1_label "iin".
78curr1_input Measured current. From READ_IIN register. 88curr1_input Measured current. From READ_IIN register.
@@ -80,9 +90,10 @@ curr1_input Measured current. From READ_IIN register.
80curr[2-5]_label "iout[1-4]". 90curr[2-5]_label "iout[1-4]".
81curr[2-5]_input Measured current. From READ_IOUT register. 91curr[2-5]_input Measured current. From READ_IOUT register.
82curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. 92curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
83curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT 93curr[2-5]_lcrit Critical minimum output current. From
94 IOUT_UC_FAULT_LIMIT register.
95curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
84 register. 96 register.
85curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
86curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. 97curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
87curr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 98curr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
88 99
@@ -97,7 +108,7 @@ power[2-5]_label "pout[1-4]"
97 rails. See chip datasheets for details. 108 rails. See chip datasheets for details.
98 109
99temp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and 110temp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and
100 READ_TEMPERATURE_2 registers. 111 READ_TEMPERATURE_2 registers.
101 temp1 is the chip internal temperature. temp[2-5] are 112 temp1 is the chip internal temperature. temp[2-5] are
102 rail temperatures. temp[2-5] attributes are only 113 rail temperatures. temp[2-5] attributes are only
103 created for enabled rails. See chip datasheets for 114 created for enabled rails. See chip datasheets for
@@ -110,3 +121,4 @@ temp[1-5]_crit_alarm Temperature critical high alarm.
110fan1_input Fan RPM. ucd9240 only. 121fan1_input Fan RPM. ucd9240 only.
111fan1_alarm Fan alarm. ucd9240 only. 122fan1_alarm Fan alarm. ucd9240 only.
112fan1_fault Fan fault. ucd9240 only. 123fan1_fault Fan fault. ucd9240 only.
124======================= ========================================================
diff --git a/Documentation/hwmon/zl6100 b/Documentation/hwmon/zl6100
index 477a94b131ae..4029970bace4 100644
--- a/Documentation/hwmon/zl6100
+++ b/Documentation/hwmon/zl6100
@@ -2,57 +2,106 @@ Kernel driver zl6100
2==================== 2====================
3 3
4Supported chips: 4Supported chips:
5
5 * Intersil / Zilker Labs ZL2004 6 * Intersil / Zilker Labs ZL2004
7
6 Prefix: 'zl2004' 8 Prefix: 'zl2004'
9
7 Addresses scanned: - 10 Addresses scanned: -
11
8 Datasheet: http://www.intersil.com/data/fn/fn6847.pdf 12 Datasheet: http://www.intersil.com/data/fn/fn6847.pdf
13
9 * Intersil / Zilker Labs ZL2005 14 * Intersil / Zilker Labs ZL2005
15
10 Prefix: 'zl2005' 16 Prefix: 'zl2005'
17
11 Addresses scanned: - 18 Addresses scanned: -
19
12 Datasheet: http://www.intersil.com/data/fn/fn6848.pdf 20 Datasheet: http://www.intersil.com/data/fn/fn6848.pdf
21
13 * Intersil / Zilker Labs ZL2006 22 * Intersil / Zilker Labs ZL2006
23
14 Prefix: 'zl2006' 24 Prefix: 'zl2006'
25
15 Addresses scanned: - 26 Addresses scanned: -
27
16 Datasheet: http://www.intersil.com/data/fn/fn6850.pdf 28 Datasheet: http://www.intersil.com/data/fn/fn6850.pdf
29
17 * Intersil / Zilker Labs ZL2008 30 * Intersil / Zilker Labs ZL2008
31
18 Prefix: 'zl2008' 32 Prefix: 'zl2008'
33
19 Addresses scanned: - 34 Addresses scanned: -
35
20 Datasheet: http://www.intersil.com/data/fn/fn6859.pdf 36 Datasheet: http://www.intersil.com/data/fn/fn6859.pdf
37
21 * Intersil / Zilker Labs ZL2105 38 * Intersil / Zilker Labs ZL2105
39
22 Prefix: 'zl2105' 40 Prefix: 'zl2105'
41
23 Addresses scanned: - 42 Addresses scanned: -
43
24 Datasheet: http://www.intersil.com/data/fn/fn6851.pdf 44 Datasheet: http://www.intersil.com/data/fn/fn6851.pdf
45
25 * Intersil / Zilker Labs ZL2106 46 * Intersil / Zilker Labs ZL2106
47
26 Prefix: 'zl2106' 48 Prefix: 'zl2106'
49
27 Addresses scanned: - 50 Addresses scanned: -
51
28 Datasheet: http://www.intersil.com/data/fn/fn6852.pdf 52 Datasheet: http://www.intersil.com/data/fn/fn6852.pdf
53
29 * Intersil / Zilker Labs ZL6100 54 * Intersil / Zilker Labs ZL6100
55
30 Prefix: 'zl6100' 56 Prefix: 'zl6100'
57
31 Addresses scanned: - 58 Addresses scanned: -
59
32 Datasheet: http://www.intersil.com/data/fn/fn6876.pdf 60 Datasheet: http://www.intersil.com/data/fn/fn6876.pdf
61
33 * Intersil / Zilker Labs ZL6105 62 * Intersil / Zilker Labs ZL6105
63
34 Prefix: 'zl6105' 64 Prefix: 'zl6105'
65
35 Addresses scanned: - 66 Addresses scanned: -
67
36 Datasheet: http://www.intersil.com/data/fn/fn6906.pdf 68 Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
69
37 * Intersil / Zilker Labs ZL9101M 70 * Intersil / Zilker Labs ZL9101M
71
38 Prefix: 'zl9101' 72 Prefix: 'zl9101'
73
39 Addresses scanned: - 74 Addresses scanned: -
75
40 Datasheet: http://www.intersil.com/data/fn/fn7669.pdf 76 Datasheet: http://www.intersil.com/data/fn/fn7669.pdf
77
41 * Intersil / Zilker Labs ZL9117M 78 * Intersil / Zilker Labs ZL9117M
79
42 Prefix: 'zl9117' 80 Prefix: 'zl9117'
81
43 Addresses scanned: - 82 Addresses scanned: -
83
44 Datasheet: http://www.intersil.com/data/fn/fn7914.pdf 84 Datasheet: http://www.intersil.com/data/fn/fn7914.pdf
85
45 * Ericsson BMR450, BMR451 86 * Ericsson BMR450, BMR451
87
46 Prefix: 'bmr450', 'bmr451' 88 Prefix: 'bmr450', 'bmr451'
89
47 Addresses scanned: - 90 Addresses scanned: -
91
48 Datasheet: 92 Datasheet:
93
49http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146401 94http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146401
95
50 * Ericsson BMR462, BMR463, BMR464 96 * Ericsson BMR462, BMR463, BMR464
97
51 Prefixes: 'bmr462', 'bmr463', 'bmr464' 98 Prefixes: 'bmr462', 'bmr463', 'bmr464'
99
52 Addresses scanned: - 100 Addresses scanned: -
101
53 Datasheet: 102 Datasheet:
54http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146256
55 103
104 http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146256
56 105
57Author: Guenter Roeck <linux@roeck-us.net> 106Author: Guenter Roeck <linux@roeck-us.net>
58 107
@@ -75,13 +124,15 @@ This driver does not auto-detect devices. You will have to instantiate the
75devices explicitly. Please see Documentation/i2c/instantiating-devices for 124devices explicitly. Please see Documentation/i2c/instantiating-devices for
76details. 125details.
77 126
78WARNING: Do not access chip registers using the i2cdump command, and do not use 127.. warning::
79any of the i2ctools commands on a command register used to save and restore 128
80configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by 129 Do not access chip registers using the i2cdump command, and do not use
81this driver interpret any access to those command registers (including read 130 any of the i2ctools commands on a command register used to save and restore
82commands) as request to execute the command in question. Unless write accesses 131 configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by
83to those registers are protected, this may result in power loss, board resets, 132 this driver interpret any access to those command registers (including read
84and/or Flash corruption. Worst case, your board may turn into a brick. 133 commands) as request to execute the command in question. Unless write accesses
134 to those registers are protected, this may result in power loss, board resets,
135 and/or Flash corruption. Worst case, your board may turn into a brick.
85 136
86 137
87Platform data support 138Platform data support
@@ -110,6 +161,7 @@ Sysfs entries
110The following attributes are supported. Limits are read-write; all other 161The following attributes are supported. Limits are read-write; all other
111attributes are read-only. 162attributes are read-only.
112 163
164======================= ========================================================
113in1_label "vin" 165in1_label "vin"
114in1_input Measured input voltage. 166in1_input Measured input voltage.
115in1_min Minimum input voltage. 167in1_min Minimum input voltage.
@@ -158,3 +210,4 @@ temp[12]_min_alarm Chip temperature low alarm.
158temp[12]_max_alarm Chip temperature high alarm. 210temp[12]_max_alarm Chip temperature high alarm.
159temp[12]_lcrit_alarm Chip temperature critical low alarm. 211temp[12]_lcrit_alarm Chip temperature critical low alarm.
160temp[12]_crit_alarm Chip temperature critical high alarm. 212temp[12]_crit_alarm Chip temperature critical high alarm.
213======================= ========================================================