From: Dan Robertson <dan@dlrobertson.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Linus Walleij <linus.walleij@linaro.org>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
linux-iio@vger.kernel.org, Dan Robertson <dan@dlrobertson.com>
Subject: [PATCH 0/1] iio: accel: bma400: add PM_SLEEP support
Date: Wed, 15 Jul 2020 01:02:25 -0400 [thread overview]
Message-ID: <20200715050226.9751-1-dan@dlrobertson.com> (raw)
The following patch adds support for PM_SLEEP. I also added an attribute
for manually setting the power mode similar to what the BMA180 driver
provides. Feedback on this would be appreciated.
Cheers,
- Dan
Dan Robertson (1):
iio: accel: bma400: add PM_SLEEP support
drivers/iio/accel/bma400.h | 3 +
drivers/iio/accel/bma400_core.c | 132 ++++++++++++++++++++++++--------
drivers/iio/accel/bma400_i2c.c | 1 +
drivers/iio/accel/bma400_spi.c | 1 +
4 files changed, 107 insertions(+), 30 deletions(-)
next reply other threads:[~2020-07-15 5:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 5:02 Dan Robertson [this message]
2020-07-15 5:02 ` [PATCH 1/1] iio: accel: bma400: add PM_SLEEP support Dan Robertson
2020-07-15 5:44 ` Andy Shevchenko
2020-07-20 23:50 ` Dan Robertson
2020-07-20 11:23 ` Jonathan Cameron
2020-07-20 23:53 ` Dan Robertson
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=20200715050226.9751-1-dan@dlrobertson.com \
--to=dan@dlrobertson.com \
--cc=andy.shevchenko@gmail.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-iio@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox