From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: Accelerometer, Gyros and ADC's etc within the kernel. Date: Wed, 21 May 2008 15:20:09 +0200 Message-ID: <20080521152009.0a227c3e@hyperion.delvare> References: <4832A211.4040206@gmail.com> <20080520132817.03fb74ea@hyperion.delvare> <20080520214005.GH3220@local> <4833F3B6.6020806@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Hans J. Koch" , linux-kernel@vger.kernel.org, spi-devel-general@lists.sourceforge.net, LM Sensors , Dmitry Torokhov To: Jonathan Cameron Return-path: In-Reply-To: <4833F3B6.6020806@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org On Wed, 21 May 2008 11:04:38 +0100, Jonathan Cameron wrote: > Definitely agreed that it makes sense to put DACs and ADCs in the same > general place and obviously there are plenty of devices out there that do > both. Note that hardware monitoring chips can include ADCs and DACs: the former to monitor system voltages, and the later to control fans (most chips use PWM for that but a few use DACs.) ADCs and DACs are, much like GPIOs, usable for a variety of different purposes. I doubt that there would be any benefit in abstracting DACs and ADCs the way we did for GPIOs, but the important point here is that we really want to group the drivers according to their functionality and not technical implementation details. -- Jean Delvare From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Date: Wed, 21 May 2008 13:20:09 +0000 Subject: Re: [lm-sensors] Accelerometer, Message-Id: <20080521152009.0a227c3e@hyperion.delvare> List-Id: References: <4832A211.4040206@gmail.com> <20080520132817.03fb74ea@hyperion.delvare> <20080520214005.GH3220@local> <4833F3B6.6020806@gmail.com> In-Reply-To: <4833F3B6.6020806@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jonathan Cameron Cc: "Hans J. Koch" , linux-kernel@vger.kernel.org, spi-devel-general@lists.sourceforge.net, LM Sensors , Dmitry Torokhov On Wed, 21 May 2008 11:04:38 +0100, Jonathan Cameron wrote: > Definitely agreed that it makes sense to put DACs and ADCs in the same > general place and obviously there are plenty of devices out there that do > both. Note that hardware monitoring chips can include ADCs and DACs: the former to monitor system voltages, and the later to control fans (most chips use PWM for that but a few use DACs.) ADCs and DACs are, much like GPIOs, usable for a variety of different purposes. I doubt that there would be any benefit in abstracting DACs and ADCs the way we did for GPIOs, but the important point here is that we really want to group the drivers according to their functionality and not technical implementation details. -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors