mbox series

[v7,0/4] pressure: bmp280: Minor cleanup and interrupt support

Message ID 20240914002900.45158-1-vassilisamir@gmail.com (mailing list archive)
Headers show
Series pressure: bmp280: Minor cleanup and interrupt support | expand

Message

Vasileios Amoiridis Sept. 14, 2024, 12:28 a.m. UTC
Depends on this: https://lore.kernel.org/linux-iio/20240823172017.9028-1-vassilisamir@gmail.com

Changes in v7:

[PATCH 1/4]:
	- Use 5ms instead of 5000us in comment
	- Use USEC_PER_MSEC
	- Move parenthesis to make checkpatch.pl --strict happy

[PATCH 2/4]:
	- Remove interrupt description since enforcement was added.

Added also review tags for patches 1,3 and ack tag for patch 2.

---
v6: https://lore.kernel.org/linux-iio/20240912233234.45519-1-vassilisamir@gmail.com
v5: https://lore.kernel.org/linux-iio/20240902184222.24874-1-vassilisamir@gmail.com
v4: https://lore.kernel.org/linux-iio/20240828205128.92145-1-vassilisamir@gmail.com
v3: https://lore.kernel.org/linux-iio/20240823181714.64545-1-vassilisamir@gmail.com
v2: https://lore.kernel.org/linux-iio/20240725231039.614536-1-vassilisamir@gmail.com
v1: https://lore.kernel.org/linux-iio/20240711211558.106327-1-vassilisamir@gmail.com

Vasileios Amoiridis (4):
  iio: pressure: bmp280: Use sleep and forced mode for oneshot captures
  dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and
    BMP5xx devices
  iio: pressure: bmp280: Add data ready trigger support
  iio: pressure: bmp280: Move bmp085 interrupt to new configuration

 .../bindings/iio/pressure/bmp085.yaml         |  22 +-
 drivers/iio/pressure/bmp280-core.c            | 580 ++++++++++++++++--
 drivers/iio/pressure/bmp280-i2c.c             |   4 +-
 drivers/iio/pressure/bmp280-spi.c             |   4 +-
 drivers/iio/pressure/bmp280.h                 |  43 ++
 5 files changed, 612 insertions(+), 41 deletions(-)


base-commit: fec496684388685647652ab4213454fbabdab099
prerequisite-patch-id: e4f81f31f4fbb2aa872c0c74ed4511893eee0c9a

Comments

Jonathan Cameron Sept. 14, 2024, 2:36 p.m. UTC | #1
On Sat, 14 Sep 2024 02:28:56 +0200
Vasileios Amoiridis <vassilisamir@gmail.com> wrote:

> Depends on this: https://lore.kernel.org/linux-iio/20240823172017.9028-1-vassilisamir@gmail.com
> 
This looks fine, but given outstanding comments on that patch I can't
take it quite yet.

Jonathan

> Changes in v7:
> 
> [PATCH 1/4]:
> 	- Use 5ms instead of 5000us in comment
> 	- Use USEC_PER_MSEC
> 	- Move parenthesis to make checkpatch.pl --strict happy
> 
> [PATCH 2/4]:
> 	- Remove interrupt description since enforcement was added.
> 
> Added also review tags for patches 1,3 and ack tag for patch 2.
> 
> ---
> v6: https://lore.kernel.org/linux-iio/20240912233234.45519-1-vassilisamir@gmail.com
> v5: https://lore.kernel.org/linux-iio/20240902184222.24874-1-vassilisamir@gmail.com
> v4: https://lore.kernel.org/linux-iio/20240828205128.92145-1-vassilisamir@gmail.com
> v3: https://lore.kernel.org/linux-iio/20240823181714.64545-1-vassilisamir@gmail.com
> v2: https://lore.kernel.org/linux-iio/20240725231039.614536-1-vassilisamir@gmail.com
> v1: https://lore.kernel.org/linux-iio/20240711211558.106327-1-vassilisamir@gmail.com
> 
> Vasileios Amoiridis (4):
>   iio: pressure: bmp280: Use sleep and forced mode for oneshot captures
>   dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and
>     BMP5xx devices
>   iio: pressure: bmp280: Add data ready trigger support
>   iio: pressure: bmp280: Move bmp085 interrupt to new configuration
> 
>  .../bindings/iio/pressure/bmp085.yaml         |  22 +-
>  drivers/iio/pressure/bmp280-core.c            | 580 ++++++++++++++++--
>  drivers/iio/pressure/bmp280-i2c.c             |   4 +-
>  drivers/iio/pressure/bmp280-spi.c             |   4 +-
>  drivers/iio/pressure/bmp280.h                 |  43 ++
>  5 files changed, 612 insertions(+), 41 deletions(-)
> 
> 
> base-commit: fec496684388685647652ab4213454fbabdab099
> prerequisite-patch-id: e4f81f31f4fbb2aa872c0c74ed4511893eee0c9a
Vasileios Amoiridis Sept. 18, 2024, 7:37 p.m. UTC | #2
On Sat, Sep 14, 2024 at 03:36:17PM +0100, Jonathan Cameron wrote:
> On Sat, 14 Sep 2024 02:28:56 +0200
> Vasileios Amoiridis <vassilisamir@gmail.com> wrote:
> 
> > Depends on this: https://lore.kernel.org/linux-iio/20240823172017.9028-1-vassilisamir@gmail.com
> > 
> This looks fine, but given outstanding comments on that patch I can't
> take it quite yet.
> 
> Jonathan

Hi Jonathan,

Thanks for the review. I will fix the other patch and poke you again on
this one, you don't have to keep a note. In case, I could rebase this
patch-series, without the depended patch since they are not related
functionally in order for you to be able to pick up this series while
we still review the depended patch. Let me know how you feel.

Cheers,
Vasilis

> 
> > Changes in v7:
> > 
> > [PATCH 1/4]:
> > 	- Use 5ms instead of 5000us in comment
> > 	- Use USEC_PER_MSEC
> > 	- Move parenthesis to make checkpatch.pl --strict happy
> > 
> > [PATCH 2/4]:
> > 	- Remove interrupt description since enforcement was added.
> > 
> > Added also review tags for patches 1,3 and ack tag for patch 2.
> > 
> > ---
> > v6: https://lore.kernel.org/linux-iio/20240912233234.45519-1-vassilisamir@gmail.com
> > v5: https://lore.kernel.org/linux-iio/20240902184222.24874-1-vassilisamir@gmail.com
> > v4: https://lore.kernel.org/linux-iio/20240828205128.92145-1-vassilisamir@gmail.com
> > v3: https://lore.kernel.org/linux-iio/20240823181714.64545-1-vassilisamir@gmail.com
> > v2: https://lore.kernel.org/linux-iio/20240725231039.614536-1-vassilisamir@gmail.com
> > v1: https://lore.kernel.org/linux-iio/20240711211558.106327-1-vassilisamir@gmail.com
> > 
> > Vasileios Amoiridis (4):
> >   iio: pressure: bmp280: Use sleep and forced mode for oneshot captures
> >   dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and
> >     BMP5xx devices
> >   iio: pressure: bmp280: Add data ready trigger support
> >   iio: pressure: bmp280: Move bmp085 interrupt to new configuration
> > 
> >  .../bindings/iio/pressure/bmp085.yaml         |  22 +-
> >  drivers/iio/pressure/bmp280-core.c            | 580 ++++++++++++++++--
> >  drivers/iio/pressure/bmp280-i2c.c             |   4 +-
> >  drivers/iio/pressure/bmp280-spi.c             |   4 +-
> >  drivers/iio/pressure/bmp280.h                 |  43 ++
> >  5 files changed, 612 insertions(+), 41 deletions(-)
> > 
> > 
> > base-commit: fec496684388685647652ab4213454fbabdab099
> > prerequisite-patch-id: e4f81f31f4fbb2aa872c0c74ed4511893eee0c9a
>
Jonathan Cameron Sept. 28, 2024, 3 p.m. UTC | #3
On Wed, 18 Sep 2024 21:37:24 +0200
Vasileios Amoiridis <vassilisamir@gmail.com> wrote:

> On Sat, Sep 14, 2024 at 03:36:17PM +0100, Jonathan Cameron wrote:
> > On Sat, 14 Sep 2024 02:28:56 +0200
> > Vasileios Amoiridis <vassilisamir@gmail.com> wrote:
> >   
> > > Depends on this: https://lore.kernel.org/linux-iio/20240823172017.9028-1-vassilisamir@gmail.com
> > >   
> > This looks fine, but given outstanding comments on that patch I can't
> > take it quite yet.
> > 
> > Jonathan  
> 
> Hi Jonathan,
> 
> Thanks for the review. I will fix the other patch and poke you again on
> this one, you don't have to keep a note. In case, I could rebase this
> patch-series, without the depended patch since they are not related
> functionally in order for you to be able to pick up this series while
> we still review the depended patch. Let me know how you feel.

If you think that dependency will go in soon Id' not bother with a rebase
of this one.  We have plenty of time this cycle after all!

Jonathan

> 
> Cheers,
> Vasilis
> 
> >   
> > > Changes in v7:
> > > 
> > > [PATCH 1/4]:
> > > 	- Use 5ms instead of 5000us in comment
> > > 	- Use USEC_PER_MSEC
> > > 	- Move parenthesis to make checkpatch.pl --strict happy
> > > 
> > > [PATCH 2/4]:
> > > 	- Remove interrupt description since enforcement was added.
> > > 
> > > Added also review tags for patches 1,3 and ack tag for patch 2.
> > > 
> > > ---
> > > v6: https://lore.kernel.org/linux-iio/20240912233234.45519-1-vassilisamir@gmail.com
> > > v5: https://lore.kernel.org/linux-iio/20240902184222.24874-1-vassilisamir@gmail.com
> > > v4: https://lore.kernel.org/linux-iio/20240828205128.92145-1-vassilisamir@gmail.com
> > > v3: https://lore.kernel.org/linux-iio/20240823181714.64545-1-vassilisamir@gmail.com
> > > v2: https://lore.kernel.org/linux-iio/20240725231039.614536-1-vassilisamir@gmail.com
> > > v1: https://lore.kernel.org/linux-iio/20240711211558.106327-1-vassilisamir@gmail.com
> > > 
> > > Vasileios Amoiridis (4):
> > >   iio: pressure: bmp280: Use sleep and forced mode for oneshot captures
> > >   dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and
> > >     BMP5xx devices
> > >   iio: pressure: bmp280: Add data ready trigger support
> > >   iio: pressure: bmp280: Move bmp085 interrupt to new configuration
> > > 
> > >  .../bindings/iio/pressure/bmp085.yaml         |  22 +-
> > >  drivers/iio/pressure/bmp280-core.c            | 580 ++++++++++++++++--
> > >  drivers/iio/pressure/bmp280-i2c.c             |   4 +-
> > >  drivers/iio/pressure/bmp280-spi.c             |   4 +-
> > >  drivers/iio/pressure/bmp280.h                 |  43 ++
> > >  5 files changed, 612 insertions(+), 41 deletions(-)
> > > 
> > > 
> > > base-commit: fec496684388685647652ab4213454fbabdab099
> > > prerequisite-patch-id: e4f81f31f4fbb2aa872c0c74ed4511893eee0c9a  
> >