Re: [PATCH v7 4/5] iio: pressure: bmp280: Add SCALE, RAW values in channels and refactorize them

From: Jonathan Cameron
Date: Sun May 19 2024 - 10:38:29 EST


On Mon, 13 May 2024 01:05:23 +0200
Vasileios Amoiridis <vassilisamir@xxxxxxxxx> wrote:

> Add extra IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_RAW channels in order
> to be able to calculate the processed value with standard userspace
> IIO tools. Can be used for triggered buffers as well.
>
> Even though it is not a good design choice to have SCALE, RAW and
> PROCESSED together, the PROCESSED channel is kept for ABI compatibility.
>
> While at it, separate BMPxxx and BMExxx device channels since BME
> supports also humidity measurements.
>
> Signed-off-by: Vasileios Amoiridis <vassilisamir@xxxxxxxxx>
Applied

Jonathan