xref: /linux/Documentation/hwmon/max6639.rst (revision 7ebd8b66dd9e5a0b65e5ee5e2b8e7ca382ec97b7)
1*7ebd8b66SMauro Carvalho ChehabKernel driver max6639
2*7ebd8b66SMauro Carvalho Chehab=====================
3*7ebd8b66SMauro Carvalho Chehab
4*7ebd8b66SMauro Carvalho ChehabSupported chips:
5*7ebd8b66SMauro Carvalho Chehab
6*7ebd8b66SMauro Carvalho Chehab  * Maxim MAX6639
7*7ebd8b66SMauro Carvalho Chehab
8*7ebd8b66SMauro Carvalho Chehab    Prefix: 'max6639'
9*7ebd8b66SMauro Carvalho Chehab
10*7ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x2c, 0x2e, 0x2f
11*7ebd8b66SMauro Carvalho Chehab
12*7ebd8b66SMauro Carvalho Chehab    Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6639.pdf
13*7ebd8b66SMauro Carvalho Chehab
14*7ebd8b66SMauro Carvalho ChehabAuthors:
15*7ebd8b66SMauro Carvalho Chehab    - He Changqing <hechangqing@semptian.com>
16*7ebd8b66SMauro Carvalho Chehab    - Roland Stigge <stigge@antcom.de>
17*7ebd8b66SMauro Carvalho Chehab
18*7ebd8b66SMauro Carvalho ChehabDescription
19*7ebd8b66SMauro Carvalho Chehab-----------
20*7ebd8b66SMauro Carvalho Chehab
21*7ebd8b66SMauro Carvalho ChehabThis driver implements support for the Maxim MAX6639. This chip is a 2-channel
22*7ebd8b66SMauro Carvalho Chehabtemperature monitor with dual PWM fan speed controller. It can monitor its own
23*7ebd8b66SMauro Carvalho Chehabtemperature and one external diode-connected transistor or two external
24*7ebd8b66SMauro Carvalho Chehabdiode-connected transistors.
25*7ebd8b66SMauro Carvalho Chehab
26*7ebd8b66SMauro Carvalho ChehabThe following device attributes are implemented via sysfs:
27*7ebd8b66SMauro Carvalho Chehab
28*7ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
29*7ebd8b66SMauro Carvalho ChehabAttribute              R/W  Contents
30*7ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
31*7ebd8b66SMauro Carvalho Chehabtemp1_input            R    Temperature channel 1 input (0..150 C)
32*7ebd8b66SMauro Carvalho Chehabtemp2_input            R    Temperature channel 2 input (0..150 C)
33*7ebd8b66SMauro Carvalho Chehabtemp1_fault            R    Temperature channel 1 diode fault
34*7ebd8b66SMauro Carvalho Chehabtemp2_fault            R    Temperature channel 2 diode fault
35*7ebd8b66SMauro Carvalho Chehabtemp1_max              RW   Set THERM temperature for input 1
36*7ebd8b66SMauro Carvalho Chehab			    (in C, see datasheet)
37*7ebd8b66SMauro Carvalho Chehabtemp2_max              RW   Set THERM temperature for input 2
38*7ebd8b66SMauro Carvalho Chehabtemp1_crit             RW   Set ALERT temperature for input 1
39*7ebd8b66SMauro Carvalho Chehabtemp2_crit             RW   Set ALERT temperature for input 2
40*7ebd8b66SMauro Carvalho Chehabtemp1_emergency        RW   Set OT temperature for input 1
41*7ebd8b66SMauro Carvalho Chehab			    (in C, see datasheet)
42*7ebd8b66SMauro Carvalho Chehabtemp2_emergency        RW   Set OT temperature for input 2
43*7ebd8b66SMauro Carvalho Chehabpwm1                   RW   Fan 1 target duty cycle (0..255)
44*7ebd8b66SMauro Carvalho Chehabpwm2                   RW   Fan 2 target duty cycle (0..255)
45*7ebd8b66SMauro Carvalho Chehabfan1_input             R    TACH1 fan tachometer input (in RPM)
46*7ebd8b66SMauro Carvalho Chehabfan2_input             R    TACH2 fan tachometer input (in RPM)
47*7ebd8b66SMauro Carvalho Chehabfan1_fault             R    Fan 1 fault
48*7ebd8b66SMauro Carvalho Chehabfan2_fault             R    Fan 2 fault
49*7ebd8b66SMauro Carvalho Chehabtemp1_max_alarm        R    Alarm on THERM temperature on channel 1
50*7ebd8b66SMauro Carvalho Chehabtemp2_max_alarm        R    Alarm on THERM temperature on channel 2
51*7ebd8b66SMauro Carvalho Chehabtemp1_crit_alarm       R    Alarm on ALERT temperature on channel 1
52*7ebd8b66SMauro Carvalho Chehabtemp2_crit_alarm       R    Alarm on ALERT temperature on channel 2
53*7ebd8b66SMauro Carvalho Chehabtemp1_emergency_alarm  R    Alarm on OT temperature on channel 1
54*7ebd8b66SMauro Carvalho Chehabtemp2_emergency_alarm  R    Alarm on OT temperature on channel 2
55*7ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
56