Re: [PATCH v3 1/3] iio: types: add IIO_VOLUMEFLOW channel type
From: Rodrigo Alencar
Date: Mon Jun 08 2026 - 05:08:17 EST
On 26/06/07 12:45PM, Wadim Mueller wrote:
> On Thu, 4 Jun 2026 09:44:36 +0100
> Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
>
> > Yes, I'd prefer that for consistency (m^3/sec). Hopefully the scaling is
> > fine with the new forms that are happy with more leading zeros.
>
> Ok for m^3/s if you prefer SI, but two things before i switch:
>
> 1) The scaling is not quite fine with pico. In m^3/s the SLF3S-0600F scale
> is ~1.667e-12, so IIO_VAL_DECIMAL64_PICO keeps only a single digit
> again. It would need IIO_VAL_DECIMAL64_FEMTO, which Rodrigo's series
> does not define yet (only MILLI..PICO). Rodrigo, you offered FEMTO
> earlier - could you add it? Then i base v4 on top of it.
v16 is essentially ready to be accepted! I suppose adding the FEMTO format
could be done here if needed.
--
Kind regards,
Rodrigo Alencar