Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756023Ab0FXWGO (ORCPT ); Thu, 24 Jun 2010 18:06:14 -0400 Received: from imr3.ericy.com ([198.24.6.13]:39701 "EHLO imr3.ericy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754471Ab0FXWGH (ORCPT ); Thu, 24 Jun 2010 18:06:07 -0400 From: Guenter Roeck To: Randy Dunlap , Jean Delvare , Andrew Morton , "Ira W. Snyder" , Hans de Goede , Mark Brown , Samuel Ortiz , Jonathan Cameron CC: lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Guenter Roeck Subject: [PATCH v3 0/4] hwmon: Driver for SMM665 Six-Channel Active DC Output Controller/Monitor Date: Thu, 24 Jun 2010 15:00:57 -0700 Message-ID: <1277416861-32494-1-git-send-email-guenter.roeck@ericsson.com> X-Mailer: git-send-email 1.7.0.87.g0901d MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1591 Lines: 34 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/