mbox series

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

Message ID 20240407172920.264282-1-vassilisamir@gmail.com (mailing list archive)
Headers show
Series Driver cleanup and series to add triggered buffer | expand

Message

Vasileios Amoiridis April 7, 2024, 5:29 p.m. UTC
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@gmail.com/
[v2]: https://lore.kernel.org/linux-iio/20240313174007.1934983-1-vassilisamir@gmail.com/
[v1]: https://lore.kernel.org/linux-iio/20240303165300.468011-1-vassilisamir@gmail.com/

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(-)

Comments

Angel Iglesias April 7, 2024, 9:51 p.m. UTC | #1
On Sun, 2024-04-07 at 19:29 +0200, Vasileios Amoiridis wrote:
> Based on next-20240405.

Hi there! Small tip, with git's format-patch, you can include this information
for the people applying the patches with the argument --base=<commit or branch>.
This will point to git the base commit from which the series build the
changeset.

Kind regards,
Angel
Andy Shevchenko April 8, 2024, 3:01 p.m. UTC | #2
On Sun, Apr 07, 2024 at 11:51:22PM +0200, Angel Iglesias wrote:
> On Sun, 2024-04-07 at 19:29 +0200, Vasileios Amoiridis wrote:
> > Based on next-20240405.
> 
> Hi there! Small tip, with git's format-patch, you can include this information
> for the people applying the patches with the argument --base=<commit or branch>.
> This will point to git the base commit from which the series build the
> changeset.

Moreover, CIs will be able to properly test it.
Vasileios Amoiridis April 8, 2024, 4:58 p.m. UTC | #3
On Mon, Apr 08, 2024 at 06:01:55PM +0300, Andy Shevchenko wrote:
> On Sun, Apr 07, 2024 at 11:51:22PM +0200, Angel Iglesias wrote:
> > On Sun, 2024-04-07 at 19:29 +0200, Vasileios Amoiridis wrote:
> > > Based on next-20240405.
> > 
> > Hi there! Small tip, with git's format-patch, you can include this information
> > for the people applying the patches with the argument --base=<commit or branch>.
> > This will point to git the base commit from which the series build the
> > changeset.
> 
> Moreover, CIs will be able to properly test it.
> 
> -- 
> With Best Regards,
> Andy Shevchenko
> 
> 

Hi guys!

Thank you very much for the info, I will use it for the next version!

Cheers,
Vasilis