summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-05-22 19:17:38 +0300
committerJonathan Cameron <jic23@kernel.org>2015-05-23 12:49:55 +0300
commit1ce87f21edf6a071a7cc6bc77d628d7c7650d0d8 (patch)
treee21dccd1d0abee6c525407f91f60e7141fcd1c6a /include
parent2f4adaeebfb6f30fd6cd7a1a1dffe31f8e93a4c9 (diff)
downloadlinux-1ce87f21edf6a071a7cc6bc77d628d7c7650d0d8.tar.xz
iio: Add I/Q modifiers
I/Q modifiers can be used to denote signals which are represented by a in-phase and a quadrature component. The ABI documentation describes the I and Q modifiers for current and voltage channels for now as those will be the most likely users. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/iio/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h
index 5c4601935005..2f8b11722204 100644
--- a/include/uapi/linux/iio/types.h
+++ b/include/uapi/linux/iio/types.h
@@ -70,6 +70,8 @@ enum iio_modifier {
IIO_MOD_WALKING,
IIO_MOD_STILL,
IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z,
+ IIO_MOD_I,
+ IIO_MOD_Q,
};
enum iio_event_type {