mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/3] hwmon: Driver for SMM665 Six-Channel Active DC Output Controller/Monitor
@ 2010-06-25 14:40 Guenter Roeck
  2010-06-25 14:40 ` [PATCH v4 1/3] " Guenter Roeck
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Guenter Roeck @ 2010-06-25 14:40 UTC (permalink / raw)
  To: Jean Delvare, Hans de Goede, Mark Brown, Andrew Morton,
	Samuel Ortiz, Jonathan Cameron
  Cc: lm-sensors, linux-kernel, Guenter Roeck

This patchset adds support for the monitoring features of the Summit
Microelectronics SMM665 Six-Channel Active DC Output Controller/Monitor.

------

v2 changes:
- Added (untested) support for SMM465, SMM764, and SMM766.
- Added vref module parameter to support non-default values of VREF_ADC.
- Added an explanation describing what the chip does with _min and _max limit
  values.
- Removed alarm sysfs files (since the chip does not report alarm status in a
  register, alarm detection was implemented by comparing limits with ADC readings,
  which can as well be done in userland).
- Replaced register enums with defines.
- Made limit variable names better readable.
- Removed retries from smm665_read_adc().
- Check error reply from i2c_smbus_read_byte_data() and only accept ENXIO
  when expecting NACK.
- Explained reason for byte swap after reading ADC registers in some more detail.
- Added debug messages to display the error reason when reading ADC registers
  failed.

v3 changes:
- Return error codes from smm665_read_adc().
- Abort after first error in smm665_update_device() and return error code.
- Return ADC read errors to user.
- Added inX_lcrit and inX_crit attributes for min/max critical voltages.
- Added tempX_lcrit attribute for critical low temperature.
- Updated sysfs-interface to document support for new attributes.

v4 changes:
- Added missing unlock in error handling of smm665_update_device().
- Fixed minor style issue in MAINTAINERS
- Removed update to sysfs-interface from patchset since it has already
  been applied.
- Added lcrit and crit attributes to driver documentation.

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

end of thread, other threads:[~2010-06-25 17:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-25 14:40 [PATCH v4 0/3] hwmon: Driver for SMM665 Six-Channel Active DC Output Controller/Monitor Guenter Roeck
2010-06-25 14:40 ` [PATCH v4 1/3] " Guenter Roeck
2010-06-25 16:06   ` [lm-sensors] " Jonathan Cameron
2010-06-25 17:37     ` Guenter Roeck
2010-06-25 14:40 ` [PATCH v2 2/3] hwmon: SMM665 driver documentation Guenter Roeck
2010-06-25 16:07   ` [lm-sensors] " Jonathan Cameron
2010-06-25 14:40 ` [PATCH v4 3/3] hwmon: Update MAINTAINERS for smm665 driver Guenter Roeck

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

all inboxes | Powered by JetHome®