public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/3] iio: pressure: bmp280: Minor cleanup and triggered
@ 2024-06-28 17:17 Vasileios Amoiridis
  2024-06-28 17:17 ` [PATCH v9 1/3] iio: pressure: bmp280: Generalize read_*() functions Vasileios Amoiridis
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vasileios Amoiridis @ 2024-06-28 17:17 UTC (permalink / raw)
  To: jic23, lars
  Cc: petre.rodan, mazziesaccount, ak, vassilisamir, ang.iglesiasg,
	linus.walleij, tgamblin, ajarizzo, phil, 579lpy,
	andriy.shevchenko, semen.protsenko, linux-iio, linux-kernel

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/20240617230540.32325-1-vassilisamir@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 | 643 +++++++++++++++++++++++++----
 drivers/iio/pressure/bmp280-spi.c  |   8 +-
 drivers/iio/pressure/bmp280.h      |  34 +-
 4 files changed, 589 insertions(+), 98 deletions(-)


base-commit: 3341d69268accb5294b569ec37e55212a8a28ac5
-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-16 19:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28 17:17 [PATCH v9 0/3] iio: pressure: bmp280: Minor cleanup and triggered Vasileios Amoiridis
2024-06-28 17:17 ` [PATCH v9 1/3] iio: pressure: bmp280: Generalize read_*() functions Vasileios Amoiridis
2024-07-14 22:16   ` Adam Rizkalla
2024-07-16 17:08     ` Jonathan Cameron
2024-07-16 19:06       ` Vasileios Amoiridis
2024-06-28 17:17 ` [PATCH v9 2/3] iio: pressure: bmp280: Add SCALE, RAW values in channels and refactorize them Vasileios Amoiridis
2024-06-28 17:17 ` [PATCH v9 3/3] iio: pressure: bmp280: Add triggered buffer support Vasileios Amoiridis
2024-06-30 10:23 ` [PATCH v9 0/3] iio: pressure: bmp280: Minor cleanup and triggered Jonathan Cameron
2024-06-30 20:27   ` Vasileios Amoiridis
2024-07-13 10:00     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox