devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Denis CIOCCA <denis.ciocca-qxv4g6HH51o@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH RESEND] iio: st-sensors: add support for lis3lv02d accelerometer
Date: Sat, 28 Mar 2015 12:18:41 +0000	[thread overview]
Message-ID: <55169C21.1000509@kernel.org> (raw)
In-Reply-To: <CACRpkdYuWL_rs9nzg8ivRehG6-yFOheo+ZugZ-1iqmAyhwVaLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 23/03/15 09:21, Linus Walleij wrote:
> On Sat, Mar 21, 2015 at 12:52 PM, Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> 
>> We aren't going to move forward without doing something.
>> Hence applied to the togreg branch of iio.git.
> 
> Thanks!
> 
>>  Lets see
>> whether anyone cares enough to add the stuff the other driver supports
>> and this one doesn't.
> 
> The one really interesting feature I saw was the free-fall detection.
> I think it'd be nice if we had the ability to register for listening
> to such events from the IIO accelerometer subsystem, but I'm
> scared to even try to test it, god knows how many boards I'd
> break before I had this properly supported...
I used to have a couple of accelerometers on the end of really long cables
for this sort of thing ;)

Mind you we regularly put whole boards through accelerations well past
the limits of most of these devices.  Never broke one yet - though did
break a lot of battery cables..

You raise a good point though.  We really need a generic framework for handling
freefall events.  Various sources exist not all in IIO (and not all should be)
but a slim lined interface /dev/freefall was discussed to allow a really fast
response would probably make sense - afterall the point is usual to park mechanical
parts before the device hits the ground.

On second thoughts how many of the devices we care about actually have spinning disks
anymore?  Maybe we are 10 years too late on this one ;) 
> 
> Yours,
> Linus Walleij
> 

      parent reply	other threads:[~2015-03-28 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18  9:52 [PATCH RESEND] iio: st-sensors: add support for lis3lv02d accelerometer Linus Walleij
     [not found] ` <1426672326-6292-1-git-send-email-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-03-18 15:39   ` Lee Jones
2015-03-21 11:52     ` Jonathan Cameron
     [not found]       ` <550D5B65.10906-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-03-23  9:21         ` Linus Walleij
     [not found]           ` <CACRpkdYuWL_rs9nzg8ivRehG6-yFOheo+ZugZ-1iqmAyhwVaLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-28 12:18             ` Jonathan Cameron [this message]

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=55169C21.1000509@kernel.org \
    --to=jic23-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=denis.ciocca-qxv4g6HH51o@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).