max1668.rst 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 <[email protected]>
  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. =============== == ============================================================
  21. temp1_input ro local (ambient) temperature
  22. temp1_max rw local temperature maximum threshold for alarm
  23. temp1_max_alarm ro local temperature maximum threshold alarm
  24. temp1_min rw local temperature minimum threshold for alarm
  25. temp1_min_alarm ro local temperature minimum threshold alarm
  26. temp2_input ro remote temperature 1
  27. temp2_max rw remote temperature 1 maximum threshold for alarm
  28. temp2_max_alarm ro remote temperature 1 maximum threshold alarm
  29. temp2_min rw remote temperature 1 minimum threshold for alarm
  30. temp2_min_alarm ro remote temperature 1 minimum threshold alarm
  31. temp3_input ro remote temperature 2
  32. temp3_max rw remote temperature 2 maximum threshold for alarm
  33. temp3_max_alarm ro remote temperature 2 maximum threshold alarm
  34. temp3_min rw remote temperature 2 minimum threshold for alarm
  35. temp3_min_alarm ro remote temperature 2 minimum threshold alarm
  36. =============== == ============================================================
  37. - MAX1668 and MAX1989 only:
  38. =============== == ============================================================
  39. temp4_input ro remote temperature 3
  40. temp4_max rw remote temperature 3 maximum threshold for alarm
  41. temp4_max_alarm ro remote temperature 3 maximum threshold alarm
  42. temp4_min rw remote temperature 3 minimum threshold for alarm
  43. temp4_min_alarm ro remote temperature 3 minimum threshold alarm
  44. temp5_input ro remote temperature 4
  45. temp5_max rw remote temperature 4 maximum threshold for alarm
  46. temp5_max_alarm ro remote temperature 4 maximum threshold alarm
  47. temp5_min rw remote temperature 4 minimum threshold for alarm
  48. temp5_min_alarm ro remote temperature 4 minimum threshold alarm
  49. =============== == ============================================================
  50. Module Parameters
  51. -----------------
  52. * read_only: int
  53. Set to non-zero if you wish to prevent write access to alarm thresholds.