aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-11-17 00:55:24 -0500
committerGuenter Roeck <linux@roeck-us.net>2013-01-26 00:03:55 -0500
commit9e3970fba9ea43bc2c215f71f78bcf766c1775e7 (patch)
treec64b786b0cd8dd25f7bcf4980e7e1e6dd59813b8
parentc25fb816298138a4b12c606f0aaa018bdd3cc09c (diff)
hwmon: (coretemp) Document and add support for additional CPU models
Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r--Documentation/hwmon/coretemp9
-rw-r--r--drivers/hwmon/coretemp.c5
2 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp
index 3374c085678d..fec5a9bf755f 100644
--- a/Documentation/hwmon/coretemp
+++ b/Documentation/hwmon/coretemp
@@ -66,6 +66,7 @@ Process Processor TjMax(C)
66 i5 3470T 91 66 i5 3470T 91
67 67
6832nm Core i3/i5/i7 Processors 6832nm Core i3/i5/i7 Processors
69 i7 2600 98
69 i7 660UM/640/620, 640LM/620, 620M, 610E 105 70 i7 660UM/640/620, 640LM/620, 620M, 610E 105
70 i5 540UM/520/430, 540M/520/450/430 105 71 i5 540UM/520/430, 540M/520/450/430 105
71 i3 330E, 370M/350/330 90 rPGA, 105 BGA 72 i3 330E, 370M/350/330 90 rPGA, 105 BGA
@@ -79,7 +80,10 @@ Process Processor TjMax(C)
79 P4505/P4500 90 80 P4505/P4500 90
80 81
8132nm Atom Processors 8232nm Atom Processors
83 S1260/1220 95
84 S1240 102
82 Z2460 90 85 Z2460 90
86 Z2760 90
83 D2700/2550/2500 100 87 D2700/2550/2500 100
84 N2850/2800/2650/2600 100 88 N2850/2800/2650/2600 100
85 89
@@ -98,6 +102,7 @@ Process Processor TjMax(C)
98 102
9945nm Atom Processors 10345nm Atom Processors
100 D525/510/425/410 100 104 D525/510/425/410 100
105 K525/510/425/410 100
101 Z670/650 90 106 Z670/650 90
102 Z560/550/540/530P/530/520PT/520/515/510PT/510P 90 107 Z560/550/540/530P/530/520PT/520/515/510PT/510P 90
103 Z510/500 90 108 Z510/500 90
@@ -107,7 +112,11 @@ Process Processor TjMax(C)
107 330/230 125 112 330/230 125
108 E680/660/640/620 90 113 E680/660/640/620 90
109 E680T/660T/640T/620T 110 114 E680T/660T/640T/620T 110
115 E665C/645C 90
116 E665CT/645CT 110
110 CE4170/4150/4110 110 117 CE4170/4150/4110 110
118 CE4200 series unknown
119 CE5300 series unknown
111 120
11245nm Core2 Processors 12145nm Core2 Processors
113 Solo ULV SU3500/3300 100 122 Solo ULV SU3500/3300 100
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index d64923d63537..3f1e297663ad 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -198,7 +198,7 @@ struct tjmax {
198static const struct tjmax __cpuinitconst tjmax_table[] = { 198static const struct tjmax __cpuinitconst tjmax_table[] = {
199 { "CPU 230", 100000 }, /* Model 0x1c, stepping 2 */ 199 { "CPU 230", 100000 }, /* Model 0x1c, stepping 2 */
200 { "CPU 330", 125000 }, /* Model 0x1c, stepping 2 */ 200 { "CPU 330", 125000 }, /* Model 0x1c, stepping 2 */
201 { "CPU CE4110", 110000 }, /* Model 0x1c, stepping 10 */ 201 { "CPU CE4110", 110000 }, /* Model 0x1c, stepping 10 Sodaville */
202 { "CPU CE4150", 110000 }, /* Model 0x1c, stepping 10 */ 202 { "CPU CE4150", 110000 }, /* Model 0x1c, stepping 10 */
203 { "CPU CE4170", 110000 }, /* Model 0x1c, stepping 10 */ 203 { "CPU CE4170", 110000 }, /* Model 0x1c, stepping 10 */
204}; 204};
@@ -212,7 +212,7 @@ struct tjmax_model {
212#define ANY 0xff 212#define ANY 0xff
213 213
214static const struct tjmax_model __cpuinitconst tjmax_model_table[] = { 214static const struct tjmax_model __cpuinitconst tjmax_model_table[] = {
215 { 0x1c, 10, 100000 }, /* D4xx, N4xx, D5xx, N5xx */ 215 { 0x1c, 10, 100000 }, /* D4xx, K4xx, N4xx, D5xx, K5xx, N5xx */
216 { 0x1c, ANY, 90000 }, /* Z5xx, N2xx, possibly others 216 { 0x1c, ANY, 90000 }, /* Z5xx, N2xx, possibly others
217 * Note: Also matches 230 and 330, 217 * Note: Also matches 230 and 330,
218 * which are covered by tjmax_table 218 * which are covered by tjmax_table
@@ -222,6 +222,7 @@ static const struct tjmax_model __cpuinitconst tjmax_model_table[] = {
222 * is undetectable by software 222 * is undetectable by software
223 */ 223 */
224 { 0x27, ANY, 90000 }, /* Atom Medfield (Z2460) */ 224 { 0x27, ANY, 90000 }, /* Atom Medfield (Z2460) */
225 { 0x35, ANY, 90000 }, /* Atom Clover Trail/Cloverview (Z2760) */
225 { 0x36, ANY, 100000 }, /* Atom Cedar Trail/Cedarview (N2xxx, D2xxx) */ 226 { 0x36, ANY, 100000 }, /* Atom Cedar Trail/Cedarview (N2xxx, D2xxx) */
226}; 227};
227 228