Skip to content

iio: pressure: bmp280: add support for BMP180 and oversampling rate control

Akinobu Mita linux-iio 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v22 patches 6 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: pressure: bmp280: add support for BMP180drivers/iio/pressure/Kconfig drivers/iio/pressure/bmp280.c+356 -163 replies
2/2iio: pressure: bmp280: add ability to control oversampling ratedrivers/iio/pressure/bmp280.c+185 -183 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVlad Dogaru
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] iio: pressure: bmp280: add support for BMP180 and oversampling rate control

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(-)
Signature · 1 line
2.5.0