[PATCH v4 0/6] Driver cleanup and series to add triggered buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Based on next-20240405.

Changes in v4:

Patch [1/6]: *new*:
	- Various driver cleanups, no functional changes.

Patch [2/6]: *new*:
	- Split reading functions to not hide the t_fine anymore.

Patch [3/6]:
	- Patch [2/6] of v3, removed dead code due to guard(mutex)

Patch [4/6]:
	- Patch [3/6] of v3, adjusted to the changes introduced by the
	  new Patch [2/6].

Patch [5/6]:
	- Patch [4/6] of v3
	- parts of Patch [5/6] of v3 which is the splitting of the channels for
	  the BMP2xx, BME2xx and the rest of the sensors

Patch [6/6]:
	- Patch [6/6] of v3, adjusted to the changes introduced by the
new Patch [2/6]
	- Change variable to push data to userspace to a s32 with a size of 5
	  to fit timestamp as well.
	- Add buffer_setup_ops to use the power management functions before
	  enabling and after disabling the buffer.
	- parts of Patch [5/6] of v3 which is to add timestamps and
	  scan_index/scan_type in the channels.

[v3]: https://lore.kernel.org/linux-iio/20240319002925.2121016-1-vassilisamir@xxxxxxxxx/
[v2]: https://lore.kernel.org/linux-iio/20240313174007.1934983-1-vassilisamir@xxxxxxxxx/
[v1]: https://lore.kernel.org/linux-iio/20240303165300.468011-1-vassilisamir@xxxxxxxxx/

Vasileios Amoiridis (6):
  iio: pressure: bmp280: Various driver cleanups
  iio: pressure: bmp280: Refactorize reading functions
  iio: pressure: bmp280: Introduce new cleanup routines
  iio: pressure: bmp280: Generalize read_{temp,press,humid}() 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   | 1164 ++++++++++++++++++--------
 drivers/iio/pressure/bmp280-regmap.c |    8 +-
 drivers/iio/pressure/bmp280-spi.c    |    8 +-
 drivers/iio/pressure/bmp280.h        |   68 +-
 5 files changed, 867 insertions(+), 383 deletions(-)

-- 
2.25.1





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux