Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755643Ab3FQC6S (ORCPT ); Sun, 16 Jun 2013 22:58:18 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33432 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755546Ab3FQC6R (ORCPT ); Sun, 16 Jun 2013 22:58:17 -0400 Date: Sun, 16 Jun 2013 19:58:54 -0700 From: Greg KH To: Andi Shyti Cc: arnd@arndb.de, rob@landley.net, oatilla@gmail.com, szsolt@gmail.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH 0/2] etzkx accelerometer support Message-ID: <20130617025854.GB12522@kroah.com> References: <20130616215110.GA10834@kroah.com> <20130616222648.GE4385@jack.whiskey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130616222648.GE4385@jack.whiskey> 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 Content-Length: 1900 Lines: 47 On Mon, Jun 17, 2013 at 12:26:48AM +0200, Andi Shyti wrote: > > > these two patches provide the etzkx device driver which supports > > > the following accelerometers: > > > > > > - Kionix kxcnl > > > - Kionix kxtnk > > > - ST lisn3dsh > > > > > > Support for ST lis3dsh accelerometer is still in progress. > > > > > > The etzkx accelerometers are a kind of devices that are able to > > > do gesture recognition directly on the device. It uses two slots > > > of 16 steps (bytes) each for loading algorithms which perform > > > gesture recognition. > > > > > > The second patch contains the documentation of the device driver. > > > > > > On http://www.etezian.org/etzkx/etzkx/ is possible to find more > > > informations about the accelerometer. > > > > Why isn't this a drivers/iio/accel/ driver instead of a misc driver? > > Please make this an iio driver, then you will be using the correct > > user/kernel api to talk to your device. > > I was thinking it may be an issue, but it's not iio because the > time I developed the driver, iio was in the first staging period > and mainly because the on the board I'm using I cannot update the > Kernel to use the latest iio. > > I guess you don't like the promise "I can do it later" once the > supplier sends me a development board (which is planned) :) Sure, I'll gladly accept "I can do it later" from anyone, as long as you don't mind my, "I will merge it later" as well :) Sorry, I can't accept a driver now, that is known to going to be changing the kernel/user api in the future. So please, rewrite it to use IIO, that's what that interface / subsystem is there for. thanks, greg k-h -- 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/