From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: Accelerometer, Gyros and ADC's etc within the kernel. Date: Tue, 27 May 2008 19:00:56 +0100 Message-ID: <483C4C58.5080301@gmail.com> References: <4832A211.4040206@gmail.com> <20080527164415.GA27584@polina.dev.rtsoft.ru> <20080527165021.GA22585@trinity.fluff.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, LM Sensors To: Ben Dooks Return-path: In-Reply-To: <20080527165021.GA22585-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org > > The two drivers i've seen so far use the input subsystem to report > their data to the user. I'm working on an driver for the SMB380 which > can be both i2c and spi. Yes, the ST accel I'm using (LIS3L02DQ) is like that as well, so we definitely need to implement the ability to do this cleanly! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Date: Tue, 27 May 2008 18:00:56 +0000 Subject: Re: [lm-sensors] [spi-devel-general] Accelerometer, Message-Id: <483C4C58.5080301@gmail.com> List-Id: References: <4832A211.4040206@gmail.com> <20080527164415.GA27584@polina.dev.rtsoft.ru> <20080527165021.GA22585@trinity.fluff.org> In-Reply-To: <20080527165021.GA22585@trinity.fluff.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ben Dooks Cc: Anton Vorontsov , spi-devel-general@lists.sourceforge.net, linux-kernel@vger.kernel.org, LM Sensors > > The two drivers i've seen so far use the input subsystem to report > their data to the user. I'm working on an driver for the SMB380 which > can be both i2c and spi. Yes, the ST accel I'm using (LIS3L02DQ) is like that as well, so we definitely need to implement the ability to do this cleanly! _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758696AbYE0SBm (ORCPT ); Tue, 27 May 2008 14:01:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756040AbYE0SBe (ORCPT ); Tue, 27 May 2008 14:01:34 -0400 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:54394 "EHLO ppsw-6.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755914AbYE0SBd (ORCPT ); Tue, 27 May 2008 14:01:33 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Message-ID: <483C4C58.5080301@gmail.com> Date: Tue, 27 May 2008 19:00:56 +0100 From: Jonathan Cameron User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: Ben Dooks CC: Anton Vorontsov , spi-devel-general@lists.sourceforge.net, linux-kernel@vger.kernel.org, LM Sensors Subject: Re: [spi-devel-general] Accelerometer, Gyros and ADC's etc within the kernel. References: <4832A211.4040206@gmail.com> <20080527164415.GA27584@polina.dev.rtsoft.ru> <20080527165021.GA22585@trinity.fluff.org> In-Reply-To: <20080527165021.GA22585@trinity.fluff.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > The two drivers i've seen so far use the input subsystem to report > their data to the user. I'm working on an driver for the SMB380 which > can be both i2c and spi. Yes, the ST accel I'm using (LIS3L02DQ) is like that as well, so we definitely need to implement the ability to do this cleanly!