All of lore.kernel.org
 help / color / mirror / Atom feed
From: JohnLM <johnlm@apollo.lv>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: linux-iio@vger.kernel.org,
	Device-drivers-devel@blackfin.uclinux.org,
	manuel.stahl@iis.fraunhofer.de
Subject: Re: [RFC PATCH 0/2] IIO: Filtering - how to handle.
Date: Tue, 4 Oct 2011 15:39:46 +0300	[thread overview]
Message-ID: <20111004153946.77e9754d@isg005> (raw)
In-Reply-To: <1317377879-9264-1-git-send-email-jic23@cam.ac.uk>

On Fri, 30 Sep 2011 11:17:57 +0100
Jonathan Cameron <jic23@cam.ac.uk> wrote:

> Hi All,
> 
> One big area we have pretty much glossed over so far is devices with
> controllable hardware filters.  This RFC proposes one option for
> how to handle this. For low pass filters at least, the 3db point
> seems the obvious choice as it allows us to gloss over exactly
> what type of filter it is whilst still capturing it's basic
> property of what it lets through.
> 
> What do people think?
I have no exact filters in mind but in general since they affect the
readings I think some kind of framework is needed.
Some generic types should be defined, but even when IIO can't make out
what kind of filter it is, user-space app might so it should be exposed.

For filters that can be enabled/disabled userspace could even
abstract the filtering routine to use hardware filter when desired or
use software filter when hardware filter is not present or is
unreliable.

The implementation is a whole other story I don't have time to think
about right now. :)

> 
> Jonathan
> 
> Jonathan Cameron (2):
>   staging:iio: filter description - low pass 3db frequency.
>   staging:iio:imu:adis16400 add control of data filtering.
> 
>  drivers/staging/iio/iio.h                |    2 +
>  drivers/staging/iio/imu/adis16400.h      |    2 +
>  drivers/staging/iio/imu/adis16400_core.c |  177
> +++++++++++++++++++++++------
> drivers/staging/iio/industrialio-core.c  |    2 + 4 files changed,
> 146 insertions(+), 37 deletions(-)
> 

  parent reply	other threads:[~2011-10-04 12:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 10:17 [RFC PATCH 0/2] IIO: Filtering - how to handle Jonathan Cameron
2011-09-30 10:17 ` [PATCH 1/2] staging:iio: filter description - low pass 3db frequency Jonathan Cameron
2011-09-30 10:17 ` [PATCH 2/2] staging:iio:imu:adis16400 add control of data filtering Jonathan Cameron
2011-10-04 12:39 ` JohnLM [this message]
2011-10-04 14:23   ` [RFC PATCH 0/2] IIO: Filtering - how to handle Jonathan Cameron
2011-10-06 14:01     ` JohnLM
2011-10-06 14:25       ` Jonathan Cameron
2011-10-05  6:55 ` Hennerich, Michael
2011-10-05  8:38   ` Jonathan Cameron
2011-10-06 15:40     ` [PATCH] staging:iio:documentation: document filter_low_pass_3db_frequency Jonathan Cameron

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=20111004153946.77e9754d@isg005 \
    --to=johnlm@apollo.lv \
    --cc=Device-drivers-devel@blackfin.uclinux.org \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=manuel.stahl@iis.fraunhofer.de \
    /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.