diff options
author | Peter Rosin <peda@axentia.se> | 2017-05-14 21:51:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-03 12:29:26 +0200 |
commit | 7ba9df54b09117c0a062f9eac4a36b0e70893387 (patch) | |
tree | 2cba6ffaddeaf7451a110ef990e047fecabf9128 /drivers/iio/Makefile | |
parent | dt-bindings: iio: io-channel-mux: document io-channel-mux bindings (diff) | |
download | linux-7ba9df54b09117c0a062f9eac4a36b0e70893387.tar.xz 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/Makefile | 1 |
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/ |