blob: 3da54225f83cd07bbec0b7f86f3594308668ff48 [file] [log] [blame]
stigge@antcom.dea5b79d62011-01-20 18:42:55 +01001Kernel driver max6639
2=====================
3
4Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03005
stigge@antcom.dea5b79d62011-01-20 18:42:55 +01006 * Maxim MAX6639
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03007
stigge@antcom.dea5b79d62011-01-20 18:42:55 +01008 Prefix: 'max6639'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03009
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010010 Addresses scanned: I2C 0x2c, 0x2e, 0x2f
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030011
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010012 Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6639.pdf
13
14Authors:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030015 - He Changqing <hechangqing@semptian.com>
16 - Roland Stigge <stigge@antcom.de>
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010017
18Description
19-----------
20
21This driver implements support for the Maxim MAX6639. This chip is a 2-channel
22temperature monitor with dual PWM fan speed controller. It can monitor its own
23temperature and one external diode-connected transistor or two external
24diode-connected transistors.
25
26The following device attributes are implemented via sysfs:
27
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030028====================== ==== ===================================================
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010029Attribute R/W Contents
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030030====================== ==== ===================================================
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010031temp1_input R Temperature channel 1 input (0..150 C)
32temp2_input R Temperature channel 2 input (0..150 C)
33temp1_fault R Temperature channel 1 diode fault
34temp2_fault R Temperature channel 2 diode fault
35temp1_max RW Set THERM temperature for input 1
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030036 (in C, see datasheet)
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010037temp2_max RW Set THERM temperature for input 2
38temp1_crit RW Set ALERT temperature for input 1
39temp2_crit RW Set ALERT temperature for input 2
40temp1_emergency RW Set OT temperature for input 1
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030041 (in C, see datasheet)
stigge@antcom.dea5b79d62011-01-20 18:42:55 +010042temp2_emergency RW Set OT temperature for input 2
43pwm1 RW Fan 1 target duty cycle (0..255)
44pwm2 RW Fan 2 target duty cycle (0..255)
45fan1_input R TACH1 fan tachometer input (in RPM)
46fan2_input R TACH2 fan tachometer input (in RPM)
47fan1_fault R Fan 1 fault
48fan2_fault R Fan 2 fault
49temp1_max_alarm R Alarm on THERM temperature on channel 1
50temp2_max_alarm R Alarm on THERM temperature on channel 2
51temp1_crit_alarm R Alarm on ALERT temperature on channel 1
52temp2_crit_alarm R Alarm on ALERT temperature on channel 2
53temp1_emergency_alarm R Alarm on OT temperature on channel 1
54temp2_emergency_alarm R Alarm on OT temperature on channel 2
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030055====================== ==== ===================================================