Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver max31785
0002 ======================
0003 
0004 Supported chips:
0005 
0006   * Maxim MAX31785, MAX31785A
0007 
0008     Prefix: 'max31785' or 'max31785a'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf
0013 
0014 Author: Andrew Jeffery <andrew@aj.id.au>
0015 
0016 Description
0017 -----------
0018 
0019 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan
0020 management with temperature and remote voltage sensing. Various fan control
0021 features are provided, including PWM frequency control, temperature hysteresis,
0022 dual tachometer measurements, and fan health monitoring.
0023 
0024 For dual-rotor configurations the MAX31785A exposes the second rotor tachometer
0025 readings in attributes fan[5-8]_input. By contrast the MAX31785 only exposes
0026 the slowest rotor measurement, and does so in the fan[1-4]_input attributes.
0027 
0028 Usage Notes
0029 -----------
0030 
0031 This driver does not probe for PMBus devices. You will have to instantiate
0032 devices explicitly.
0033 
0034 Sysfs attributes
0035 ----------------
0036 
0037 ======================= =======================================================
0038 fan[1-4]_alarm          Fan alarm.
0039 fan[1-4]_fault          Fan fault.
0040 fan[1-8]_input          Fan RPM. On the MAX31785A, inputs 5-8 correspond to the
0041                         second rotor of fans 1-4
0042 fan[1-4]_target         Fan input target
0043 
0044 in[1-6]_crit            Critical maximum output voltage
0045 in[1-6]_crit_alarm      Output voltage critical high alarm
0046 in[1-6]_input           Measured output voltage
0047 in[1-6]_label           "vout[18-23]"
0048 in[1-6]_lcrit           Critical minimum output voltage
0049 in[1-6]_lcrit_alarm     Output voltage critical low alarm
0050 in[1-6]_max             Maximum output voltage
0051 in[1-6]_max_alarm       Output voltage high alarm
0052 in[1-6]_min             Minimum output voltage
0053 in[1-6]_min_alarm       Output voltage low alarm
0054 
0055 pwm[1-4]                Fan target duty cycle (0..255)
0056 pwm[1-4]_enable         0: Full-speed
0057                         1: Manual PWM control
0058                         2: Automatic PWM (tach-feedback RPM fan-control)
0059                         3: Automatic closed-loop (temp-feedback fan-control)
0060 
0061 temp[1-11]_crit         Critical high temperature
0062 temp[1-11]_crit_alarm   Chip temperature critical high alarm
0063 temp[1-11]_input        Measured temperature
0064 temp[1-11]_max          Maximum temperature
0065 temp[1-11]_max_alarm    Chip temperature high alarm
0066 ======================= =======================================================