Re: [PATCH v2 12/13] iio: pressure: mprls0025pa: change measurement sequence

Andy Shevchenko
2026-01-14T10:20:33Z

On Wed, Jan 14, 2026 at 12:05:46PM +0200, Petre Rodan wrote:
> This patch implements a measurement sequence that does not involve a

s/This patch implements/Implement/

This is described in the kernel Documentation (imperative mode).

> one byte read of the status byte before reading the conversion.
>
> The sensor's conversions should be read either once the EoC interrupt
> has triggered or 5ms after the 0xaa command. See Options 1 and 2
> respectively in Tables 16 (page 15) and 18 (page 18) of the datasheet.
> Note that Honeywell's example code also covered in the datasheet follows
> Option 2 for both i2c and SPI.
>
> The datasheet does not specify any of the retry parameters that are
> currently implemented in the driver. A simple 5+ms sleep as specified in
> Option 2 is enough for a valid measurement sequence.
>
> The change also gets rid of the code duplication tied to the verification
> of the status byte.
>
> This change only affects users that do not define the EOC interrupt in
> the device tree.

--
With Best Regards,
Andy Shevchenko