Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 1 | Kernel driver nct7904 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 2 | ===================== |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 3 | |
| 4 | Supported chip: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 5 | |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 6 | * Nuvoton NCT7904D |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 7 | |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 8 | Prefix: nct7904 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 9 | |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 10 | Addresses: I2C 0x2d, 0x2e |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 11 | |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 12 | Datasheet: Publicly available at Nuvoton website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 13 | |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 14 | http://www.nuvoton.com/ |
| 15 | |
| 16 | Author: Vadim V. Vlasov <vvlasov@dev.rtsoft.ru> |
| 17 | |
| 18 | |
| 19 | Description |
| 20 | ----------- |
| 21 | |
| 22 | The NCT7904D is a hardware monitor supporting up to 20 voltage sensors, |
| 23 | internal temperature sensor, Intel PECI and AMD SB-TSI CPU temperature |
| 24 | interface, up to 12 fan tachometer inputs, up to 4 fan control channels |
| 25 | with SmartFan. |
| 26 | |
| 27 | |
| 28 | Sysfs entries |
| 29 | ------------- |
| 30 | |
| 31 | Currently, the driver supports only the following features: |
| 32 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 33 | ======================= ======================================================= |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 34 | in[1-20]_input Input voltage measurements (mV) |
| 35 | |
| 36 | fan[1-12]_input Fan tachometer measurements (rpm) |
| 37 | |
| 38 | temp1_input Local temperature (1/1000 degree, |
| 39 | 0.125 degree resolution) |
| 40 | |
| 41 | temp[2-9]_input CPU temperatures (1/1000 degree, |
| 42 | 0.125 degree resolution) |
| 43 | |
Guenter Roeck | 0d6aaff | 2015-07-27 10:21:46 -0700 | [diff] [blame] | 44 | pwm[1-4]_enable R/W, 1/2 for manual or SmartFan mode |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 45 | Setting SmartFan mode is supported only if it has been |
| 46 | previously configured by BIOS (or configuration EEPROM) |
| 47 | |
Guenter Roeck | 0d6aaff | 2015-07-27 10:21:46 -0700 | [diff] [blame] | 48 | pwm[1-4] R/O in SmartFan mode, R/W in manual control mode |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 49 | ======================= ======================================================= |
Vadim V. Vlasov | 9c947d2 | 2015-02-27 16:16:00 +0300 | [diff] [blame] | 50 | |
| 51 | The driver checks sensor control registers and does not export the sensors |
| 52 | that are not enabled. Anyway, a sensor that is enabled may actually be not |
| 53 | connected and thus provide zero readings. |
| 54 | |
| 55 | |
| 56 | Limitations |
| 57 | ----------- |
| 58 | |
| 59 | The following features are not supported in current version: |
| 60 | |
| 61 | - SmartFan control |
| 62 | - Watchdog |
| 63 | - GPIO |
| 64 | - external temperature sensors |
| 65 | - SMI |
| 66 | - min/max values |
| 67 | - many other... |