diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-02 11:46:49 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-15 01:39:17 -0400 |
commit | ec3e5a16446fef1891611fe3bdfa5954d1ddf5e4 (patch) | |
tree | dcf2c4ef1a1f6245930bb47cf1babff7db75b507 /Documentation/hwmon | |
parent | b84bb5186297d181075d917e9049da3a3b78d10d (diff) |
hwmon: (w83627ehf) Add support for Nuvoton NCT6775F and NCT6776F
This patch adds support for NCT6775F and NCT6776F to the w83627ehf driver.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Tested-by: Ian Dobson <i.dobson@planet-ian.com> (NCT6776F)
Tested-by: Zachary Marzec <zmarzec@gmail.com> (ASUS P8P67 PRO/NCT6776F)
Acked-by: Ian Dobson <i.dobson@planet-ian.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/w83627ehf | 59 |
1 files changed, 42 insertions, 17 deletions
diff --git a/Documentation/hwmon/w83627ehf b/Documentation/hwmon/w83627ehf index b634e980dc6d..76ffef94ed75 100644 --- a/Documentation/hwmon/w83627ehf +++ b/Documentation/hwmon/w83627ehf | |||
@@ -22,6 +22,14 @@ Supported chips: | |||
22 | Prefix: 'w83667hg' | 22 | Prefix: 'w83667hg' |
23 | Addresses scanned: ISA address retrieved from Super I/O registers | 23 | Addresses scanned: ISA address retrieved from Super I/O registers |
24 | Datasheet: Available from Nuvoton upon request | 24 | Datasheet: Available from Nuvoton upon request |
25 | * Nuvoton NCT6775F/W83667HG-I | ||
26 | Prefix: 'nct6775' | ||
27 | Addresses scanned: ISA address retrieved from Super I/O registers | ||
28 | Datasheet: Available from Nuvoton upon request | ||
29 | * Nuvoton NCT6776F | ||
30 | Prefix: 'nct6776' | ||
31 | Addresses scanned: ISA address retrieved from Super I/O registers | ||
32 | Datasheet: Available from Nuvoton upon request | ||
25 | 33 | ||
26 | Authors: | 34 | Authors: |
27 | Jean Delvare <khali@linux-fr.org> | 35 | Jean Delvare <khali@linux-fr.org> |
@@ -34,24 +42,28 @@ Description | |||
34 | ----------- | 42 | ----------- |
35 | 43 | ||
36 | This driver implements support for the Winbond W83627EHF, W83627EHG, | 44 | This driver implements support for the Winbond W83627EHF, W83627EHG, |
37 | W83627DHG, W83627DHG-P, W83667HG and W83667HG-B super I/O chips. | 45 | W83627DHG, W83627DHG-P, W83667HG, W83667HG-B, W83667HG-I (NCT6775F), |
38 | We will refer to them collectively as Winbond chips. | 46 | and NCT6776F super I/O chips. We will refer to them collectively as |
39 | 47 | Winbond chips. | |
40 | The chips implement three temperature sensors (up to four for 667HG-B), | 48 | |
41 | five fan rotation speed sensors, ten analog voltage sensors (only nine for the | 49 | The chips implement three temperature sensors (up to four for 667HG-B, and nine |
42 | 627DHG), one VID (6 pins for the 627EHF/EHG, 8 pins for the 627DHG and 667HG), | 50 | for NCT6775F and NCT6776F), five fan rotation speed sensors, ten analog voltage |
43 | alarms with beep warnings (control unimplemented), and some automatic fan | 51 | sensors (only nine for the 627DHG), one VID (6 pins for the 627EHF/EHG, 8 pins |
44 | regulation strategies (plus manual fan control mode). | 52 | for the 627DHG and 667HG), alarms with beep warnings (control unimplemented), |
45 | 53 | and some automatic fan regulation strategies (plus manual fan control mode). | |
46 | The temperature sensor sources on W82677HG-B are configurable. temp4 is only | 54 | |
47 | reported if its temperature source differs from the temperature sources of the | 55 | The temperature sensor sources on W82677HG-B, NCT6775F, and NCT6776F are |
48 | other three temperature sensors. The configured source for each of the | 56 | configurable. temp4 and higher attributes are only reported if its temperature |
49 | temperature sensors is reported in tempX_label. | 57 | source differs from the temperature sources of the already reported temperature |
58 | sensors. The configured source for each of the temperature sensors is provided | ||
59 | in tempX_label. | ||
50 | 60 | ||
51 | Temperatures are measured in degrees Celsius and measurement resolution is 1 | 61 | Temperatures are measured in degrees Celsius and measurement resolution is 1 |
52 | degC for temp1 and temp4, and 0.5 degC for temp2 and temp3. An alarm is | 62 | degC for temp1 and and 0.5 degC for temp2 and temp3. For temp4 and higher, |
53 | triggered when the temperature gets higher than high limit; it stays on until | 63 | resolution is 1 degC for W83667HG-B and 0.0 degC for NCT6775F and NCT6776F. |
54 | the temperature falls below the hysteresis value. | 64 | An alarm is triggered when the temperature gets higher than high limit; |
65 | it stays on until the temperature falls below the hysteresis value. | ||
66 | Alarms are only supported for temp1, temp2, and temp3. | ||
55 | 67 | ||
56 | Fan rotation speeds are reported in RPM (rotations per minute). An alarm is | 68 | Fan rotation speeds are reported in RPM (rotations per minute). An alarm is |
57 | triggered if the rotation speed has dropped below a programmable limit. Fan | 69 | triggered if the rotation speed has dropped below a programmable limit. Fan |
@@ -83,7 +95,8 @@ prog -> pwm4 (not on 667HG and 667HG-B; the programmable setting is not | |||
83 | 95 | ||
84 | name - this is a standard hwmon device entry. For the W83627EHF and W83627EHG, | 96 | name - this is a standard hwmon device entry. For the W83627EHF and W83627EHG, |
85 | it is set to "w83627ehf", for the W83627DHG it is set to "w83627dhg", | 97 | it is set to "w83627ehf", for the W83627DHG it is set to "w83627dhg", |
86 | and for the W83667HG it is set to "w83667hg". | 98 | for the W83667HG and W83667HG-B it is set to "w83667hg", for NCT6775F it |
99 | is set to "nct6775", and for NCT6776F it is set to "nct6776". | ||
87 | 100 | ||
88 | pwm[1-4] - this file stores PWM duty cycle or DC value (fan speed) in range: | 101 | pwm[1-4] - this file stores PWM duty cycle or DC value (fan speed) in range: |
89 | 0 (stop) to 255 (full) | 102 | 0 (stop) to 255 (full) |
@@ -93,6 +106,18 @@ pwm[1-4]_enable - this file controls mode of fan/temperature control: | |||
93 | * 2 "Thermal Cruise" mode | 106 | * 2 "Thermal Cruise" mode |
94 | * 3 "Fan Speed Cruise" mode | 107 | * 3 "Fan Speed Cruise" mode |
95 | * 4 "Smart Fan III" mode | 108 | * 4 "Smart Fan III" mode |
109 | * 5 "Smart Fan IV" mode | ||
110 | |||
111 | SmartFan III mode is not supported on NCT6776F. | ||
112 | |||
113 | SmartFan IV mode is configurable only if it was configured at system | ||
114 | startup, and is only supported for W83677HG-B, NCT6775F, and NCT6776F. | ||
115 | SmartFan IV operational parameters can not be configured at this time, | ||
116 | and the various pwm attributes are not used in SmartFan IV mode. | ||
117 | The attributes can be written to, which is useful if you plan to | ||
118 | configure the system for a different pwm mode. However, the information | ||
119 | returned when reading pwm attributes is unrelated to SmartFan IV | ||
120 | operation. | ||
96 | 121 | ||
97 | pwm[1-4]_mode - controls if output is PWM or DC level | 122 | pwm[1-4]_mode - controls if output is PWM or DC level |
98 | * 0 DC output (0 - 12v) | 123 | * 0 DC output (0 - 12v) |