public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] hwmon: Add support for W83667HG-B to w83627ehf driver.
@ 2010-07-03 22:13 Guenter Roeck
  2010-07-03 22:13 ` [PATCH v4 1/2] hwmon: w83627ehf driver cleanup Guenter Roeck
  2010-07-03 22:13 ` [PATCH v4 2/2] hwmon: Add support for W83667HG-B to w83627ehf driver Guenter Roeck
  0 siblings, 2 replies; 8+ messages in thread
From: Guenter Roeck @ 2010-07-03 22:13 UTC (permalink / raw)
  To: Jean Delvare, Andrew Morton, Ethan Lawrence, Jim Cromie,
	H Hartley Sweeten
  Cc: Iain, lm-sensors, linux-kernel, lars4910, birdie, jadcock,
	binximeng, Guenter Roeck

The following patch series adds support for W83667HG-B to the w83627ehf driver.

The first patch makes generic changes to the driver, the second patch adds
support for W83667HG-B.

Key relevant difference between W83667HG and W83667HG-B are the Chip ID as well
as fan output and step output register addresses. Those differences are
addressed with this patch.

There are other relevant changes in the mapping of input sensors to fan
control (W83667HG datasheet chapter 8.7, W83667HG-B datasheet chapter 8.5).
However, control of those mappings is not implemented in the driver, thus the
respective changes should not have an impact on driver operation.

Patch has been tested with W83667HG-B on Asus P7F-E board. Fan and voltage
sensors are known to work. pwmcontrol does not have a noticeable effect,
though the reasons are unknown and might be board related.

Changes in v4: 
- Fixed error message "sysfs: cannot create duplicate filename".
- Split patch into generic and W83667HG-B specific parts.

Changes in v3:
- Updated driver documentation
- Read data from max and step registers in update_device function.
- In update_device, read fan pwm registers only for installed/supported fans.
- Removed W83667HG-I code; that should really have been W83677HG-I.
  Without datasheet, adding support for this chip would be too risky.
- For W83667HG-B, create max and step attribute files for all fans.

Changes in v2:
- Removed dash from hwmon device name.
- Moved global array pointers to per-device data.
- Added chip detection for W83667HG-I
  (assumed to be identical to W83667HG; needs to be validated).


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-05 15:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-03 22:13 [PATCH v4 0/2] hwmon: Add support for W83667HG-B to w83627ehf driver Guenter Roeck
2010-07-03 22:13 ` [PATCH v4 1/2] hwmon: w83627ehf driver cleanup Guenter Roeck
2010-07-04 11:24   ` Jean Delvare
2010-07-04 13:50     ` Guenter Roeck
2010-07-05 11:59       ` Jean Delvare
2010-07-05 15:23         ` [lm-sensors] " Jean Delvare
2010-07-03 22:13 ` [PATCH v4 2/2] hwmon: Add support for W83667HG-B to w83627ehf driver Guenter Roeck
2010-07-04 11:29   ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox