All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] bma023: Support for Bosch BMA023, BMA150 and SMB380 accelerometers
Date: Tue, 22 Feb 2011 12:38:13 +0000	[thread overview]
Message-ID: <4D63AE35.6080005@cam.ac.uk> (raw)
In-Reply-To: <20110222122516.532861cb@lxorguk.ukuu.org.uk>

On 02/22/11 12:25, Alan Cox wrote:
>> However, note that Dmitry has previously blocked merges of drivers into input
>> precisely because these sysfs interfaces haven't been defined cleanly (in that
>> case the relevant bits were just dropped from the driver in favour of platform
>> data). He wants to see something general across all such sensors whatever
>> subsystem they are actually in.
> 
> Ultimately there is a lot to be said for a common interface, but as you
> yourself point out - there isn't actually anything for it to be common
> with. In this case some of the user interface side is needed at runtime
> so platform interfaces (or hiding ioctls in platform code to hide it from
> you ;) ) doesn't help much.
> 
> It's up to Dmitry, it would be nice to have it upstream but if it ends up
> only in Meego until IIO is stabilised and out of staging then thats less
> ideal.
This device looks very much like one that will mainly (if not exclusively)
be used as an input device.  Hence I'd be keener to see it in input than IIO
even if IIO was already out of staging.  Still, intent is to share sysfs
interfaces in as many subsystems as possible, independent of where the
driver actually sits.

  reply	other threads:[~2011-02-22 12:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 10:06 [PATCH] bma023: Support for Bosch BMA023, BMA150 and SMB380 accelerometers Alan Cox
2011-02-14 11:50 ` Shubhrajyoti
2011-02-14 12:27   ` Alan Cox
2011-02-15  5:07     ` Shubhrajyoti
2011-02-21 19:08 ` Jonathan Cameron
2011-02-22 11:29   ` Alan Cox
2011-02-22 12:15     ` Jonathan Cameron
2011-02-22 12:25       ` Alan Cox
2011-02-22 12:38         ` Jonathan Cameron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-15  6:09 Shubhrajyoti
2011-05-31 16:11 Alan Cox

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=4D63AE35.6080005@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-input@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.