1
linux/drivers/iio/resolver/Kconfig
Javier Carrasco 2caa67b625 iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
This driver makes use of triggered buffers, but does not select the
required modules.

Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.

Fixes: 128b9389db ("staging: iio: resolver: ad2s1210: add triggered buffer support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-2-4019453f8c33@gmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-10-06 16:30:38 +01:00

45 lines
1.2 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# Resolver/Synchro drivers
#
menu "Resolver to digital converters"
config AD2S90
tristate "Analog Devices ad2s90 driver"
depends on SPI
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s90, provides direct access via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s90.
config AD2S1200
tristate "Analog Devices ad2s1200/ad2s1205 driver"
depends on SPI
depends on GPIOLIB || COMPILE_TEST
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1200 and ad2s1205, provides direct access
via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1200.
config AD2S1210
tristate "Analog Devices ad2s1210 driver"
depends on SPI
depends on COMMON_CLK
depends on GPIOLIB || COMPILE_TEST
select REGMAP
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1210, provides direct access via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1210.
endmenu