| 1 |
Kernel driver max6639 |
| 2 |
===================== |
| 3 |
|
| 4 |
Supported chips: |
| 5 |
|
| 6 |
* Maxim MAX6639 |
| 7 |
|
| 8 |
Prefix: 'max6639' |
| 9 |
|
| 10 |
Addresses scanned: I2C 0x2c, 0x2e, 0x2f |
| 11 |
|
| 12 |
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max6639-max6639f.pdf |
| 13 |
|
| 14 |
Authors: |
| 15 |
- He Changqing <[email protected]> |
| 16 |
- Roland Stigge <[email protected]> |
| 17 |
|
| 18 |
Description |
| 19 |
----------- |
| 20 |
|
| 21 |
This driver implements support for the Maxim MAX6639. This chip is a 2-channel |
| 22 |
temperature monitor with dual PWM fan speed controller. It can monitor its own |
| 23 |
temperature and one external diode-connected transistor or two external |
| 24 |
diode-connected transistors. |
| 25 |
|
| 26 |
The following device attributes are implemented via sysfs: |
| 27 |
|
| 28 |
====================== ==== =================================================== |
| 29 |
Attribute R/W Contents |
| 30 |
====================== ==== =================================================== |
| 31 |
temp1_input R Temperature channel 1 input (0..150 C) |
| 32 |
temp2_input R Temperature channel 2 input (0..150 C) |
| 33 |
temp1_fault R Temperature channel 1 diode fault |
| 34 |
temp2_fault R Temperature channel 2 diode fault |
| 35 |
temp1_max RW Set THERM temperature for input 1 |
| 36 |
(in C, see datasheet) |
| 37 |
temp2_max RW Set THERM temperature for input 2 |
| 38 |
temp1_crit RW Set ALERT temperature for input 1 |
| 39 |
temp2_crit RW Set ALERT temperature for input 2 |
| 40 |
temp1_emergency RW Set OT temperature for input 1 |
| 41 |
(in C, see datasheet) |
| 42 |
temp2_emergency RW Set OT temperature for input 2 |
| 43 |
pwm1 RW Fan 1 target duty cycle (0..255) |
| 44 |
pwm2 RW Fan 2 target duty cycle (0..255) |
| 45 |
fan1_input R TACH1 fan tachometer input (in RPM) |
| 46 |
fan2_input R TACH2 fan tachometer input (in RPM) |
| 47 |
fan1_fault R Fan 1 fault |
| 48 |
fan2_fault R Fan 2 fault |
| 49 |
temp1_max_alarm R Alarm on THERM temperature on channel 1 |
| 50 |
temp2_max_alarm R Alarm on THERM temperature on channel 2 |
| 51 |
temp1_crit_alarm R Alarm on ALERT temperature on channel 1 |
| 52 |
temp2_crit_alarm R Alarm on ALERT temperature on channel 2 |
| 53 |
temp1_emergency_alarm R Alarm on OT temperature on channel 1 |
| 54 |
temp2_emergency_alarm R Alarm on OT temperature on channel 2 |
| 55 |
====================== ==== =================================================== |