diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-17 05:46:26 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-17 12:51:06 -0400 |
commit | 1f234ff1621787860cfcca6aa8fb626519405a72 (patch) | |
tree | ef23bb753259f1bd5711da83f86171338ebf537b /Documentation/hwmon | |
parent | 0d9256262f92d26ebd29ee469bd07761a9835739 (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/adm1275 | 26 | ||||
-rw-r--r-- | Documentation/hwmon/ibm-cffps | 3 | ||||
-rw-r--r-- | Documentation/hwmon/ir35221 | 11 | ||||
-rw-r--r-- | Documentation/hwmon/lm25066 | 30 | ||||
-rw-r--r-- | Documentation/hwmon/ltc2978 | 267 | ||||
-rw-r--r-- | Documentation/hwmon/ltc3815 | 12 | ||||
-rw-r--r-- | Documentation/hwmon/max16064 | 15 | ||||
-rw-r--r-- | Documentation/hwmon/max20751 | 7 | ||||
-rw-r--r-- | Documentation/hwmon/max31785 | 6 | ||||
-rw-r--r-- | Documentation/hwmon/max34440 | 88 | ||||
-rw-r--r-- | Documentation/hwmon/max8688 | 18 | ||||
-rw-r--r-- | Documentation/hwmon/pmbus | 90 | ||||
-rw-r--r-- | Documentation/hwmon/pmbus-core | 173 | ||||
-rw-r--r-- | Documentation/hwmon/tps40422 | 23 | ||||
-rw-r--r-- | Documentation/hwmon/ucd9000 | 31 | ||||
-rw-r--r-- | Documentation/hwmon/ucd9200 | 42 | ||||
-rw-r--r-- | Documentation/hwmon/zl6100 | 69 |
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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
30 | Author: Guenter Roeck <linux@roeck-us.net> | 54 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -75,6 +99,7 @@ Sysfs entries | |||
75 | The following attributes are supported. Limits are read-write, history reset | 99 | The following attributes are supported. Limits are read-write, history reset |
76 | attributes are write-only, all other attributes are read-only. | 100 | attributes are write-only, all other attributes are read-only. |
77 | 101 | ||
102 | ======================= ======================================================= | ||
78 | inX_label "vin1" or "vout1" depending on chip variant and | 103 | inX_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 | ||
4 | Supported chips: | 4 | Supported chips: |
5 | |||
5 | * IBM Common Form Factor power supply | 6 | * IBM Common Form Factor power supply |
6 | 7 | ||
7 | Author: Eddie James <eajames@us.ibm.com> | 8 | Author: Eddie James <eajames@us.ibm.com> |
@@ -24,6 +25,7 @@ Sysfs entries | |||
24 | 25 | ||
25 | The following attributes are supported: | 26 | The following attributes are supported: |
26 | 27 | ||
28 | ======================= ====================================================== | ||
27 | curr1_alarm Output current over-current alarm. | 29 | curr1_alarm Output current over-current alarm. |
28 | curr1_input Measured output current in mA. | 30 | curr1_input Measured output current in mA. |
29 | curr1_label "iout1" | 31 | curr1_label "iout1" |
@@ -52,3 +54,4 @@ temp2_alarm Secondary rectifier temp over-temperature alarm. | |||
52 | temp2_input Measured secondary rectifier temp in millidegrees C. | 54 | temp2_input Measured secondary rectifier temp in millidegrees C. |
53 | temp3_alarm ORing FET temperature over-temperature alarm. | 55 | temp3_alarm ORing FET temperature over-temperature alarm. |
54 | temp3_input Measured ORing FET temperature in millidegrees C. | 56 | temp3_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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Samuel Mendoza-Jonas <sam@mendozajonas.com> | 13 | Author: Samuel Mendoza-Jonas <sam@mendozajonas.com> |
@@ -23,15 +26,16 @@ This driver does not probe for PMBus devices. You will have to instantiate | |||
23 | devices explicitly. | 26 | devices explicitly. |
24 | 27 | ||
25 | Example: the following commands will load the driver for an IR35221 | 28 | Example: the following commands will load the driver for an IR35221 |
26 | at address 0x70 on I2C bus #4: | 29 | at 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 | ||
32 | Sysfs attributes | 35 | Sysfs attributes |
33 | ---------------- | 36 | ---------------- |
34 | 37 | ||
38 | ======================= ======================================================= | ||
35 | curr1_label "iin" | 39 | curr1_label "iin" |
36 | curr1_input Measured input current | 40 | curr1_input Measured input current |
37 | curr1_max Maximum current | 41 | curr1_max Maximum current |
@@ -85,3 +89,4 @@ temp[1-2]_highest Highest temperature | |||
85 | temp[1-2]_lowest Lowest temperature | 89 | temp[1-2]_lowest Lowest temperature |
86 | temp[1-2]_max Maximum temperature | 90 | temp[1-2]_max Maximum temperature |
87 | temp[1-2]_max_alarm Chip temperature high alarm | 91 | temp[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 | ||
4 | Supported chips: | 4 | Supported 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 | |||
33 | Author: Guenter Roeck <linux@roeck-us.net> | 61 | Author: Guenter Roeck <linux@roeck-us.net> |
34 | 62 | ||
35 | 63 | ||
@@ -64,6 +92,7 @@ Sysfs entries | |||
64 | The following attributes are supported. Limits are read-write; all other | 92 | The following attributes are supported. Limits are read-write; all other |
65 | attributes are read-only. | 93 | attributes are read-only. |
66 | 94 | ||
95 | ======================= ======================================================= | ||
67 | in1_label "vin" | 96 | in1_label "vin" |
68 | in1_input Measured input voltage. | 97 | in1_input Measured input voltage. |
69 | in1_average Average measured input voltage. | 98 | in1_average Average measured input voltage. |
@@ -105,3 +134,4 @@ temp1_max Maximum temperature. | |||
105 | temp1_crit Critical high temperature. | 134 | temp1_crit Critical high temperature. |
106 | temp1_max_alarm Chip temperature high alarm. | 135 | temp1_max_alarm Chip temperature high alarm. |
107 | temp1_crit_alarm Chip temperature critical high alarm. | 136 | temp1_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 | ||
4 | Supported chips: | 4 | Supported 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 | |||
63 | Author: Guenter Roeck <linux@roeck-us.net> | 121 | Author: Guenter Roeck <linux@roeck-us.net> |
64 | 122 | ||
65 | 123 | ||
66 | Description | 124 | Description |
67 | ----------- | 125 | ----------- |
68 | 126 | ||
69 | LTC2974 and LTC2975 are quad digital power supply managers. | 127 | - LTC2974 and LTC2975 are quad digital power supply managers. |
70 | LTC2978 is an octal power supply monitor. | 128 | - LTC2978 is an octal power supply monitor. |
71 | LTC2977 is a pin compatible replacement for LTC2978. | 129 | - LTC2977 is a pin compatible replacement for LTC2978. |
72 | LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977 | 130 | - LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977 |
73 | in 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 |
74 | on two different I2C bus addresses. | 132 | - on two different I2C bus addresses. |
75 | LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down | 133 | - LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down |
76 | DC/DC controllers. | 134 | - DC/DC controllers. |
77 | LTC3883 is a single phase step-down DC/DC controller. | 135 | - LTC3883 is a single phase step-down DC/DC controller. |
78 | LTM2987 is a 16-channel Power System Manager with two LTC2977 plus | 136 | - LTM2987 is a 16-channel Power System Manager with two LTC2977 plus |
79 | additional components on a single die. The chip is instantiated and reported | 137 | - additional components on a single die. The chip is instantiated and reported |
80 | as two separate chips on two different I2C bus addresses. | 138 | - as two separate chips on two different I2C bus addresses. |
81 | LTM4675 is a dual 9A or single 18A μModule regulator | 139 | - LTM4675 is a dual 9A or single 18A μModule regulator |
82 | LTM4676 is a dual 13A or single 26A uModule regulator. | 140 | - LTM4676 is a dual 13A or single 26A uModule regulator. |
83 | LTM4686 is a dual 10A or single 20A uModule regulator. | 141 | - LTM4686 is a dual 10A or single 20A uModule regulator. |
84 | 142 | ||
85 | 143 | ||
86 | Usage Notes | 144 | Usage Notes |
@@ -90,127 +148,208 @@ This driver does not probe for PMBus devices. You will have to instantiate | |||
90 | devices explicitly. | 148 | devices explicitly. |
91 | 149 | ||
92 | Example: the following commands will load the driver for an LTC2978 at address | 150 | Example: the following commands will load the driver for an LTC2978 at address |
93 | 0x60 on I2C bus #1: | 151 | 0x60 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 | ||
99 | Sysfs attributes | 157 | Sysfs attributes |
100 | ---------------- | 158 | ---------------- |
101 | 159 | ||
160 | ======================= ======================================================== | ||
102 | in1_label "vin" | 161 | in1_label "vin" |
162 | |||
103 | in1_input Measured input voltage. | 163 | in1_input Measured input voltage. |
164 | |||
104 | in1_min Minimum input voltage. | 165 | in1_min Minimum input voltage. |
166 | |||
105 | in1_max Maximum input voltage. | 167 | in1_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 | |||
108 | in1_lcrit Critical minimum input voltage. | 172 | in1_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 | |||
111 | in1_crit Critical maximum input voltage. | 177 | in1_crit Critical maximum input voltage. |
178 | |||
112 | in1_min_alarm Input voltage low alarm. | 179 | in1_min_alarm Input voltage low alarm. |
180 | |||
113 | in1_max_alarm Input voltage high alarm. | 181 | in1_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. |
116 | in1_lcrit_alarm Input voltage critical low alarm. | 185 | in1_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. |
119 | in1_crit_alarm Input voltage critical high alarm. | 189 | in1_crit_alarm Input voltage critical high alarm. |
190 | |||
120 | in1_lowest Lowest input voltage. | 191 | in1_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. |
123 | in1_highest Highest input voltage. | 195 | in1_highest Highest input voltage. |
196 | |||
124 | in1_reset_history Reset input voltage history. | 197 | in1_reset_history Reset input voltage history. |
125 | 198 | ||
126 | in[N]_label "vout[1-8]". | 199 | in[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 | |||
133 | in[N]_input Measured output voltage. | 208 | in[N]_input Measured output voltage. |
209 | |||
134 | in[N]_min Minimum output voltage. | 210 | in[N]_min Minimum output voltage. |
211 | |||
135 | in[N]_max Maximum output voltage. | 212 | in[N]_max Maximum output voltage. |
213 | |||
136 | in[N]_lcrit Critical minimum output voltage. | 214 | in[N]_lcrit Critical minimum output voltage. |
215 | |||
137 | in[N]_crit Critical maximum output voltage. | 216 | in[N]_crit Critical maximum output voltage. |
217 | |||
138 | in[N]_min_alarm Output voltage low alarm. | 218 | in[N]_min_alarm Output voltage low alarm. |
219 | |||
139 | in[N]_max_alarm Output voltage high alarm. | 220 | in[N]_max_alarm Output voltage high alarm. |
221 | |||
140 | in[N]_lcrit_alarm Output voltage critical low alarm. | 222 | in[N]_lcrit_alarm Output voltage critical low alarm. |
223 | |||
141 | in[N]_crit_alarm Output voltage critical high alarm. | 224 | in[N]_crit_alarm Output voltage critical high alarm. |
142 | in[N]_lowest Lowest output voltage. LTC2974, LTC2975, | 225 | |
143 | and LTC2978 only. | 226 | in[N]_lowest Lowest output voltage. |
227 | |||
228 | |||
229 | LTC2974, LTC2975,and LTC2978 only. | ||
230 | |||
144 | in[N]_highest Highest output voltage. | 231 | in[N]_highest Highest output voltage. |
232 | |||
145 | in[N]_reset_history Reset output voltage history. | 233 | in[N]_reset_history Reset output voltage history. |
146 | 234 | ||
147 | temp[N]_input Measured temperature. | 235 | temp[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, |
158 | temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978, | 246 | and temp2 reports the chip temperature. |
159 | and LTM2987 only. | 247 | |
248 | temp[N]_min Mimimum temperature. | ||
249 | |||
250 | LTC2974, LCT2977, LTM2980, LTC2978, and LTM2987 only. | ||
251 | |||
160 | temp[N]_max Maximum temperature. | 252 | temp[N]_max Maximum temperature. |
253 | |||
161 | temp[N]_lcrit Critical low temperature. | 254 | temp[N]_lcrit Critical low temperature. |
255 | |||
162 | temp[N]_crit Critical high temperature. | 256 | temp[N]_crit Critical high temperature. |
257 | |||
163 | temp[N]_min_alarm Temperature low alarm. | 258 | temp[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 | |||
166 | temp[N]_max_alarm Temperature high alarm. | 263 | temp[N]_max_alarm Temperature high alarm. |
264 | |||
265 | |||
167 | temp[N]_lcrit_alarm Temperature critical low alarm. | 266 | temp[N]_lcrit_alarm Temperature critical low alarm. |
267 | |||
168 | temp[N]_crit_alarm Temperature critical high alarm. | 268 | temp[N]_crit_alarm Temperature critical high alarm. |
269 | |||
169 | temp[N]_lowest Lowest measured temperature. | 270 | temp[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 |
174 | temp[N]_highest Highest measured temperature. Not supported for chip | 275 | and LTC2975. |
175 | temperature sensor on LTC2974 and LTC2975. | 276 | |
176 | temp[N]_reset_history Reset temperature history. Not supported for chip | 277 | temp[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 | |||
282 | temp[N]_reset_history Reset temperature history. | ||
283 | |||
284 | Not supported for chip temperature sensor on | ||
285 | LTC2974 and LTC2975. | ||
178 | 286 | ||
179 | power1_label "pin". LTC3883 and LTC3886 only. | 287 | power1_label "pin". LTC3883 and LTC3886 only. |
288 | |||
180 | power1_input Measured input power. | 289 | power1_input Measured input power. |
181 | 290 | ||
182 | power[N]_label "pout[1-4]". | 291 | power[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 | |||
189 | power[N]_input Measured output power. | 300 | power[N]_input Measured output power. |
190 | 301 | ||
191 | curr1_label "iin". LTC3880, LTC3883, LTC3886, LTC3887, LTM4675, | 302 | curr1_label "iin". |
303 | |||
304 | LTC3880, LTC3883, LTC3886, LTC3887, LTM4675, | ||
192 | and LTM4676 only. | 305 | and LTM4676 only. |
306 | |||
193 | curr1_input Measured input current. | 307 | curr1_input Measured input current. |
308 | |||
194 | curr1_max Maximum input current. | 309 | curr1_max Maximum input current. |
310 | |||
195 | curr1_max_alarm Input current high alarm. | 311 | curr1_max_alarm Input current high alarm. |
196 | curr1_highest Highest input current. LTC3883 and LTC3886 only. | 312 | |
197 | curr1_reset_history Reset input current history. LTC3883 and LTC3886 only. | 313 | curr1_highest Highest input current. |
314 | |||
315 | LTC3883 and LTC3886 only. | ||
316 | |||
317 | curr1_reset_history Reset input current history. | ||
318 | |||
319 | LTC3883 and LTC3886 only. | ||
198 | 320 | ||
199 | curr[N]_label "iout[1-4]". | 321 | curr[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 | |||
206 | curr[N]_input Measured output current. | 330 | curr[N]_input Measured output current. |
331 | |||
207 | curr[N]_max Maximum output current. | 332 | curr[N]_max Maximum output current. |
333 | |||
208 | curr[N]_crit Critical high output current. | 334 | curr[N]_crit Critical high output current. |
209 | curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only. | 335 | |
336 | curr[N]_lcrit Critical low output current. | ||
337 | |||
338 | LTC2974 and LTC2975 only. | ||
339 | |||
210 | curr[N]_max_alarm Output current high alarm. | 340 | curr[N]_max_alarm Output current high alarm. |
341 | |||
211 | curr[N]_crit_alarm Output current critical high alarm. | 342 | curr[N]_crit_alarm Output current critical high alarm. |
343 | |||
212 | curr[N]_lcrit_alarm Output current critical low alarm. | 344 | curr[N]_lcrit_alarm Output current critical low alarm. |
345 | |||
346 | LTC2974 and LTC2975 only. | ||
347 | |||
348 | curr[N]_lowest Lowest output current. | ||
349 | |||
213 | LTC2974 and LTC2975 only. | 350 | LTC2974 and LTC2975 only. |
214 | curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only. | 351 | |
215 | curr[N]_highest Highest output current. | 352 | curr[N]_highest Highest output current. |
353 | |||
216 | curr[N]_reset_history Reset output current history. | 354 | curr[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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Guenter Roeck <linux@roeck-us.net> | 14 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -23,15 +27,16 @@ This driver does not probe for PMBus devices. You will have to instantiate | |||
23 | devices explicitly. | 27 | devices explicitly. |
24 | 28 | ||
25 | Example: the following commands will load the driver for an LTC3815 | 29 | Example: the following commands will load the driver for an LTC3815 |
26 | at address 0x20 on I2C bus #1: | 30 | at 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 | ||
32 | Sysfs attributes | 36 | Sysfs attributes |
33 | ---------------- | 37 | ---------------- |
34 | 38 | ||
39 | ======================= ======================================================= | ||
35 | in1_label "vin" | 40 | in1_label "vin" |
36 | in1_input Measured input voltage. | 41 | in1_input Measured input voltage. |
37 | in1_alarm Input voltage alarm. | 42 | in1_alarm Input voltage alarm. |
@@ -59,3 +64,4 @@ curr2_input Measured output current. | |||
59 | curr2_alarm Output current alarm. | 64 | curr2_alarm Output current alarm. |
60 | curr2_highest Highest output current. | 65 | curr2_highest Highest output current. |
61 | curr2_reset_history Reset output current history. | 66 | curr2_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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Guenter Roeck <linux@roeck-us.net> | 14 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -40,16 +44,20 @@ Sysfs entries | |||
40 | The following attributes are supported. Limits are read-write; all other | 44 | The following attributes are supported. Limits are read-write; all other |
41 | attributes are read-only. | 45 | attributes are read-only. |
42 | 46 | ||
47 | ======================= ======================================================== | ||
43 | in[1-4]_label "vout[1-4]" | 48 | in[1-4]_label "vout[1-4]" |
44 | in[1-4]_input Measured voltage. From READ_VOUT register. | 49 | in[1-4]_input Measured voltage. From READ_VOUT register. |
45 | in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | 50 | in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
46 | in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 51 | in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
47 | in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | 52 | in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
48 | in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 53 | in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT |
54 | register. | ||
49 | in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 55 | in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
50 | in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 56 | in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
51 | in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | 57 | in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT |
52 | in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | 58 | status. |
59 | in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT | ||
60 | status. | ||
53 | in[1-4]_highest Historical maximum voltage. | 61 | in[1-4]_highest Historical maximum voltage. |
54 | in[1-4]_reset_history Write any value to reset history. | 62 | in[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. |
65 | temp1_highest Historical maximum temperature. | 73 | temp1_highest Historical maximum temperature. |
66 | temp1_reset_history Write any value to reset history. | 74 | temp1_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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
11 | Author: Guenter Roeck <linux@roeck-us.net> | 16 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -40,6 +45,7 @@ Sysfs entries | |||
40 | 45 | ||
41 | The following attributes are supported. | 46 | The following attributes are supported. |
42 | 47 | ||
48 | ======================= ======================================================= | ||
43 | in1_label "vin1" | 49 | in1_label "vin1" |
44 | in1_input Measured voltage. | 50 | in1_input Measured voltage. |
45 | in1_min Minimum input voltage. | 51 | in1_min Minimum input voltage. |
@@ -75,3 +81,4 @@ temp1_crit_alarm Chip temperature critical high alarm. | |||
75 | 81 | ||
76 | power1_input Output power. | 82 | power1_input Output power. |
77 | power1_label "pout1" | 83 | power1_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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Andrew Jeffery <andrew@aj.id.au> | 14 | Author: Andrew Jeffery <andrew@aj.id.au> |
@@ -30,6 +34,7 @@ devices explicitly. | |||
30 | Sysfs attributes | 34 | Sysfs attributes |
31 | ---------------- | 35 | ---------------- |
32 | 36 | ||
37 | ======================= ======================================================= | ||
33 | fan[1-4]_alarm Fan alarm. | 38 | fan[1-4]_alarm Fan alarm. |
34 | fan[1-4]_fault Fan fault. | 39 | fan[1-4]_fault Fan fault. |
35 | fan[1-8]_input Fan RPM. On the MAX31785A, inputs 5-8 correspond to the | 40 | fan[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 | |||
58 | temp[1-11]_input Measured temperature | 63 | temp[1-11]_input Measured temperature |
59 | temp[1-11]_max Maximum temperature | 64 | temp[1-11]_max Maximum temperature |
60 | temp[1-11]_max_alarm Chip temperature high alarm | 65 | temp[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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
35 | Author: Guenter Roeck <linux@roeck-us.net> | 64 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -77,42 +106,67 @@ Sysfs entries | |||
77 | The following attributes are supported. Limits are read-write; all other | 106 | The following attributes are supported. Limits are read-write; all other |
78 | attributes are read-only. | 107 | attributes are read-only. |
79 | 108 | ||
109 | In | ||
110 | ~~ | ||
111 | |||
112 | ======================= ======================================================= | ||
80 | in[1-6]_label "vout[1-6]". | 113 | in[1-6]_label "vout[1-6]". |
81 | in[1-6]_input Measured voltage. From READ_VOUT register. | 114 | in[1-6]_input Measured voltage. From READ_VOUT register. |
82 | in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | 115 | in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
83 | in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 116 | in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
84 | in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | 117 | in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
85 | in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 118 | in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT |
119 | register. | ||
86 | in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 120 | in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
87 | in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 121 | in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
88 | in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | 122 | in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT |
89 | in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | 123 | status. |
124 | in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT | ||
125 | status. | ||
90 | in[1-6]_lowest Historical minimum voltage. | 126 | in[1-6]_lowest Historical minimum voltage. |
91 | in[1-6]_highest Historical maximum voltage. | 127 | in[1-6]_highest Historical maximum voltage. |
92 | in[1-6]_reset_history Write any value to reset history. | 128 | in[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]. | 133 | Curr |
134 | ~~~~ | ||
95 | 135 | ||
136 | ======================= ======================================================== | ||
96 | curr[1-6]_label "iout[1-6]". | 137 | curr[1-6]_label "iout[1-6]". |
97 | curr[1-6]_input Measured current. From READ_IOUT register. | 138 | curr[1-6]_input Measured current. From READ_IOUT register. |
98 | curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 139 | curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
99 | curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 140 | curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT |
141 | register. | ||
100 | curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 142 | curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
101 | curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 143 | curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. |
102 | curr[1-4]_average Historical average current (MAX34446/34451 only). | 144 | curr[1-4]_average Historical average current (MAX34446/34451 only). |
103 | curr[1-6]_highest Historical maximum current. | 145 | curr[1-6]_highest Historical maximum current. |
104 | curr[1-6]_reset_history Write any value to reset history. | 146 | curr[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. | 154 | Power |
107 | MAX34446 only supports curr[1-4]. | 155 | ~~~~~ |
108 | 156 | ||
157 | ======================= ======================================================== | ||
109 | power[1,3]_label "pout[1,3]" | 158 | power[1,3]_label "pout[1,3]" |
110 | power[1,3]_input Measured power. | 159 | power[1,3]_input Measured power. |
111 | power[1,3]_average Historical average power. | 160 | power[1,3]_average Historical average power. |
112 | power[1,3]_highest Historical maximum power. | 161 | power[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 | ||
166 | Temp | ||
167 | ~~~~ | ||
168 | |||
169 | ======================= ======================================================== | ||
116 | temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register. | 170 | temp[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. | |||
125 | temp[1-8]_average Historical average temperature (MAX34446 only). | 179 | temp[1-8]_average Historical average temperature (MAX34446 only). |
126 | temp[1-8]_highest Historical maximum temperature. | 180 | temp[1-8]_highest Historical maximum temperature. |
127 | temp[1-8]_reset_history Write any value to reset history. | 181 | temp[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 | ||
132 | MAX34451 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 |
133 | and temp[1-5]. | 193 | input pins) and temp[1-5]. |
134 | MAX34460 supports attribute groups in[1-12] and temp[1-5]. | 194 | - MAX34460 supports attribute groups in[1-12] and temp[1-5]. |
135 | MAX34461 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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Guenter Roeck <linux@roeck-us.net> | 14 | Author: Guenter Roeck <linux@roeck-us.net> |
@@ -40,23 +44,28 @@ Sysfs entries | |||
40 | The following attributes are supported. Limits are read-write; all other | 44 | The following attributes are supported. Limits are read-write; all other |
41 | attributes are read-only. | 45 | attributes are read-only. |
42 | 46 | ||
47 | ======================= ======================================================== | ||
43 | in1_label "vout1" | 48 | in1_label "vout1" |
44 | in1_input Measured voltage. From READ_VOUT register. | 49 | in1_input Measured voltage. From READ_VOUT register. |
45 | in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | 50 | in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
46 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 51 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
47 | in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | 52 | in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
48 | in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 53 | in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT |
54 | register. | ||
49 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 55 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
50 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 56 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
51 | in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | 57 | in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT |
52 | in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | 58 | status. |
59 | in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT | ||
60 | status. | ||
53 | in1_highest Historical maximum voltage. | 61 | in1_highest Historical maximum voltage. |
54 | in1_reset_history Write any value to reset history. | 62 | in1_reset_history Write any value to reset history. |
55 | 63 | ||
56 | curr1_label "iout1" | 64 | curr1_label "iout1" |
57 | curr1_input Measured current. From READ_IOUT register. | 65 | curr1_input Measured current. From READ_IOUT register. |
58 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 66 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
59 | curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 67 | curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT |
68 | register. | ||
60 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. | 69 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. |
61 | curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 70 | curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. |
62 | curr1_highest Historical maximum current. | 71 | curr1_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. |
74 | temp1_highest Historical maximum temperature. | 83 | temp1_highest Historical maximum temperature. |
75 | temp1_reset_history Write any value to reset history. | 84 | temp1_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 @@ | |||
1 | Kernel driver pmbus | 1 | Kernel driver pmbus |
2 | ==================== | 2 | =================== |
3 | 3 | ||
4 | Supported chips: | 4 | Supported 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 | |||
40 | Author: Guenter Roeck <linux@roeck-us.net> | 75 | Author: 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 | |||
62 | PMBus devices. You will have to instantiate the devices explicitly. | 97 | PMBus devices. You will have to instantiate the devices explicitly. |
63 | 98 | ||
64 | Example: the following will load the driver for an LTC2978 at address 0x60 | 99 | Example: the following will load the driver for an LTC2978 at address 0x60 |
65 | on I2C bus #1: | 100 | on 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 | ||
70 | Platform data support | 106 | Platform data support |
@@ -72,9 +108,9 @@ Platform data support | |||
72 | 108 | ||
73 | Support for additional PMBus chips can be added by defining chip parameters in | 109 | Support for additional PMBus chips can be added by defining chip parameters in |
74 | a new chip specific driver file. For example, (untested) code to add support for | 110 | a new chip specific driver file. For example, (untested) code to add support for |
75 | Emerson DS1200 power modules might look as follows. | 111 | Emerson DS1200 power modules might look as follows:: |
76 | 112 | ||
77 | static 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 | ||
100 | static 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 | ||
106 | static 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 | ||
111 | static 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 | ||
116 | MODULE_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 */ |
119 | static 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 | ||
128 | static 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 | ||
133 | static 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 | ||
139 | Sysfs entries | 175 | Sysfs entries |
@@ -148,6 +184,7 @@ a given sysfs entry. | |||
148 | The following attributes are supported. Limits are read-write; all other | 184 | The following attributes are supported. Limits are read-write; all other |
149 | attributes are read-only. | 185 | attributes are read-only. |
150 | 186 | ||
187 | ======================= ======================================================== | ||
151 | inX_input Measured voltage. From READ_VIN or READ_VOUT register. | 188 | inX_input Measured voltage. From READ_VIN or READ_VOUT register. |
152 | inX_min Minimum Voltage. | 189 | inX_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 | |||
214 | tempX_crit_alarm Chip temperature critical high alarm. Set by comparing | 251 | tempX_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 | ================================== | ||
1 | PMBus core driver and internal API | 2 | PMBus 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 | 124 | API functions |
124 | ------------- | 125 | ============= |
125 | 126 | ||
126 | Functions provided by chip driver | 127 | Functions provided by chip driver |
127 | --------------------------------- | 128 | --------------------------------- |
128 | 129 | ||
129 | All functions return the command return value (read) or zero (write) if | 130 | All functions return the command return value (read) or zero (write) if |
130 | successful. A return value of -ENODATA indicates that there is no manufacturer | 131 | successful. A return value of -ENODATA indicates that there is no manufacturer |
131 | specific command, but that a standard PMBus command may exist. Any other | 132 | specific command, but that a standard PMBus command may exist. Any other |
132 | negative return value indicates that the commands does not exist for this | 133 | negative 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 | 134 | chip, and that no attempt should be made to read or write the standard |
134 | command. | 135 | command. |
135 | 136 | ||
136 | As mentioned above, an exception to this rule applies to virtual commands, | 137 | As mentioned above, an exception to this rule applies to virtual commands, |
137 | which _must_ be handled in driver specific code. See "Virtual PMBus Commands" | 138 | which *must* be handled in driver specific code. See "Virtual PMBus Commands" |
138 | above for more details. | 139 | above for more details. |
139 | 140 | ||
140 | Command execution in the core PMBus driver code is as follows. | 141 | Command 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 | 152 | Chip drivers may provide pointers to the following functions in struct |
152 | pmbus_driver_info. All functions are optional. | 153 | pmbus_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>. | 159 | Read 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>. | 167 | Read 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>. | 174 | Write 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>. | 180 | Write 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 | 187 | Determine supported PMBus functionality. This function is only necessary |
176 | if a chip driver supports multiple chips, and the chip functionality is not | 188 | if 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 | 189 | pre-determined. It is currently only used by the generic pmbus driver |
178 | (pmbus.c). | 190 | (pmbus.c). |
191 | |||
192 | Functions exported by core driver | ||
193 | --------------------------------- | ||
179 | 194 | ||
180 | Functions exported by core driver | 195 | Chip drivers are expected to use the following functions to read or write |
181 | --------------------------------- | 196 | PMBus registers. Chip drivers may also use direct I2C commands. If direct I2C |
197 | commands are used, the chip driver code must not directly modify the current | ||
198 | page, since the selected page is cached in the core driver and the core driver | ||
199 | will assume that it is selected. Using pmbus_set_page() to select a new page | ||
200 | is 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. | 206 | Set 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 | 212 | Read word data from <page>, <reg>. Similar to i2c_smbus_read_word_data(), but |
197 | selects page first. | 213 | selects 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 | 220 | Write word data to <page>, <reg>. Similar to i2c_smbus_write_word_data(), but |
203 | selects page first. | 221 | selects 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 | 227 | Read 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". | 228 | selects 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 | 234 | Write byte data to <page>, <reg>. Similar to i2c_smbus_write_byte(), but |
213 | selects page first. <page> may be -1, which means "current page". | 235 | selects 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. | 241 | Execute PMBus "Clear Fault" command on all chip pages. |
218 | This function calls the device specific write_byte function if defined. | 242 | This function calls the device specific write_byte function if defined. |
219 | Therefore, it must _not_ be called from that function. | 243 | Therefore, 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 | 249 | Check if byte register exists. Return true if the register exists, false |
224 | otherwise. | 250 | otherwise. |
225 | This function calls the device specific write_byte function if defined to | 251 | This 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. | 252 | obtain 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 | 258 | Check if word register exists. Return true if the register exists, false |
231 | otherwise. | 259 | otherwise. |
232 | This function calls the device specific write_byte function if defined to | 260 | This 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. | 261 | obtain 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 | |||
268 | Execute probe function. Similar to standard probe function for other drivers, | ||
269 | with the pointer to struct pmbus_driver_info as additional argument. Calls | ||
270 | identify function if supported. Must only be called from device probe | ||
271 | function. | ||
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. | 277 | Execute 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(). | 284 | Return pointer to struct pmbus_driver_info as passed to pmbus_do_probe(). |
251 | 285 | ||
252 | 286 | ||
253 | PMBus driver platform data | 287 | PMBus driver platform data |
254 | ========================== | 288 | ========================== |
255 | 289 | ||
256 | PMBus platform data is defined in include/linux/pmbus.h. Platform data | 290 | PMBus platform data is defined in include/linux/pmbus.h. Platform data |
257 | currently only provides a flag field with a single bit used. | 291 | currently 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 | ||
261 | struct 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 | ||
266 | Flags | 300 | Flags |
267 | ----- | 301 | ----- |
268 | 302 | ||
269 | PMBUS_SKIP_STATUS_CHECK | 303 | PMBUS_SKIP_STATUS_CHECK |
270 | 304 | During register detection, skip checking the status register for | |
271 | During register detection, skip checking the status register for | 305 | communication or command errors. |
272 | communication or command errors. | ||
273 | 306 | ||
274 | Some PMBus chips respond with valid data when trying to read an unsupported | 307 | Some PMBus chips respond with valid data when trying to read an unsupported |
275 | register. For such chips, checking the status register is mandatory when | 308 | register. 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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
10 | Author: Zhu Laiwen <richard.zhu@nsn.com> | 14 | Author: Zhu Laiwen <richard.zhu@nsn.com> |
@@ -39,6 +43,7 @@ Sysfs entries | |||
39 | 43 | ||
40 | The following attributes are supported. | 44 | The following attributes are supported. |
41 | 45 | ||
46 | ======================= ======================================================= | ||
42 | in[1-2]_label "vout[1-2]" | 47 | in[1-2]_label "vout[1-2]" |
43 | in[1-2]_input Measured voltage. From READ_VOUT register. | 48 | in[1-2]_input Measured voltage. From READ_VOUT register. |
44 | in[1-2]_alarm voltage alarm. | 49 | in[1-2]_alarm voltage alarm. |
@@ -46,19 +51,23 @@ in[1-2]_alarm voltage alarm. | |||
46 | curr[1-2]_input Measured current. From READ_IOUT register. | 51 | curr[1-2]_input Measured current. From READ_IOUT register. |
47 | curr[1-2]_label "iout[1-2]" | 52 | curr[1-2]_label "iout[1-2]" |
48 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 53 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
49 | curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 54 | curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT |
55 | register. | ||
50 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status. | 56 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status. |
51 | curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 57 | curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. |
52 | curr2_alarm Current high alarm. From IOUT_OC_WARNING status. | 58 | curr2_alarm Current high alarm. From IOUT_OC_WARNING status. |
53 | 59 | ||
54 | temp1_input Measured temperature. From READ_TEMPERATURE_2 register on page 0. | 60 | temp1_input Measured temperature. From READ_TEMPERATURE_2 register |
61 | on page 0. | ||
55 | temp1_max Maximum temperature. From OT_WARN_LIMIT register. | 62 | temp1_max Maximum temperature. From OT_WARN_LIMIT register. |
56 | temp1_crit Critical high temperature. From OT_FAULT_LIMIT register. | 63 | temp1_crit Critical high temperature. From OT_FAULT_LIMIT register. |
57 | temp1_max_alarm Chip temperature high alarm. Set by comparing | 64 | temp1_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. |
60 | temp1_crit_alarm Chip temperature critical high alarm. Set by comparing | 67 | temp1_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. |
63 | temp2_input Measured temperature. From READ_TEMPERATURE_2 register on page 1. | 70 | temp2_input Measured temperature. From READ_TEMPERATURE_2 register |
71 | on page 1. | ||
64 | temp2_alarm Chip temperature alarm on page 1. | 72 | temp2_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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
15 | Author: Guenter Roeck <linux@roeck-us.net> | 20 | Author: Guenter Roeck <linux@roeck-us.net> |
16 | 21 | ||
@@ -76,23 +81,28 @@ Sysfs entries | |||
76 | The following attributes are supported. Limits are read-write; all other | 81 | The following attributes are supported. Limits are read-write; all other |
77 | attributes are read-only. | 82 | attributes are read-only. |
78 | 83 | ||
84 | ======================= ======================================================== | ||
79 | in[1-12]_label "vout[1-12]". | 85 | in[1-12]_label "vout[1-12]". |
80 | in[1-12]_input Measured voltage. From READ_VOUT register. | 86 | in[1-12]_input Measured voltage. From READ_VOUT register. |
81 | in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | 87 | in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
82 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 88 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
83 | in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | 89 | in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
84 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 90 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT |
91 | register. | ||
85 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 92 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
86 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 93 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
87 | in[1-12]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | 94 | in[1-12]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT |
88 | in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | 95 | status. |
96 | in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT | ||
97 | status. | ||
89 | 98 | ||
90 | curr[1-12]_label "iout[1-12]". | 99 | curr[1-12]_label "iout[1-12]". |
91 | curr[1-12]_input Measured current. From READ_IOUT register. | 100 | curr[1-12]_input Measured current. From READ_IOUT register. |
92 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 101 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
93 | curr[1-12]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT | 102 | curr[1-12]_lcrit Critical minimum output current. From |
103 | IOUT_UC_FAULT_LIMIT register. | ||
104 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT | ||
94 | register. | 105 | register. |
95 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | ||
96 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 106 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
97 | curr[1-12]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 107 | curr[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 | ||
4 | Supported chips: | 4 | Supported 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 | ||
18 | Author: Guenter Roeck <linux@roeck-us.net> | 23 | Author: Guenter Roeck <linux@roeck-us.net> |
19 | 24 | ||
@@ -52,12 +57,14 @@ Sysfs entries | |||
52 | The following attributes are supported. Limits are read-write; all other | 57 | The following attributes are supported. Limits are read-write; all other |
53 | attributes are read-only. | 58 | attributes are read-only. |
54 | 59 | ||
60 | ======================= ======================================================== | ||
55 | in1_label "vin". | 61 | in1_label "vin". |
56 | in1_input Measured voltage. From READ_VIN register. | 62 | in1_input Measured voltage. From READ_VIN register. |
57 | in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. | 63 | in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. |
58 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. | 64 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. |
59 | in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. | 65 | in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. |
60 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. | 66 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT |
67 | register. | ||
61 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. | 68 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. |
62 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. | 69 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. |
63 | in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status. | 70 | in1_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. | |||
68 | in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | 75 | in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
69 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 76 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
70 | in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | 77 | in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
71 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 78 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT |
79 | register. | ||
72 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 80 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
73 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 81 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
74 | in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | 82 | in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT |
75 | in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | 83 | status. |
84 | in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT | ||
85 | status. | ||
76 | 86 | ||
77 | curr1_label "iin". | 87 | curr1_label "iin". |
78 | curr1_input Measured current. From READ_IIN register. | 88 | curr1_input Measured current. From READ_IIN register. |
@@ -80,9 +90,10 @@ curr1_input Measured current. From READ_IIN register. | |||
80 | curr[2-5]_label "iout[1-4]". | 90 | curr[2-5]_label "iout[1-4]". |
81 | curr[2-5]_input Measured current. From READ_IOUT register. | 91 | curr[2-5]_input Measured current. From READ_IOUT register. |
82 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 92 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
83 | curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT | 93 | curr[2-5]_lcrit Critical minimum output current. From |
94 | IOUT_UC_FAULT_LIMIT register. | ||
95 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT | ||
84 | register. | 96 | register. |
85 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | ||
86 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 97 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
87 | curr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | 98 | curr[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 | ||
99 | temp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and | 110 | temp[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. | |||
110 | fan1_input Fan RPM. ucd9240 only. | 121 | fan1_input Fan RPM. ucd9240 only. |
111 | fan1_alarm Fan alarm. ucd9240 only. | 122 | fan1_alarm Fan alarm. ucd9240 only. |
112 | fan1_fault Fan fault. ucd9240 only. | 123 | fan1_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 | ||
4 | Supported chips: | 4 | Supported 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 | |||
49 | http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146401 | 94 | http://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: |
54 | http://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 | ||
57 | Author: Guenter Roeck <linux@roeck-us.net> | 106 | Author: 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 | |||
75 | devices explicitly. Please see Documentation/i2c/instantiating-devices for | 124 | devices explicitly. Please see Documentation/i2c/instantiating-devices for |
76 | details. | 125 | details. |
77 | 126 | ||
78 | WARNING: Do not access chip registers using the i2cdump command, and do not use | 127 | .. warning:: |
79 | any of the i2ctools commands on a command register used to save and restore | 128 | |
80 | configuration 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 |
81 | this 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 |
82 | commands) as request to execute the command in question. Unless write accesses | 131 | configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by |
83 | to those registers are protected, this may result in power loss, board resets, | 132 | this driver interpret any access to those command registers (including read |
84 | and/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 | ||
87 | Platform data support | 138 | Platform data support |
@@ -110,6 +161,7 @@ Sysfs entries | |||
110 | The following attributes are supported. Limits are read-write; all other | 161 | The following attributes are supported. Limits are read-write; all other |
111 | attributes are read-only. | 162 | attributes are read-only. |
112 | 163 | ||
164 | ======================= ======================================================== | ||
113 | in1_label "vin" | 165 | in1_label "vin" |
114 | in1_input Measured input voltage. | 166 | in1_input Measured input voltage. |
115 | in1_min Minimum input voltage. | 167 | in1_min Minimum input voltage. |
@@ -158,3 +210,4 @@ temp[12]_min_alarm Chip temperature low alarm. | |||
158 | temp[12]_max_alarm Chip temperature high alarm. | 210 | temp[12]_max_alarm Chip temperature high alarm. |
159 | temp[12]_lcrit_alarm Chip temperature critical low alarm. | 211 | temp[12]_lcrit_alarm Chip temperature critical low alarm. |
160 | temp[12]_crit_alarm Chip temperature critical high alarm. | 212 | temp[12]_crit_alarm Chip temperature critical high alarm. |
213 | ======================= ======================================================== | ||