Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755613Ab1CNUSd (ORCPT ); Mon, 14 Mar 2011 16:18:33 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:6081 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813Ab1CNUSb (ORCPT ); Mon, 14 Mar 2011 16:18:31 -0400 Date: Mon, 14 Mar 2011 21:18:09 +0100 From: Jean Delvare To: Jonathan Cameron Cc: Arnd Bergmann , mems applications , rdunlap@xenotime.net, carmine.iascone@st.com, matteo.dameno@st.com, rubini@cvml.unipv.it, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck Subject: Re: [PATCH] Add STMicroelectronics LPS001WP pressure sensor device driver into misc Message-ID: <20110314211809.29da8518@endymion.delvare> In-Reply-To: <4D7E771B.1040804@cam.ac.uk> References: <1300128906-1066-1-git-send-email-matteo.dameno@st.com> <4D7E6A38.7010801@cam.ac.uk> <201103142046.25393.arnd@arndb.de> <4D7E771B.1040804@cam.ac.uk> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1512 Lines: 32 On Mon, 14 Mar 2011 20:14:19 +0000, Jonathan Cameron wrote: > On 03/14/11 19:46, Arnd Bergmann wrote: > > On Monday 14 March 2011 20:19:20 Jonathan Cameron wrote: > >> The big issue raised last time around is that this is not a conventional human > >> input device. Hence Dmitry isn't going to take it into input. That doesn't > >> just mean that you have to move it's physical location; it also means you have > >> to not use the input interfaces at all. > > > > How about making this a hwmon driver instead? > > There are already a number of temperature sensor drivers in > > driver/hwmon/, I think it would fit in well there. > hwmon are fairly forceful about not taking things that aren't for monitoring > hardware. Even the humidity sensors in there are still controversial. > As it has been suggested I've cc'd Guenter and Jean just in case I'm wrong on > this. Jonathan is correct. Pressure sensors are not hardware monitoring devices, their drivers have nothing to do in drivers/hwmon. This is something for drivers/misc or staging/iio. > > This would mean moving it to the other directory, > > registering it to the common hwmon api (hwmon_device_register) > > and rewriting the user API to blend in with the other > > hwmon drivers. -- Jean Delvare -- 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/