Commit eff7687d authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

hwmon: (w83627ehf) Add support for the W83627UHG

This is essentially a stripped down version of the W83627DHG. Noticeable
difference is that it is still powered with +5V, as older models, even
though the ADC resolution is 8 mV as newer models have.

Thanks to Ulf Bruman (Saab Group) for doing all the testing.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 6ba71de5
...@@ -14,6 +14,10 @@ Supported chips: ...@@ -14,6 +14,10 @@ Supported chips:
Prefix: 'w83627dhg' Prefix: 'w83627dhg'
Addresses scanned: ISA address retrieved from Super I/O registers Addresses scanned: ISA address retrieved from Super I/O registers
Datasheet: not available Datasheet: not available
* Winbond W83627UHG
Prefix: 'w83627uhg'
Addresses scanned: ISA address retrieved from Super I/O registers
Datasheet: available from www.nuvoton.com
* Winbond W83667HG * Winbond W83667HG
Prefix: 'w83667hg' Prefix: 'w83667hg'
Addresses scanned: ISA address retrieved from Super I/O registers Addresses scanned: ISA address retrieved from Super I/O registers
...@@ -42,14 +46,13 @@ Description ...@@ -42,14 +46,13 @@ Description
----------- -----------
This driver implements support for the Winbond W83627EHF, W83627EHG, This driver implements support for the Winbond W83627EHF, W83627EHG,
W83627DHG, W83627DHG-P, W83667HG, W83667HG-B, W83667HG-I (NCT6775F), W83627DHG, W83627DHG-P, W83627UHG, W83667HG, W83667HG-B, W83667HG-I
and NCT6776F super I/O chips. We will refer to them collectively as (NCT6775F), and NCT6776F super I/O chips. We will refer to them collectively
Winbond chips. as Winbond chips.
The chips implement three temperature sensors (up to four for 667HG-B, and nine The chips implement 2 to 4 temperature sensors (9 for NCT6775F and NCT6776F),
for NCT6775F and NCT6776F), five fan rotation speed sensors, ten analog voltage 2 to 5 fan rotation speed sensors, 8 to 10 analog voltage sensors, one VID
sensors (only nine for the 627DHG), one VID (6 pins for the 627EHF/EHG, 8 pins (except for 627UHG), alarms with beep warnings (control unimplemented),
for the 627DHG and 667HG), alarms with beep warnings (control unimplemented),
and some automatic fan regulation strategies (plus manual fan control mode). and some automatic fan regulation strategies (plus manual fan control mode).
The temperature sensor sources on W82677HG-B, NCT6775F, and NCT6776F are The temperature sensor sources on W82677HG-B, NCT6775F, and NCT6776F are
...@@ -86,17 +89,16 @@ follows: ...@@ -86,17 +89,16 @@ follows:
temp1 -> pwm1 temp1 -> pwm1
temp2 -> pwm2 temp2 -> pwm2
temp3 -> pwm3 temp3 -> pwm3 (not on 627UHG)
prog -> pwm4 (not on 667HG and 667HG-B; the programmable setting is not prog -> pwm4 (not on 667HG and 667HG-B; the programmable setting is not
supported by the driver) supported by the driver)
/sys files /sys files
---------- ----------
name - this is a standard hwmon device entry. For the W83627EHF and W83627EHG, name - this is a standard hwmon device entry, it contains the name of
it is set to "w83627ehf", for the W83627DHG it is set to "w83627dhg", the device (see the prefix in the list of supported devices at
for the W83667HG and W83667HG-B it is set to "w83667hg", for NCT6775F it the top of this file)
is set to "nct6775", and for NCT6776F it is set to "nct6776".
pwm[1-4] - this file stores PWM duty cycle or DC value (fan speed) in range: pwm[1-4] - this file stores PWM duty cycle or DC value (fan speed) in range:
0 (stop) to 255 (full) 0 (stop) to 255 (full)
......
...@@ -1282,7 +1282,7 @@ config SENSORS_W83627HF ...@@ -1282,7 +1282,7 @@ config SENSORS_W83627HF
will be called w83627hf. will be called w83627hf.
config SENSORS_W83627EHF config SENSORS_W83627EHF
tristate "Winbond W83627EHF/EHG/DHG, W83667HG, NCT6775F, NCT6776F" tristate "Winbond W83627EHF/EHG/DHG/UHG, W83667HG, NCT6775F, NCT6776F"
depends on !PPC depends on !PPC
select HWMON_VID select HWMON_VID
help help
...@@ -1292,7 +1292,8 @@ config SENSORS_W83627EHF ...@@ -1292,7 +1292,8 @@ config SENSORS_W83627EHF
This driver also supports the W83627EHG, which is the lead-free This driver also supports the W83627EHG, which is the lead-free
version of the W83627EHF, and the W83627DHG, which is a similar version of the W83627EHF, and the W83627DHG, which is a similar
chip suited for specific Intel processors that use PECI such as chip suited for specific Intel processors that use PECI such as
the Core 2 Duo. the Core 2 Duo. And also the W83627UHG, which is a stripped down
version of the W83627DHG (as far as hardware monitoring goes.)
This driver also supports Nuvoton W83667HG, W83667HG-B, NCT6775F This driver also supports Nuvoton W83667HG, W83667HG-B, NCT6775F
(also known as W83667HG-I), and NCT6776F. (also known as W83667HG-I), and NCT6776F.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment