mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 04:36:47 +07:00
7ba9df54b0
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>
19 lines
377 B
Plaintext
19 lines
377 B
Plaintext
#
|
|
# 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
|