aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2017-05-14 21:51:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 19:29:26 +0900
commit7ba9df54b09117c0a062f9eac4a36b0e70893387 (patch)
tree2cba6ffaddeaf7451a110ef990e047fecabf9128 /drivers/iio/Makefile
parentdt-bindings: iio: io-channel-mux: document io-channel-mux bindings (diff)
downloadwireguard-linux-7ba9df54b09117c0a062f9eac4a36b0e70893387.tar.xz
wireguard-linux-7ba9df54b09117c0a062f9eac4a36b0e70893387.zip
iio: multiplexer: new iio category and iio-mux driver
When a multiplexer changes how an iio device behaves (for example by feeding different signals to an ADC), this driver can be used to create one virtual iio channel for each multiplexer state. Depends on the generic multiplexer subsystem. Cache any ext_info values from the parent iio channel, creating a private copy of the ext_info attributes for each multiplexer state/channel. Reviewed-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 33fa4026f92c..93c769cd99bf 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -28,6 +28,7 @@ obj-y += humidity/
obj-y += imu/
obj-y += light/
obj-y += magnetometer/
+obj-y += multiplexer/
obj-y += orientation/
obj-y += potentiometer/
obj-y += potentiostat/