[PATCH v8 0/3] Driver cleanup and triggered buffer support

Vasileios Amoiridis posted 3 patches 1 year, 6 months ago
drivers/iio/pressure/Kconfig       |   2 +
drivers/iio/pressure/bmp280-core.c | 627 ++++++++++++++++++++++++-----
drivers/iio/pressure/bmp280-spi.c  |   8 +-
drivers/iio/pressure/bmp280.h      |  34 +-
4 files changed, 568 insertions(+), 103 deletions(-)
[PATCH v8 0/3] Driver cleanup and triggered buffer support
Posted by Vasileios Amoiridis 1 year, 6 months ago
Based on current testing branch.

Changes in v8:

Patch 1/3:
	- Changes in bmp580_read_temp() in order to incorporate the fix that was
	  introduced in [1].

Patch 3/3:
	- Splitted bmp280_trigger_handler to bm(p/e)_trigger_handler as it was
	  mentioned in v7 comment.
	- Added the sign_extend32() from the fix in [1] to the
	  bmp580_buffer_handler() as well.

These commits were dropped since there was a conflict with a fix for that
driver. Link to conversation [2].

Version 7: https://lore.kernel.org/linux-iio/20240512230524.53990-1-vassilisamir@gmail.com/
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0f0f6306617cb4b6231fc9d4ec68ab9a56dba7c0
[2]: https://lore.kernel.org/linux-iio/20240602201200.30418-1-ajarizzo@gmail.com/

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 | 627 ++++++++++++++++++++++++-----
 drivers/iio/pressure/bmp280-spi.c  |   8 +-
 drivers/iio/pressure/bmp280.h      |  34 +-
 4 files changed, 568 insertions(+), 103 deletions(-)


base-commit: 7db8a847f98caae68c70bdab9ba92d1af38e5656
-- 
2.25.1