public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>, Arnd Bergmann <arnd@arndb.de>,
	mems applications <mems.applications@st.com>,
	"rdunlap@xenotime.net" <rdunlap@xenotime.net>,
	"carmine.iascone@st.com" <carmine.iascone@st.com>,
	"matteo.dameno@st.com" <matteo.dameno@st.com>,
	"rubini@ipvvis.unipv.it" <rubini@cvml.unipv.it>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Add STMicroelectronics LPS001WP pressure sensor device driver into misc
Date: Mon, 14 Mar 2011 13:27:17 -0700	[thread overview]
Message-ID: <20110314202717.GA16461@ericsson.com> (raw)
In-Reply-To: <20110314211809.29da8518@endymion.delvare>

On Mon, Mar 14, 2011 at 04:18:09PM -0400, Jean Delvare wrote:
> 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.
> 

Absolutely agree.

Guenter

> > > 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

  reply	other threads:[~2011-03-14 20:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14 18:55 [PATCH] Add STMicroelectronics LPS001WP pressure sensor device driver into misc mems applications
2011-03-14 19:19 ` Jonathan Cameron
2011-03-14 19:46   ` Arnd Bergmann
2011-03-14 20:14     ` Jonathan Cameron
2011-03-14 20:18       ` Jean Delvare
2011-03-14 20:27         ` Guenter Roeck [this message]
2011-03-14 20:36         ` Arnd Bergmann
2011-03-14 21:42           ` Jean Delvare
2011-03-14 22:48             ` Guenter Roeck
2011-03-15  9:24               ` Arnd Bergmann
2011-03-15 11:30                 ` Jonathan Cameron
2011-03-15 13:58                   ` Arnd Bergmann
2011-03-14 23:23             ` Jonathan Cameron
2011-03-15  9:38               ` Arnd Bergmann
2011-03-15 11:11                 ` Jonathan Cameron
2011-03-15 12:51                   ` Mark Brown
2011-03-15 13:31                     ` Arnd Bergmann
2011-03-15 14:35                       ` Jonathan Cameron
2011-03-15 14:38                     ` Jonathan Cameron
2011-03-15 13:29                   ` Arnd Bergmann
2011-03-15 14:47                     ` Jonathan Cameron
2011-03-15 16:50                       ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110314202717.GA16461@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=arnd@arndb.de \
    --cc=carmine.iascone@st.com \
    --cc=jic23@cam.ac.uk \
    --cc=khali@linux-fr.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matteo.dameno@st.com \
    --cc=mems.applications@st.com \
    --cc=rdunlap@xenotime.net \
    --cc=rubini@cvml.unipv.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox