lm90 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Kernel driver lm90
  2. ==================
  3. Supported chips:
  4. * National Semiconductor LM90
  5. Prefix: 'lm90'
  6. Addresses scanned: I2C 0x4c
  7. Datasheet: Publicly available at the National Semiconductor website
  8. http://www.national.com/pf/LM/LM90.html
  9. * National Semiconductor LM89
  10. Prefix: 'lm99'
  11. Addresses scanned: I2C 0x4c and 0x4d
  12. Datasheet: Publicly available at the National Semiconductor website
  13. http://www.national.com/pf/LM/LM89.html
  14. * National Semiconductor LM99
  15. Prefix: 'lm99'
  16. Addresses scanned: I2C 0x4c and 0x4d
  17. Datasheet: Publicly available at the National Semiconductor website
  18. http://www.national.com/pf/LM/LM99.html
  19. * National Semiconductor LM86
  20. Prefix: 'lm86'
  21. Addresses scanned: I2C 0x4c
  22. Datasheet: Publicly available at the National Semiconductor website
  23. http://www.national.com/pf/LM/LM86.html
  24. * Analog Devices ADM1032
  25. Prefix: 'adm1032'
  26. Addresses scanned: I2C 0x4c
  27. Datasheet: Publicly available at the Analog Devices website
  28. http://products.analog.com/products/info.asp?product=ADM1032
  29. * Analog Devices ADT7461
  30. Prefix: 'adt7461'
  31. Addresses scanned: I2C 0x4c
  32. Datasheet: Publicly available at the Analog Devices website
  33. http://products.analog.com/products/info.asp?product=ADT7461
  34. Note: Only if in ADM1032 compatibility mode
  35. * Maxim MAX6657
  36. Prefix: 'max6657'
  37. Addresses scanned: I2C 0x4c
  38. Datasheet: Publicly available at the Maxim website
  39. http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
  40. * Maxim MAX6658
  41. Prefix: 'max6657'
  42. Addresses scanned: I2C 0x4c
  43. Datasheet: Publicly available at the Maxim website
  44. http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
  45. * Maxim MAX6659
  46. Prefix: 'max6657'
  47. Addresses scanned: I2C 0x4c, 0x4d (unsupported 0x4e)
  48. Datasheet: Publicly available at the Maxim website
  49. http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
  50. Author: Jean Delvare <khali@linux-fr.org>
  51. Description
  52. -----------
  53. The LM90 is a digital temperature sensor. It senses its own temperature as
  54. well as the temperature of up to one external diode. It is compatible
  55. with many other devices such as the LM86, the LM89, the LM99, the ADM1032,
  56. the MAX6657, MAX6658 and the MAX6659 all of which are supported by this driver.
  57. Note that there is no easy way to differentiate between the last three
  58. variants. The extra address and features of the MAX6659 are not supported by
  59. this driver. Additionally, the ADT7461 is supported if found in ADM1032
  60. compatibility mode.
  61. The specificity of this family of chipsets over the ADM1021/LM84
  62. family is that it features critical limits with hysteresis, and an
  63. increased resolution of the remote temperature measurement.
  64. The different chipsets of the family are not strictly identical, although
  65. very similar. This driver doesn't handle any specific feature for now,
  66. but could if there ever was a need for it. For reference, here comes a
  67. non-exhaustive list of specific features:
  68. LM90:
  69. * Filter and alert configuration register at 0xBF.
  70. * ALERT is triggered by temperatures over critical limits.
  71. LM86 and LM89:
  72. * Same as LM90
  73. * Better external channel accuracy
  74. LM99:
  75. * Same as LM89
  76. * External temperature shifted by 16 degrees down
  77. ADM1032:
  78. * Consecutive alert register at 0x22.
  79. * Conversion averaging.
  80. * Up to 64 conversions/s.
  81. * ALERT is triggered by open remote sensor.
  82. ADT7461
  83. * Extended temperature range (breaks compatibility)
  84. * Lower resolution for remote temperature
  85. MAX6657 and MAX6658:
  86. * Remote sensor type selection
  87. MAX6659
  88. * Selectable address
  89. * Second critical temperature limit
  90. * Remote sensor type selection
  91. All temperature values are given in degrees Celsius. Resolution
  92. is 1.0 degree for the local temperature, 0.125 degree for the remote
  93. temperature.
  94. Each sensor has its own high and low limits, plus a critical limit.
  95. Additionally, there is a relative hysteresis value common to both critical
  96. values. To make life easier to user-space applications, two absolute values
  97. are exported, one for each channel, but these values are of course linked.
  98. Only the local hysteresis can be set from user-space, and the same delta
  99. applies to the remote hysteresis.
  100. The lm90 driver will not update its values more frequently than every
  101. other second; reading them more often will do no harm, but will return
  102. 'old' values.