Skip to content

iio: pressure: bmp280: Minor cleanup and triggered

Vasileios Amoiridis linux-iio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest3 patches 6 repliesIn review
  2. v83 patches 13 repliesSuperseded
  3. v75 patches 7 repliesApplied
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v69 patches9 repliesApplied
v510 patches14 repliesApplied

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: pressure: bmp280: Generalize read_*() functionsdrivers/iio/pressure/bmp280-core.c drivers/iio/pressure/bmp280.h+108 -733 replies
2/3iio: pressure: bmp280: Add SCALE, RAW values in channels and refactorize themdrivers/iio/pressure/bmp280-core.c+83 -130 replies
3/3iio: pressure: bmp280: Add triggered buffer supportdrivers/iio/pressure/Kconfig drivers/iio/pressure/bmp280-core.c drivers/iio/pressure/bmp280-spi.c +1 more+405 -190 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAdam Rizkalla
1/3A-b
2/3
3/3

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

Read the v9 thread

Cover letter [PATCH v9 0/3] iio: pressure: bmp280: Minor cleanup and triggered

Changes in v9:

Patch 1/3:
- In bmp580_temp_coeffs, instead of *1000/2^16, now we have *125/2^13 to avoid overflows, as it was proposed.
- Type casting to (s64) to temperature read in the read_raw_impl function was removed as well as it is no longer needed.

Patch 3/3:
- Renamed "buffer_handler" to "trigger_handler" to keep consistency with the rest of the drivers.
- Added new iio_channel_spec for bmp580 in order to use IIO_LE and real_bits = 24.

v8: https://lore.kernel.org/linux-iio/[email protected]/

Vasileios Amoiridis (3):
iio: pressure: bmp280: Generalize read_*() functions
iio: pressure: bmp280: Add SCALE, RAW values in channels and
refactorize them
iio: pressure: bmp280: Add triggered buffer support

 drivers/iio/pressure/Kconfig       |   2 +
 drivers/iio/pressure/bmp280-core.c | 643 +++++++++++++++++++++++++----
 drivers/iio/pressure/bmp280-spi.c  |   8 +-
 drivers/iio/pressure/bmp280.h      |  34 +-
 4 files changed, 589 insertions(+), 98 deletions(-)

base-commit: 3341d69268accb5294b569ec37e55212a8a28ac5

Signature · 1 line
2.25.1