adt7475 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. This describes the interface for the ADT7475 driver:
  2. (there are 4 fans, numbered fan1 to fan4):
  3. fanX_input Read the current speed of the fan (in RPMs)
  4. fanX_min Read/write the minimum speed of the fan. Dropping
  5. below this sets an alarm.
  6. (there are three PWMs, numbered pwm1 to pwm3):
  7. pwmX Read/write the current duty cycle of the PWM. Writes
  8. only have effect when auto mode is turned off (see
  9. below). Range is 0 - 255.
  10. pwmX_enable Fan speed control method:
  11. 0 - No control (fan at full speed)
  12. 1 - Manual fan speed control (using pwm[1-*])
  13. 2 - Automatic fan speed control
  14. pwmX_auto_channels_temp Select which channels affect this PWM
  15. 1 - TEMP1 controls PWM
  16. 2 - TEMP2 controls PWM
  17. 4 - TEMP3 controls PWM
  18. 6 - TEMP2 and TEMP3 control PWM
  19. 7 - All three inputs control PWM
  20. pwmX_freq Read/write the PWM frequency in Hz. The number
  21. should be one of the following:
  22. 11 Hz
  23. 14 Hz
  24. 22 Hz
  25. 29 Hz
  26. 35 Hz
  27. 44 Hz
  28. 58 Hz
  29. 88 Hz
  30. pwmX_auto_point1_pwm Read/write the minimum PWM duty cycle in automatic mode
  31. pwmX_auto_point2_pwm Read/write the maximum PWM duty cycle in automatic mode
  32. (there are three temperature settings numbered temp1 to temp3):
  33. tempX_input Read the current temperature. The value is in milli
  34. degrees of Celsius.
  35. tempX_max Read/write the upper temperature limit - exceeding this
  36. will cause an alarm.
  37. tempX_min Read/write the lower temperature limit - exceeding this
  38. will cause an alarm.
  39. tempX_offset Read/write the temperature adjustment offset
  40. tempX_crit Read/write the THERM limit for remote1.
  41. tempX_crit_hyst Set the temperature value below crit where the
  42. fans will stay on - this helps drive the temperature
  43. low enough so it doesn't stay near the edge and
  44. cause THERM to keep tripping.
  45. tempX_auto_point1_temp Read/write the minimum temperature where the fans will
  46. turn on in automatic mode.
  47. tempX_auto_point2_temp Read/write the maximum temperature over which the fans
  48. will run in automatic mode. tempX_auto_point1_temp
  49. and tempX_auto_point2_temp together define the
  50. range of automatic control.
  51. tempX_alarm Read a 1 if the max/min alarm is set
  52. tempX_fault Read a 1 if either temp1 or temp3 diode has a fault
  53. (There are two voltage settings, in1 and in2):
  54. inX_input Read the current voltage on VCC. Value is in
  55. millivolts.
  56. inX_min read/write the minimum voltage limit.
  57. Dropping below this causes an alarm.
  58. inX_max read/write the maximum voltage limit.
  59. Exceeding this causes an alarm.
  60. inX_alarm Read a 1 if the max/min alarm is set.