From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932595Ab2IDRUe (ORCPT ); Tue, 4 Sep 2012 13:20:34 -0400 Received: from mail.active-venture.com ([67.228.131.205]:58779 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932527Ab2IDRUc (ORCPT ); Tue, 4 Sep 2012 13:20:32 -0400 X-Originating-IP: 108.223.40.66 Date: Tue, 4 Sep 2012 10:20:34 -0700 From: Guenter Roeck To: anish kumar Cc: Lars-Peter Clausen , Vivien Didelot , lm-sensors@lm-sensors.org, Jean Delvare , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] hwmon: add Maxim MAX197 support Message-ID: <20120904172034.GA17884@roeck-us.net> References: <1346377377-24717-1-git-send-email-vivien.didelot@savoirfairelinux.com> <20120831160439.GA5756@roeck-us.net> <5041D5DF.7060402@metafoo.de> <20120902145101.GA8306@roeck-us.net> <1346770948.6243.3.camel@anish-Inspiron-N5050> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1346770948.6243.3.camel@anish-Inspiron-N5050> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2012 at 08:32:28PM +0530, anish kumar wrote: > On Sun, 2012-09-02 at 07:51 -0700, Guenter Roeck wrote: > > On Sat, Sep 01, 2012 at 11:31:11AM +0200, Lars-Peter Clausen wrote: > > > On 08/31/2012 06:04 PM, Guenter Roeck wrote: > > > > On Thu, Aug 30, 2012 at 09:42:57PM -0400, Vivien Didelot wrote: > > > >> The MAX197 is an A/D converter, made by Maxim. This driver currently > > > >> supports the MAX197, and MAX199. They are both 8-Channel, Multi-Range, > > > >> 5V, 12-Bit DAS with 8+4 Bus Interface and Fault Protection. > > > >> > > > >> The available ranges for the MAX197 are {0,-5V} to 5V, and {0,-10V} to > > > >> 10V, while they are {0,-2V} to 2V, and {0,-4V} to 4V on the MAX199. > > > >> > > > >> Signed-off-by: Vivien Didelot > > > > > > > > Applied to -next. > > > > > > > > > > Hm, now it's probably to late, but for this kind of general purpose ADC the IIO > > > framework is in my opinion the better place to add support for it. > > > > > Possibly. If someone writes an iio driver for it, and everyone agrees, > > we can drop it from hwmon at that time. > I can write one but unfortunately need some testing as I don't have this > hardware. Vivien, any thoughts/comments/feedback ? Thanks, Guenter