summaryrefslogtreecommitdiffstats
path: root/include/linux/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-20 13:36:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-11-20 21:26:38 +0000
commitc4f0c6936762ecd6b453275611a785dfdee0d417 (patch)
treedda78d1d4c27ca0144185cc2316556ca1551ed74 /include/linux/iio
parent484a0bf091c93c379e6524a17bb037c33c898e01 (diff)
downloadblackbird-op-linux-c4f0c6936762ecd6b453275611a785dfdee0d417.tar.gz
blackbird-op-linux-c4f0c6936762ecd6b453275611a785dfdee0d417.zip
iio: Add pressure channel type
This patch adds support for a new IIO channel type for pressure measurements. This can for example be used for barometric pressure sensors. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
-rw-r--r--include/linux/iio/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h
index 87b196a2d698..88bf0f0d27b4 100644
--- a/include/linux/iio/types.h
+++ b/include/linux/iio/types.h
@@ -28,6 +28,7 @@ enum iio_chan_type {
IIO_CAPACITANCE,
IIO_ALTVOLTAGE,
IIO_CCT,
+ IIO_PRESSURE,
};
enum iio_modifier {
OpenPOWER on IntegriCloud