2011-01-21 01:42:55 +08:00
|
|
|
Kernel driver max6639
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-01-21 01:42:55 +08:00
|
|
|
* Maxim MAX6639
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-01-21 01:42:55 +08:00
|
|
|
Prefix: 'max6639'
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-01-21 01:42:55 +08:00
|
|
|
Addresses scanned: I2C 0x2c, 0x2e, 0x2f
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2022-01-28 00:17:27 +08:00
|
|
|
Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
|
2011-01-21 01:42:55 +08:00
|
|
|
|
|
|
|
Authors:
|
2019-04-17 17:46:28 +08:00
|
|
|
- He Changqing <hechangqing@semptian.com>
|
|
|
|
- Roland Stigge <stigge@antcom.de>
|
2011-01-21 01:42:55 +08:00
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This driver implements support for the Maxim MAX6639. This chip is a 2-channel
|
|
|
|
temperature monitor with dual PWM fan speed controller. It can monitor its own
|
|
|
|
temperature and one external diode-connected transistor or two external
|
|
|
|
diode-connected transistors.
|
|
|
|
|
|
|
|
The following device attributes are implemented via sysfs:
|
|
|
|
|
2019-04-17 17:46:28 +08:00
|
|
|
====================== ==== ===================================================
|
2011-01-21 01:42:55 +08:00
|
|
|
Attribute R/W Contents
|
2019-04-17 17:46:28 +08:00
|
|
|
====================== ==== ===================================================
|
2011-01-21 01:42:55 +08:00
|
|
|
temp1_input R Temperature channel 1 input (0..150 C)
|
|
|
|
temp2_input R Temperature channel 2 input (0..150 C)
|
|
|
|
temp1_fault R Temperature channel 1 diode fault
|
|
|
|
temp2_fault R Temperature channel 2 diode fault
|
|
|
|
temp1_max RW Set THERM temperature for input 1
|
2019-04-17 17:46:28 +08:00
|
|
|
(in C, see datasheet)
|
2011-01-21 01:42:55 +08:00
|
|
|
temp2_max RW Set THERM temperature for input 2
|
|
|
|
temp1_crit RW Set ALERT temperature for input 1
|
|
|
|
temp2_crit RW Set ALERT temperature for input 2
|
|
|
|
temp1_emergency RW Set OT temperature for input 1
|
2019-04-17 17:46:28 +08:00
|
|
|
(in C, see datasheet)
|
2011-01-21 01:42:55 +08:00
|
|
|
temp2_emergency RW Set OT temperature for input 2
|
|
|
|
pwm1 RW Fan 1 target duty cycle (0..255)
|
|
|
|
pwm2 RW Fan 2 target duty cycle (0..255)
|
|
|
|
fan1_input R TACH1 fan tachometer input (in RPM)
|
|
|
|
fan2_input R TACH2 fan tachometer input (in RPM)
|
|
|
|
fan1_fault R Fan 1 fault
|
|
|
|
fan2_fault R Fan 2 fault
|
|
|
|
temp1_max_alarm R Alarm on THERM temperature on channel 1
|
|
|
|
temp2_max_alarm R Alarm on THERM temperature on channel 2
|
|
|
|
temp1_crit_alarm R Alarm on ALERT temperature on channel 1
|
|
|
|
temp2_crit_alarm R Alarm on ALERT temperature on channel 2
|
|
|
|
temp1_emergency_alarm R Alarm on OT temperature on channel 1
|
|
|
|
temp2_emergency_alarm R Alarm on OT temperature on channel 2
|
2019-04-17 17:46:28 +08:00
|
|
|
====================== ==== ===================================================
|