Commit | Line | Data |
---|---|---|
195a4b42 IH |
1 | Kernel driver max31790 |
2 | ====================== | |
3 | ||
4 | Supported chips: | |
b04f2f7d | 5 | |
195a4b42 | 6 | * Maxim MAX31790 |
b04f2f7d | 7 | |
195a4b42 | 8 | Prefix: 'max31790' |
b04f2f7d | 9 | |
195a4b42 | 10 | Addresses scanned: - |
b04f2f7d | 11 | |
ad736c1a | 12 | Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf |
195a4b42 IH |
13 | |
14 | Author: Il Han <corone.il.han@gmail.com> | |
15 | ||
16 | ||
17 | Description | |
18 | ----------- | |
19 | ||
20 | This driver implements support for the Maxim MAX31790 chip. | |
21 | ||
22 | The MAX31790 controls the speeds of up to six fans using six independent | |
23 | PWM outputs. The desired fan speeds (or PWM duty cycles) are written | |
24 | through the I2C interface. The outputs drive "4-wire" fans directly, | |
25 | or can be used to modulate the fan's power terminals using an external | |
26 | pass transistor. | |
27 | ||
28 | Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%) | |
29 | monitoring and control of fan RPM as well as detection of fan failure. | |
30 | Six pins are dedicated tachometer inputs. Any of the six PWM outputs can | |
31 | also be configured to serve as tachometer inputs. | |
32 | ||
33 | ||
34 | Sysfs entries | |
35 | ------------- | |
36 | ||
b04f2f7d | 37 | ================== === ======================================================= |
195a4b42 IH |
38 | fan[1-12]_input RO fan tachometer speed in RPM |
39 | fan[1-12]_fault RO fan experienced fault | |
40 | fan[1-6]_target RW desired fan speed in RPM | |
5b38279e | 41 | fan[1-6]_enable RW enable or disable the tachometer input |
148c847c | 42 | pwm[1-6]_enable RW regulator mode, 0=disabled (duty cycle=0%), 1=manual mode, 2=rpm mode |
897f6339 GR |
43 | pwm[1-6] RW read: current pwm duty cycle, |
44 | write: target pwm duty cycle (0-255) | |
b04f2f7d | 45 | ================== === ======================================================= |