0001 Kernel driver max6639
0002 =====================
0003
0004 Supported chips:
0005
0006 * Maxim MAX6639
0007
0008 Prefix: 'max6639'
0009
0010 Addresses scanned: I2C 0x2c, 0x2e, 0x2f
0011
0012 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
0013
0014 Authors:
0015 - He Changqing <hechangqing@semptian.com>
0016 - Roland Stigge <stigge@antcom.de>
0017
0018 Description
0019 -----------
0020
0021 This driver implements support for the Maxim MAX6639. This chip is a 2-channel
0022 temperature monitor with dual PWM fan speed controller. It can monitor its own
0023 temperature and one external diode-connected transistor or two external
0024 diode-connected transistors.
0025
0026 The following device attributes are implemented via sysfs:
0027
0028 ====================== ==== ===================================================
0029 Attribute R/W Contents
0030 ====================== ==== ===================================================
0031 temp1_input R Temperature channel 1 input (0..150 C)
0032 temp2_input R Temperature channel 2 input (0..150 C)
0033 temp1_fault R Temperature channel 1 diode fault
0034 temp2_fault R Temperature channel 2 diode fault
0035 temp1_max RW Set THERM temperature for input 1
0036 (in C, see datasheet)
0037 temp2_max RW Set THERM temperature for input 2
0038 temp1_crit RW Set ALERT temperature for input 1
0039 temp2_crit RW Set ALERT temperature for input 2
0040 temp1_emergency RW Set OT temperature for input 1
0041 (in C, see datasheet)
0042 temp2_emergency RW Set OT temperature for input 2
0043 pwm1 RW Fan 1 target duty cycle (0..255)
0044 pwm2 RW Fan 2 target duty cycle (0..255)
0045 fan1_input R TACH1 fan tachometer input (in RPM)
0046 fan2_input R TACH2 fan tachometer input (in RPM)
0047 fan1_fault R Fan 1 fault
0048 fan2_fault R Fan 2 fault
0049 temp1_max_alarm R Alarm on THERM temperature on channel 1
0050 temp2_max_alarm R Alarm on THERM temperature on channel 2
0051 temp1_crit_alarm R Alarm on ALERT temperature on channel 1
0052 temp2_crit_alarm R Alarm on ALERT temperature on channel 2
0053 temp1_emergency_alarm R Alarm on OT temperature on channel 1
0054 temp2_emergency_alarm R Alarm on OT temperature on channel 2
0055 ====================== ==== ===================================================