17ebd8b66SMauro Carvalho ChehabKernel driver nct7904 27ebd8b66SMauro Carvalho Chehab===================== 37ebd8b66SMauro Carvalho Chehab 47ebd8b66SMauro Carvalho ChehabSupported chip: 57ebd8b66SMauro Carvalho Chehab 67ebd8b66SMauro Carvalho Chehab * Nuvoton NCT7904D 77ebd8b66SMauro Carvalho Chehab 87ebd8b66SMauro Carvalho Chehab Prefix: nct7904 97ebd8b66SMauro Carvalho Chehab 107ebd8b66SMauro Carvalho Chehab Addresses: I2C 0x2d, 0x2e 117ebd8b66SMauro Carvalho Chehab 127ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at Nuvoton website 137ebd8b66SMauro Carvalho Chehab 147ebd8b66SMauro Carvalho Chehab http://www.nuvoton.com/ 157ebd8b66SMauro Carvalho Chehab 167ebd8b66SMauro Carvalho ChehabAuthor: Vadim V. Vlasov <vvlasov@dev.rtsoft.ru> 177ebd8b66SMauro Carvalho Chehab 187ebd8b66SMauro Carvalho Chehab 197ebd8b66SMauro Carvalho ChehabDescription 207ebd8b66SMauro Carvalho Chehab----------- 217ebd8b66SMauro Carvalho Chehab 227ebd8b66SMauro Carvalho ChehabThe NCT7904D is a hardware monitor supporting up to 20 voltage sensors, 237ebd8b66SMauro Carvalho Chehabinternal temperature sensor, Intel PECI and AMD SB-TSI CPU temperature 247ebd8b66SMauro Carvalho Chehabinterface, up to 12 fan tachometer inputs, up to 4 fan control channels 257ebd8b66SMauro Carvalho Chehabwith SmartFan. 267ebd8b66SMauro Carvalho Chehab 277ebd8b66SMauro Carvalho Chehab 287ebd8b66SMauro Carvalho ChehabSysfs entries 297ebd8b66SMauro Carvalho Chehab------------- 307ebd8b66SMauro Carvalho Chehab 317ebd8b66SMauro Carvalho ChehabCurrently, the driver supports only the following features: 327ebd8b66SMauro Carvalho Chehab 337ebd8b66SMauro Carvalho Chehab======================= ======================================================= 347ebd8b66SMauro Carvalho Chehabin[1-20]_input Input voltage measurements (mV) 357ebd8b66SMauro Carvalho Chehab 367ebd8b66SMauro Carvalho Chehabfan[1-12]_input Fan tachometer measurements (rpm) 377ebd8b66SMauro Carvalho Chehab 387ebd8b66SMauro Carvalho Chehabtemp1_input Local temperature (1/1000 degree, 397ebd8b66SMauro Carvalho Chehab 0.125 degree resolution) 407ebd8b66SMauro Carvalho Chehab 417ebd8b66SMauro Carvalho Chehabtemp[2-9]_input CPU temperatures (1/1000 degree, 427ebd8b66SMauro Carvalho Chehab 0.125 degree resolution) 437ebd8b66SMauro Carvalho Chehab 447ebd8b66SMauro Carvalho Chehabpwm[1-4]_enable R/W, 1/2 for manual or SmartFan mode 457ebd8b66SMauro Carvalho Chehab Setting SmartFan mode is supported only if it has been 467ebd8b66SMauro Carvalho Chehab previously configured by BIOS (or configuration EEPROM) 477ebd8b66SMauro Carvalho Chehab 487ebd8b66SMauro Carvalho Chehabpwm[1-4] R/O in SmartFan mode, R/W in manual control mode 497ebd8b66SMauro Carvalho Chehab======================= ======================================================= 507ebd8b66SMauro Carvalho Chehab 517ebd8b66SMauro Carvalho ChehabThe driver checks sensor control registers and does not export the sensors 527ebd8b66SMauro Carvalho Chehabthat are not enabled. Anyway, a sensor that is enabled may actually be not 537ebd8b66SMauro Carvalho Chehabconnected and thus provide zero readings. 547ebd8b66SMauro Carvalho Chehab 557ebd8b66SMauro Carvalho Chehab 567ebd8b66SMauro Carvalho ChehabLimitations 577ebd8b66SMauro Carvalho Chehab----------- 587ebd8b66SMauro Carvalho Chehab 597ebd8b66SMauro Carvalho ChehabThe following features are not supported in current version: 607ebd8b66SMauro Carvalho Chehab 617ebd8b66SMauro Carvalho Chehab - SmartFan control 627ebd8b66SMauro Carvalho Chehab - Watchdog 637ebd8b66SMauro Carvalho Chehab - GPIO 647ebd8b66SMauro Carvalho Chehab - external temperature sensors 657ebd8b66SMauro Carvalho Chehab - SMI 667ebd8b66SMauro Carvalho Chehab - min/max values 677ebd8b66SMauro Carvalho Chehab - many other... 68