Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbYGYL2T (ORCPT ); Fri, 25 Jul 2008 07:28:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752299AbYGYL2I (ORCPT ); Fri, 25 Jul 2008 07:28:08 -0400 Received: from rtsoft3.corbina.net ([85.21.88.6]:5694 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751942AbYGYL2H (ORCPT ); Fri, 25 Jul 2008 07:28:07 -0400 Date: Fri, 25 Jul 2008 15:28:04 +0400 From: Anton Vorontsov To: Jonathan Cameron Cc: Jan Engelhardt , LKML , spi-devel-general@lists.sourceforge.net, LM Sensors , Jean Delvare , Dmitry Torokhov , "Hans J. Koch" , hmh@hmh.eng.br, David Brownell , mgross@linux.intel.com, Ben Nizette Subject: Re: [Patch 0/4] IndustrialIO subsystem (ADCs, accelerometers etc) Message-ID: <20080725112804.GA7843@polina.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com References: <488763AD.4050400@gmail.com> <4889B524.5010602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline In-Reply-To: <4889B524.5010602@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1392 Lines: 40 On Fri, Jul 25, 2008 at 12:12:36PM +0100, Jonathan Cameron wrote: > Jan Engelhardt wrote: > > On Wednesday 2008-07-23 19:00, Jonathan Cameron wrote: > > > > > >> Dear All, > >> > >> The need for an industrialio subsystem was discussed in > >> http://lkml.org/lkml/2008/5/20/135 > >> > >> Firstly thanks to all the people who have contributed to the discussion > >> of this in the past. > >> > >> In brief the intention is provide a kernel subsystem directed towards the > >> handling on sensors (and later related output devices) such as ADC's, > >> accelerometers and many others. > >> > > > > Could this be done using UIO instead? > > > No, this lot is directed towards devices that use serial buses such as > i2c and SPI [...] There is spidev driver to do SPI in userspace. But no, it does not mean that we can always use UIO. For example, we can't use UIO when we want to process IRQs (think touchscreen pen-down irq), or better, we anyway will need to write UIO-kernel helper for this. So, sometimes it's just more convenient to do things in kernel. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 -- 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/