Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 1 | Kernel driver max31785 |
| 2 | ====================== |
| 3 | |
| 4 | Supported chips: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 5 | |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 6 | * Maxim MAX31785, MAX31785A |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 7 | |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 8 | Prefix: 'max31785' or 'max31785a' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 9 | |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 10 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 11 | |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 12 | Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf |
| 13 | |
| 14 | Author: Andrew Jeffery <andrew@aj.id.au> |
| 15 | |
| 16 | Description |
| 17 | ----------- |
| 18 | |
| 19 | The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan |
| 20 | management with temperature and remote voltage sensing. Various fan control |
| 21 | features are provided, including PWM frequency control, temperature hysteresis, |
| 22 | dual tachometer measurements, and fan health monitoring. |
| 23 | |
Andrew Jeffery | cf583b4 | 2017-11-20 15:12:06 +1030 | [diff] [blame] | 24 | For dual-rotor configurations the MAX31785A exposes the second rotor tachometer |
| 25 | readings in attributes fan[5-8]_input. By contrast the MAX31785 only exposes |
| 26 | the slowest rotor measurement, and does so in the fan[1-4]_input attributes. |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 27 | |
| 28 | Usage Notes |
| 29 | ----------- |
| 30 | |
| 31 | This driver does not probe for PMBus devices. You will have to instantiate |
| 32 | devices explicitly. |
| 33 | |
| 34 | Sysfs attributes |
| 35 | ---------------- |
| 36 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 37 | ======================= ======================================================= |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 38 | fan[1-4]_alarm Fan alarm. |
| 39 | fan[1-4]_fault Fan fault. |
Andrew Jeffery | cf583b4 | 2017-11-20 15:12:06 +1030 | [diff] [blame] | 40 | fan[1-8]_input Fan RPM. On the MAX31785A, inputs 5-8 correspond to the |
| 41 | second rotor of fans 1-4 |
Andrew Jeffery | 56ad86b | 2017-11-20 15:12:04 +1030 | [diff] [blame] | 42 | fan[1-4]_target Fan input target |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 43 | |
| 44 | in[1-6]_crit Critical maximum output voltage |
| 45 | in[1-6]_crit_alarm Output voltage critical high alarm |
| 46 | in[1-6]_input Measured output voltage |
| 47 | in[1-6]_label "vout[18-23]" |
| 48 | in[1-6]_lcrit Critical minimum output voltage |
| 49 | in[1-6]_lcrit_alarm Output voltage critical low alarm |
| 50 | in[1-6]_max Maximum output voltage |
| 51 | in[1-6]_max_alarm Output voltage high alarm |
| 52 | in[1-6]_min Minimum output voltage |
| 53 | in[1-6]_min_alarm Output voltage low alarm |
| 54 | |
Andrew Jeffery | 56ad86b | 2017-11-20 15:12:04 +1030 | [diff] [blame] | 55 | pwm[1-4] Fan target duty cycle (0..255) |
| 56 | pwm[1-4]_enable 0: Full-speed |
| 57 | 1: Manual PWM control |
| 58 | 2: Automatic PWM (tach-feedback RPM fan-control) |
| 59 | 3: Automatic closed-loop (temp-feedback fan-control) |
| 60 | |
Andrew Jeffery | 4d420a6 | 2017-11-03 15:53:02 +1100 | [diff] [blame] | 61 | temp[1-11]_crit Critical high temperature |
| 62 | temp[1-11]_crit_alarm Chip temperature critical high alarm |
| 63 | temp[1-11]_input Measured temperature |
| 64 | temp[1-11]_max Maximum temperature |
| 65 | temp[1-11]_max_alarm Chip temperature high alarm |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 66 | ======================= ======================================================= |