max6639 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Kernel driver max6639
  2. =====================
  3. Supported chips:
  4. * Maxim MAX6639
  5. Prefix: 'max6639'
  6. Addresses scanned: I2C 0x2c, 0x2e, 0x2f
  7. Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6639.pdf
  8. Authors:
  9. He Changqing <hechangqing@semptian.com>
  10. Roland Stigge <stigge@antcom.de>
  11. Description
  12. -----------
  13. This driver implements support for the Maxim MAX6639. This chip is a 2-channel
  14. temperature monitor with dual PWM fan speed controller. It can monitor its own
  15. temperature and one external diode-connected transistor or two external
  16. diode-connected transistors.
  17. The following device attributes are implemented via sysfs:
  18. Attribute R/W Contents
  19. ----------------------------------------------------------------------------
  20. temp1_input R Temperature channel 1 input (0..150 C)
  21. temp2_input R Temperature channel 2 input (0..150 C)
  22. temp1_fault R Temperature channel 1 diode fault
  23. temp2_fault R Temperature channel 2 diode fault
  24. temp1_max RW Set THERM temperature for input 1
  25. (in C, see datasheet)
  26. temp2_max RW Set THERM temperature for input 2
  27. temp1_crit RW Set ALERT temperature for input 1
  28. temp2_crit RW Set ALERT temperature for input 2
  29. temp1_emergency RW Set OT temperature for input 1
  30. (in C, see datasheet)
  31. temp2_emergency RW Set OT temperature for input 2
  32. pwm1 RW Fan 1 target duty cycle (0..255)
  33. pwm2 RW Fan 2 target duty cycle (0..255)
  34. fan1_input R TACH1 fan tachometer input (in RPM)
  35. fan2_input R TACH2 fan tachometer input (in RPM)
  36. fan1_fault R Fan 1 fault
  37. fan2_fault R Fan 2 fault
  38. temp1_max_alarm R Alarm on THERM temperature on channel 1
  39. temp2_max_alarm R Alarm on THERM temperature on channel 2
  40. temp1_crit_alarm R Alarm on ALERT temperature on channel 1
  41. temp2_crit_alarm R Alarm on ALERT temperature on channel 2
  42. temp1_emergency_alarm R Alarm on OT temperature on channel 1
  43. temp2_emergency_alarm R Alarm on OT temperature on channel 2