From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: Duplicated driver for LIS302-like device. Date: Fri, 11 Dec 2009 12:57:52 +0000 Message-ID: <4B2241D0.3050504@cam.ac.uk> References: <4B21B40B.2010007@0xlab.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]:43636 "EHLO ppsw-7.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754128AbZLKM4y (ORCPT ); Fri, 11 Dec 2009 07:56:54 -0500 In-Reply-To: <4B21B40B.2010007@0xlab.org> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Matt Hsu Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, Samu Onkalo , Eric Piel , "Trisal, Kalhan" , LM Sensors Hi Matt > > Recently I was managed to make LIS302DL device work on Beagleboard. > It's almost done. > > The last thing I would like to do is to commit the driver to upstream. > Here comes a problem. I found there's a similar driver named lis3lv02d.c. > which is located drivers/hwmon/. They are pretty much the same. > Only registers mapping is different slightly. Firstly that would make emailing lm-sensors more sensible than linux-input but what the heck, some of us read both. Also for queries like this copy in the maintainer of the driver you are asking about. > > Originally, I plan to use this driver directly instead of implementing > another lis302dl-like driver. > Unfortunately, this driver is dependent on ACPI subsystem. > The target platform for this device is based on ARM. > Therefore, I could not re-use this driver for my work > and re-implement it based on I2C interface. Gah, Not again! So far we have had two patch sets implementing just this. Looking at the latest from Samu, Eric's patch has been sent on to Andrew Morton for the current merge window (and is listed as being in his mm tree). May even have merged since I last pulled mainline. You have my sympathies as the whole duplicating work thing happens to us all from time to time. The answer is as ever, post early and post often to the relevant mailing lists. (though of course hardly anyone actually keeps to this!) I've cc'd in everyone I know has an interest in this driver for any thing else they might want to add. Jonathan