summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorWadim Mueller <wafgo01@gmail.com>2026-07-28 23:49:40 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-05 00:02:55 +0100
commit22bba9dfd2d47d9f702f641537b0ef5e0ab1a957 (patch)
tree59e97386eb3166edacfb46ee9b1ab15718d8bc92 /include/uapi
parentce717fbfda6c697c5f0b4e081cdac4718c7016f5 (diff)
downloadlinux-22bba9dfd2d47d9f702f641537b0ef5e0ab1a957.tar.gz
linux-22bba9dfd2d47d9f702f641537b0ef5e0ab1a957.zip
iio: types: add IIO_VOLUMEFLOW channel type
Add a new IIO channel type for liquid volumetric flow sensors. The unit exposed via the standard _scale attribute is cubic metres per second (m^3/s), following the SI convention used by the other IIO channel types. Update iio-core's name table, the iio_event_monitor whitelist and the sysfs-bus-iio ABI document to match. The new _scale attribute is folded into the existing shared _scale block; only the per-type _raw needs a fresh entry. Signed-off-by: Wadim Mueller <wafgo01@gmail.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/iio/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h
index c9295c707041..d0fb714ca0fd 100644
--- a/include/uapi/linux/iio/types.h
+++ b/include/uapi/linux/iio/types.h
@@ -54,6 +54,7 @@ enum iio_chan_type {
IIO_ATTENTION,
IIO_ALTCURRENT,
IIO_COVERAGE,
+ IIO_VOLUMEFLOW,
};
enum iio_modifier {