aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/Kconfig
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/Kconfig
parenta36954f58f6c01cb8b19c6424b549464c9495e72 (diff)
downloadlinux-7ba9df54b09117c0a062f9eac4a36b0e70893387.tar.gz
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/Kconfig')
-rw-r--r--drivers/iio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index a918270d6f54..b3c8c6ef0dff 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -83,6 +83,7 @@ source "drivers/iio/humidity/Kconfig"
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
source "drivers/iio/magnetometer/Kconfig"
+source "drivers/iio/multiplexer/Kconfig"
source "drivers/iio/orientation/Kconfig"
if IIO_TRIGGER
source "drivers/iio/trigger/Kconfig"