smsc47m192 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Kernel driver smsc47m192
  2. ========================
  3. Supported chips:
  4. * SMSC LPC47M192, LPC47M15x, LPC47M292 and LPC47M997
  5. Prefix: 'smsc47m192'
  6. Addresses scanned: I2C 0x2c - 0x2d
  7. Datasheet: The datasheet for LPC47M192 is publicly available from
  8. http://www.smsc.com/
  9. The LPC47M15x, LPC47M292 and LPC47M997 are compatible for
  10. hardware monitoring.
  11. Author: Hartmut Rick <linux@rick.claranet.de>
  12. Special thanks to Jean Delvare for careful checking
  13. of the code and many helpful comments and suggestions.
  14. Description
  15. -----------
  16. This driver implements support for the hardware sensor capabilities
  17. of the SMSC LPC47M192 and compatible Super-I/O chips.
  18. These chips support 3 temperature channels and 8 voltage inputs
  19. as well as CPU voltage VID input.
  20. They do also have fan monitoring and control capabilities, but the
  21. these features are accessed via ISA bus and are not supported by this
  22. driver. Use the 'smsc47m1' driver for fan monitoring and control.
  23. Voltages and temperatures are measured by an 8-bit ADC, the resolution
  24. of the temperatures is 1 bit per degree C.
  25. Voltages are scaled such that the nominal voltage corresponds to
  26. 192 counts, i.e. 3/4 of the full range. Thus the available range for
  27. each voltage channel is 0V ... 255/192*(nominal voltage), the resolution
  28. is 1 bit per (nominal voltage)/192.
  29. Both voltage and temperature values are scaled by 1000, the sys files
  30. show voltages in mV and temperatures in units of 0.001 degC.
  31. The +12V analog voltage input channel (in4_input) is multiplexed with
  32. bit 4 of the encoded CPU voltage. This means that you either get
  33. a +12V voltage measurement or a 5 bit CPU VID, but not both.
  34. The default setting is to use the pin as 12V input, and use only 4 bit VID.
  35. This driver assumes that the information in the configuration register
  36. is correct, i.e. that the BIOS has updated the configuration if
  37. the motherboard has this input wired to VID4.
  38. The temperature and voltage readings are updated once every 1.5 seconds.
  39. Reading them more often repeats the same values.
  40. sysfs interface
  41. ---------------
  42. in0_input - +2.5V voltage input
  43. in1_input - CPU voltage input (nominal 2.25V)
  44. in2_input - +3.3V voltage input
  45. in3_input - +5V voltage input
  46. in4_input - +12V voltage input (may be missing if used as VID4)
  47. in5_input - Vcc voltage input (nominal 3.3V)
  48. This is the supply voltage of the sensor chip itself.
  49. in6_input - +1.5V voltage input
  50. in7_input - +1.8V voltage input
  51. in[0-7]_min,
  52. in[0-7]_max - lower and upper alarm thresholds for in[0-7]_input reading
  53. All voltages are read and written in mV.
  54. in[0-7]_alarm - alarm flags for voltage inputs
  55. These files read '1' in case of alarm, '0' otherwise.
  56. temp1_input - chip temperature measured by on-chip diode
  57. temp[2-3]_input - temperature measured by external diodes (one of these would
  58. typically be wired to the diode inside the CPU)
  59. temp[1-3]_min,
  60. temp[1-3]_max - lower and upper alarm thresholds for temperatures
  61. temp[1-3]_offset - temperature offset registers
  62. The chip adds the offsets stored in these registers to
  63. the corresponding temperature readings.
  64. Note that temp1 and temp2 offsets share the same register,
  65. they cannot both be different from zero at the same time.
  66. Writing a non-zero number to one of them will reset the other
  67. offset to zero.
  68. All temperatures and offsets are read and written in
  69. units of 0.001 degC.
  70. temp[1-3]_alarm - alarm flags for temperature inputs, '1' in case of alarm,
  71. '0' otherwise.
  72. temp[2-3]_input_fault - diode fault flags for temperature inputs 2 and 3.
  73. A fault is detected if the two pins for the corresponding
  74. sensor are open or shorted, or any of the two is shorted
  75. to ground or Vcc. '1' indicates a diode fault.
  76. cpu0_vid - CPU voltage as received from the CPU
  77. vrm - CPU VID standard used for decoding CPU voltage
  78. The *_min, *_max, *_offset and vrm files can be read and
  79. written, all others are read-only.