1. 05 Feb, 2010 3 commits
    • Jean Delvare's avatar
      hwmon: (w83781d) Request I/O ports individually for probing · b0bcdd3c
      Jean Delvare authored
      Different motherboards have different PNP declarations for
      W83781D/W83782D chips. Some declare the whole range of I/O ports (8
      ports), some declare only the useful ports (2 ports at offset 5) and
      some declare fancy ranges, for example 4 ports at offset 4. To
      properly handle all cases, request all ports individually for probing.
      After we have determined that we really have a W83781D or W83782D
      chip, the useful port range will be requested again, as a single
      block.
      
      I did not see a board which needs this yet, but I know of one for lm78
      driver and I'd like to keep the logic of these two drivers in sync.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      b0bcdd3c
    • Jean Delvare's avatar
      hwmon: (lm78) Request I/O ports individually for probing · 197027e6
      Jean Delvare authored
      Different motherboards have different PNP declarations for LM78/LM79
      chips. Some declare the whole range of I/O ports (8 ports), some
      declare only the useful ports (2 ports at offset 5) and some declare
      fancy ranges, for example 4 ports at offset 4. To properly handle all
      cases, request all ports individually for probing. After we have
      determined that we really have an LM78 or LM79 chip, the useful port
      range will be requested again, as a single block.
      
      This fixes the driver on the Olivetti M3000 DT 540, at least.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      197027e6
    • Ray Copeland's avatar
      hwmon: (adt7462) Wrong ADT7462_VOLT_COUNT · 85f8d3e5
      Ray Copeland authored
      The #define ADT7462_VOLT_COUNT is wrong, it should be 13 not 12. All the 
      for loops that use this as a limit count are of the typical form, "for 
      (n = 0; n < ADT7462_VOLT_COUNT; n++)", so to loop through all voltages 
      w/o missing the last one it is necessary for the count to be one greater 
      than it is.  (Specifically, you will miss the +1.5V 3GPIO input with count 
      = 12 vs. 13.)
      Signed-off-by: default avatarRay Copeland <ray.copeland@aprius.com>
      Acked-by: default avatar"Darrick J. Wong" <djwong@us.ibm.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      85f8d3e5
  2. 03 Feb, 2010 1 commit
  3. 25 Jan, 2010 4 commits
  4. 11 Jan, 2010 1 commit
  5. 10 Jan, 2010 6 commits
  6. 17 Dec, 2009 1 commit
  7. 16 Dec, 2009 7 commits
  8. 15 Dec, 2009 11 commits
  9. 14 Dec, 2009 4 commits
  10. 09 Dec, 2009 2 commits
    • Jean Delvare's avatar
      hwmon: (adt7475) Add VID support for the ADT7476 · 54fe4671
      Jean Delvare authored
      The ADT7476 has 5 dedicated pins for VID input, and the +12V input can
      optionally be used as a 6th VID pin. Add support for VID input.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      54fe4671
    • Jean Delvare's avatar
      hwmon: (adt7475) Add support for the ADT7476 · d8d2ee07
      Jean Delvare authored
      Add support for the Analog Devices ADT7476 chip. This chip is largely
      compatible with the ADT7473 and ADT7475, with additional features.
      In particular, it has 5 voltage inputs instead of 2, and VID input
      pins.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      d8d2ee07