[PATCH v4 0/2] hwmon: Add support for W83667HG-B to w83627ehf driver.
From: Guenter Roeck
Date: Sat Jul 03 2010 - 18:14:27 EST
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).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/