From: Jonathan Cameron <jonathan.cameron@huawei.com>
To: Petre Rodan <petre.rodan@subdimension.ro>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Andreas Klinger" <ak@it-klinger.de>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
"Marcelo Schmitt" <marcelo.schmitt1@gmail.com>
Subject: Re: [PATCH v2 00/13] iio: pressure: mprls0025pa: driver code cleanup
Date: Wed, 14 Jan 2026 12:21:43 +0000 [thread overview]
Message-ID: <20260114122143.000073cd@huawei.com> (raw)
In-Reply-To: <20260114-mprls_cleanup-v2-0-5868b0045316@subdimension.ro>
On Wed, 14 Jan 2026 12:05:34 +0200
Petre Rodan <petre.rodan@subdimension.ro> wrote:
> This series contains a collection of patches to the MPR sensor based
> on feedback I received for other drivers.
Hi Petre,
I took a look at the whole series and didn't have anything to add to
Andy's review.
As we are somewhat near the end of the cycle, if you have time,
feel free to send a v3 sooner than the normal delay of 1ish weeks
(unless there is something you want to wait for more feedback on!)
I'll almost certainly take the lot for the merge window now rather
than trying to get the fixes in this cycle.
Thanks,
Jonathan
>
> major changes:
> - trigger flag fix (define edge direction only in the device tree)
> - fix SPI timing violation
> - fix scan_type struct
> - fix pressure calculation
> (does not affect users that define a sensor via the pressure-triplet)
> - stricter check for the status byte + better error return levels
> - drop the use of devm_kzalloc()
> - stick to the datasheet parameters while performing the measurement
> sequence
>
> minor changes:
> - includes added and removed
> - rename generic 'buffer' variable to 'rx_buf'
>
> I still included the memset patch for the reasons described in the v1 thread.
> if you strongly consider that patch inadequate then please skip it.
>
> Tested on two sensors - MPRLS0015PA0000SA and MPRLS0001BA00001A
>
> Datasheet: https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/micropressure-mpr-series/documents/sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf?download=false
> Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
> ---
> Changes in v2:
> - reordered patches based on Marcelo's input
> - implemented code changes based on Marcelo and Jonathan's reviews
> - Link to v1: https://lore.kernel.org/r/20251218-mprls_cleanup-v1-0-b36a170f1a5c@subdimension.ro
>
> ---
> Petre Rodan (13):
> iio: pressure: mprls0025pa: fix spi_transfer struct initialisation
> iio: pressure: mprls0025pa: fix SPI CS delay violation
> iio: pressure: mprls0025pa: fix interrupt flag
> iio: pressure: mprls0025pa: fix scan_type struct
> iio: pressure: mprls0025pa: fix pressure calculation
> iio: pressure: mprls0025pa: cleanup includes
> iio: pressure: mprls0025pa: remove redundant declarations
> iio: pressure: mprls0025pa: rename buffer variable
> iio: pressure: mprls0025pa: introduce tx buffer
> iio: pressure: mprls0025pa: move memset to core
> iio: pressure: mprls0025pa: stricter checks for the status byte
> iio: pressure: mprls0025pa: change measurement sequence
> iio: pressure: mprls0025pa: add copyright line
>
> drivers/iio/pressure/mprls0025pa.c | 112 +++++++++++++++------------------
> drivers/iio/pressure/mprls0025pa.h | 15 ++---
> drivers/iio/pressure/mprls0025pa_i2c.c | 13 +---
> drivers/iio/pressure/mprls0025pa_spi.c | 41 +++++-------
> 4 files changed, 73 insertions(+), 108 deletions(-)
> ---
> base-commit: f9e05791642810a0cf6237d39fafd6fec5e0b4bb
> change-id: 20251215-mprls_cleanup-01de8971b439
>
> Best regards,
prev parent reply other threads:[~2026-01-14 12:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 10:05 [PATCH v2 00/13] iio: pressure: mprls0025pa: driver code cleanup Petre Rodan
2026-01-14 10:05 ` [PATCH v2 01/13] iio: pressure: mprls0025pa: fix spi_transfer struct initialisation Petre Rodan
2026-01-14 10:05 ` [PATCH v2 02/13] iio: pressure: mprls0025pa: fix SPI CS delay violation Petre Rodan
2026-01-14 10:05 ` [PATCH v2 03/13] iio: pressure: mprls0025pa: fix interrupt flag Petre Rodan
2026-01-14 10:13 ` Andy Shevchenko
2026-01-14 12:14 ` Jonathan Cameron
2026-01-14 10:05 ` [PATCH v2 04/13] iio: pressure: mprls0025pa: fix scan_type struct Petre Rodan
2026-01-14 10:05 ` [PATCH v2 05/13] iio: pressure: mprls0025pa: fix pressure calculation Petre Rodan
2026-01-14 10:14 ` Andy Shevchenko
2026-01-14 10:05 ` [PATCH v2 06/13] iio: pressure: mprls0025pa: cleanup includes Petre Rodan
2026-01-14 10:05 ` [PATCH v2 07/13] iio: pressure: mprls0025pa: remove redundant declarations Petre Rodan
2026-01-14 10:05 ` [PATCH v2 08/13] iio: pressure: mprls0025pa: rename buffer variable Petre Rodan
2026-01-14 10:05 ` [PATCH v2 09/13] iio: pressure: mprls0025pa: introduce tx buffer Petre Rodan
2026-01-14 10:05 ` [PATCH v2 10/13] iio: pressure: mprls0025pa: move memset to core Petre Rodan
2026-01-14 10:05 ` [PATCH v2 11/13] iio: pressure: mprls0025pa: stricter checks for the status byte Petre Rodan
2026-01-14 10:05 ` [PATCH v2 12/13] iio: pressure: mprls0025pa: change measurement sequence Petre Rodan
2026-01-14 10:20 ` Andy Shevchenko
2026-01-14 10:05 ` [PATCH v2 13/13] iio: pressure: mprls0025pa: add copyright line Petre Rodan
2026-01-14 12:21 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260114122143.000073cd@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=ak@it-klinger.de \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.schmitt1@gmail.com \
--cc=nuno.sa@analog.com \
--cc=petre.rodan@subdimension.ro \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox