max1668 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Kernel driver max1668
  2. =====================
  3. Supported chips:
  4. * Maxim MAX1668, MAX1805 and MAX1989
  5. Prefix: 'max1668'
  6. Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e
  7. Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX1668-MAX1989.pdf
  8. Author:
  9. David George <david.george@ska.ac.za>
  10. Description
  11. -----------
  12. This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989
  13. chips.
  14. The three devices are very similar, but the MAX1805 has a reduced feature
  15. set; only two remote temperature inputs vs the four available on the other
  16. two ICs.
  17. The driver is able to distinguish between the devices and creates sysfs
  18. entries as follows:
  19. MAX1805, MAX1668 and MAX1989:
  20. temp1_input ro local (ambient) temperature
  21. temp1_max rw local temperature maximum threshold for alarm
  22. temp1_max_alarm ro local temperature maximum threshold alarm
  23. temp1_min rw local temperature minimum threshold for alarm
  24. temp1_min_alarm ro local temperature minimum threshold alarm
  25. temp2_input ro remote temperature 1
  26. temp2_max rw remote temperature 1 maximum threshold for alarm
  27. temp2_max_alarm ro remote temperature 1 maximum threshold alarm
  28. temp2_min rw remote temperature 1 minimum threshold for alarm
  29. temp2_min_alarm ro remote temperature 1 minimum threshold alarm
  30. temp3_input ro remote temperature 2
  31. temp3_max rw remote temperature 2 maximum threshold for alarm
  32. temp3_max_alarm ro remote temperature 2 maximum threshold alarm
  33. temp3_min rw remote temperature 2 minimum threshold for alarm
  34. temp3_min_alarm ro remote temperature 2 minimum threshold alarm
  35. MAX1668 and MAX1989 only:
  36. temp4_input ro remote temperature 3
  37. temp4_max rw remote temperature 3 maximum threshold for alarm
  38. temp4_max_alarm ro remote temperature 3 maximum threshold alarm
  39. temp4_min rw remote temperature 3 minimum threshold for alarm
  40. temp4_min_alarm ro remote temperature 3 minimum threshold alarm
  41. temp5_input ro remote temperature 4
  42. temp5_max rw remote temperature 4 maximum threshold for alarm
  43. temp5_max_alarm ro remote temperature 4 maximum threshold alarm
  44. temp5_min rw remote temperature 4 minimum threshold for alarm
  45. temp5_min_alarm ro remote temperature 4 minimum threshold alarm
  46. Module Parameters
  47. -----------------
  48. * read_only: int
  49. Set to non-zero if you wish to prevent write access to alarm thresholds.