All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Kepplinger <martink@posteo.de>
To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de,
	pmeerw@pmeerw.net, christoph.muellner@theobroma-systems.com,
	mfuzzey@parkeon.com
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: mma8452: add support for oversampling ratio
Date: Wed, 4 May 2016 14:06:58 +0200	[thread overview]
Message-ID: <5729E5E2.5040705@posteo.de> (raw)
In-Reply-To: <1461586105-12919-1-git-send-email-martink@posteo.de>

Am 2016-04-25 um 14:08 schrieb Martin Kepplinger:
> This adds the following sysfs files according to the iio ABI:
> 
> -rw-r--r--    4096 in_accel_oversampling_ratio
> -r--r--r--    4096 in_accel_oversampling_ratio_available
> 
> Internally, the device knows about 4 different power modes that differ
> in oversampling ratio (and power consumption). We just show the user
> what oversampling ratio(s) is/are available, depending on the current
> frequency.
> 
> The referenced table in the datasheets makes it easier to understand.
> 
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
> ---
> This is meant to get merged for v4.8 to have time for review and possibly
> testing by others.
> 
> thanks,
>                        martin
> 
> 
>  drivers/iio/accel/mma8452.c | 185 ++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 160 insertions(+), 25 deletions(-)
> 

In case this has already been forgotten about, I'd be happy about
reviews. Powersaving is always nice to have after all.

thanks
                         martin

      parent reply	other threads:[~2016-05-04 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25 12:08 [PATCH] iio: mma8452: add support for oversampling ratio Martin Kepplinger
2016-05-04 10:47 ` Jonathan Cameron
2016-05-04 12:06 ` Martin Kepplinger [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=5729E5E2.5040705@posteo.de \
    --to=martink@posteo.de \
    --cc=christoph.muellner@theobroma-systems.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfuzzey@parkeon.com \
    --cc=pmeerw@pmeerw.net \
    /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.