linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Akinobu Mita <akinobu.mita@gmail.com>
To: linux-iio@vger.kernel.org
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Subject: [PATCH v3 0/2] iio: pressure: bmp280: add support for BMP180 and oversampling rate control
Date: Sun, 24 Apr 2016 22:52:09 +0900	[thread overview]
Message-ID: <1461505931-21884-1-git-send-email-akinobu.mita@gmail.com> (raw)

This series includes two patches: one that adds support for the BMP180
chip, and the second which adds configuration for the oversampling ratio
for both BMP180 and BMP280.

* v3
- use single line comment style where possible suggested by Jonathan Cameron
- remove double casts for calibration coefficients by using adequate data
  types, suggested by Jonathan Cameron
- fix oversampling register setting for bmp280, spotted by Vlad Dogaru

* v2
- split into two patches
- add error check for reading calibration data.
- s/be16_to_cpu(0)/cpu_to_be16(0)/
- default pressure oversampling ratio for bmp180 from x1 to x8
- add kconfig dependency to not select if bmp085-i2c is enabled
- create bmp280_chip_info includes all elements depending on the chip
- add ACPI ids for bmp180

Akinobu Mita (2):
  iio: pressure: bmp280: add support for BMP180
  iio: pressure: bmp280: add ability to control oversampling rate

 drivers/iio/pressure/Kconfig  |   5 +-
 drivers/iio/pressure/bmp280.c | 564 +++++++++++++++++++++++++++++++++++++++---
 2 files changed, 538 insertions(+), 31 deletions(-)

-- 
2.5.0


             reply	other threads:[~2016-04-24 13:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-24 13:52 Akinobu Mita [this message]
2016-04-24 13:52 ` [PATCH v3 1/2] iio: pressure: bmp280: add support for BMP180 Akinobu Mita
2016-04-25 10:18   ` Vlad Dogaru
2016-04-27  3:21   ` Matt Ranostay
2016-04-27 11:33     ` Akinobu Mita
2016-04-24 13:52 ` [PATCH v3 2/2] iio: pressure: bmp280: add ability to control oversampling rate Akinobu Mita
2016-04-24 21:38   ` Matt Ranostay
2016-04-24 22:29     ` Matt Ranostay
2016-04-25 10:18   ` Vlad Dogaru
2016-04-24 16:09 ` [PATCH v3 0/2] iio: pressure: bmp280: add support for BMP180 and oversampling rate control 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=1461505931-21884-1-git-send-email-akinobu.mita@gmail.com \
    --to=akinobu.mita@gmail.com \
    --cc=linux-iio@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 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).