]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: ABI: Add support for floating-point numbers in buffer scan elements
authorFrancesco Lavra <flavra@baylibre.com>
Tue, 24 Mar 2026 08:47:53 +0000 (09:47 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:16 +0000 (09:58 +0100)
commitb29f00ef08a7afdedc0b36cc0bead579d6977ced
tree9fa59462cbb97cb5ba523c2097da779d37b28b62
parentcdd445d4b2a910ade742c3d6a86bc3fca4da9e0c
iio: ABI: Add support for floating-point numbers in buffer scan elements

In the data storage description of a scan element, the first character
after the colon can have the values 's' and 'u' to specify signed and
unsigned integers, respectively.
Add 'f' as an allowed value to specify floating-point numbers formatted
according to the IEEE 754 standard.

Signed-off-by: Francesco Lavra <flavra@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio
Documentation/driver-api/iio/buffers.rst
Documentation/iio/iio_devbuf.rst
include/linux/iio/iio.h