w83627hf 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Kernel driver w83627hf
  2. ======================
  3. Supported chips:
  4. * Winbond W83627HF (ISA accesses ONLY)
  5. Prefix: 'w83627hf'
  6. Addresses scanned: ISA address retrieved from Super I/O registers
  7. * Winbond W83627THF
  8. Prefix: 'w83627thf'
  9. Addresses scanned: ISA address retrieved from Super I/O registers
  10. * Winbond W83697HF
  11. Prefix: 'w83697hf'
  12. Addresses scanned: ISA address retrieved from Super I/O registers
  13. * Winbond W83637HF
  14. Prefix: 'w83637hf'
  15. Addresses scanned: ISA address retrieved from Super I/O registers
  16. * Winbond W83687THF
  17. Prefix: 'w83687thf'
  18. Addresses scanned: ISA address retrieved from Super I/O registers
  19. Datasheet: Provided by Winbond on request(http://www.winbond.com/hq/enu)
  20. Authors:
  21. Frodo Looijaard <frodol@dds.nl>,
  22. Philip Edelbrock <phil@netroedge.com>,
  23. Mark Studebaker <mdsxyz123@yahoo.com>,
  24. Bernhard C. Schrenk <clemy@clemy.org>
  25. Module Parameters
  26. -----------------
  27. * force_i2c: int
  28. Initialize the I2C address of the sensors
  29. * init: int
  30. (default is 1)
  31. Use 'init=0' to bypass initializing the chip.
  32. Try this if your computer crashes when you load the module.
  33. Description
  34. -----------
  35. This driver implements support for ISA accesses *only* for
  36. the Winbond W83627HF, W83627THF, W83697HF and W83637HF Super I/O chips.
  37. We will refer to them collectively as Winbond chips.
  38. This driver supports ISA accesses, which should be more reliable
  39. than i2c accesses. Also, for Tyan boards which contain both a
  40. Super I/O chip and a second i2c-only Winbond chip (often a W83782D),
  41. using this driver will avoid i2c address conflicts and complex
  42. initialization that were required in the w83781d driver.
  43. If you really want i2c accesses for these Super I/O chips,
  44. use the w83781d driver. However this is not the preferred method
  45. now that this ISA driver has been developed.
  46. The w83627_HF_ uses pins 110-106 as VID0-VID4. The w83627_THF_ uses the
  47. same pins as GPIO[0:4]. Technically, the w83627_THF_ does not support a
  48. VID reading. However the two chips have the identical 128 pin package. So,
  49. it is possible or even likely for a w83627thf to have the VID signals routed
  50. to these pins despite their not being labeled for that purpose. Therefore,
  51. the w83627thf driver interprets these as VID. If the VID on your board
  52. doesn't work, first see doc/vid in the lm_sensors package[1]. If that still
  53. doesn't help, you may just ignore the bogus VID reading with no harm done.
  54. For further information on this driver see the w83781d driver documentation.
  55. [1] http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/vid
  56. Forcing the address
  57. -------------------
  58. The driver used to have a module parameter named force_addr, which could
  59. be used to force the base I/O address of the hardware monitoring block.
  60. This was meant as a workaround for mainboards with a broken BIOS. This
  61. module parameter is gone for technical reasons. If you need this feature,
  62. you can obtain the same result by using the isaset tool (part of
  63. lm-sensors) before loading the driver:
  64. # Enter the Super I/O config space
  65. isaset -y -f 0x2e 0x87
  66. isaset -y -f 0x2e 0x87
  67. # Select the hwmon logical device
  68. isaset -y 0x2e 0x2f 0x07 0x0b
  69. # Set the base I/O address (to 0x290 in this example)
  70. isaset -y 0x2e 0x2f 0x60 0x02
  71. isaset -y 0x2e 0x2f 0x61 0x90
  72. # Exit the Super-I/O config space
  73. isaset -y -f 0x2e 0xaa
  74. The above sequence assumes a Super-I/O config space at 0x2e/0x2f, but
  75. 0x4e/0x4f is also possible.
  76. Voltage pin mapping
  77. -------------------
  78. Here is a summary of the voltage pin mapping for the W83627THF. This
  79. can be useful to convert data provided by board manufacturers into
  80. working libsensors configuration statements.
  81. W83627THF |
  82. Pin | Name | Register | Sysfs attribute
  83. -----------------------------------------------------
  84. 100 | CPUVCORE | 20h | in0
  85. 99 | VIN0 | 21h | in1
  86. 98 | VIN1 | 22h | in2
  87. 97 | VIN2 | 24h | in4
  88. 114 | AVCC | 23h | in3
  89. 61 | 5VSB | 50h (bank 5) | in7
  90. 74 | VBAT | 51h (bank 5) | in8
  91. For other supported devices, you'll have to take the hard path and
  92. look up the information in the datasheet yourself (and then add it
  93. to this document please.)