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/multiplexer/Kconfig | |
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/multiplexer/Kconfig')
-rw-r--r-- | drivers/iio/multiplexer/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/iio/multiplexer/Kconfig b/drivers/iio/multiplexer/Kconfig new file mode 100644 index 000000000000..735a7b0e6fd8 --- /dev/null +++ b/drivers/iio/multiplexer/Kconfig @@ -0,0 +1,18 @@ +# +# Multiplexer drivers +# +# When adding new entries keep the list in alphabetical order + +menu "Multiplexers" + +config IIO_MUX + tristate "IIO multiplexer driver" + select MULTIPLEXER + depends on OF || COMPILE_TEST + help + Say yes here to build support for the IIO multiplexer. + + To compile this driver as a module, choose M here: the + module will be called iio-mux. + +endmenu |