c7301b8481
The regmap API supports IO port accessors so we can take advantage of regmap abstractions rather than handling access to the device registers directly in the driver. In addition, to improve code organization in stx104_probe(), the devm_iio_device_register() call is moved above GPIO configuration in order to keep relevant code closer together. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Link: https://lore.kernel.org/r/0bcdfc4738cc019fb2ff83f61eb46a3488bc166d.1680790580.git.william.gray@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
#
|
|
# ADC DAC drivers
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Analog to digital and digital to analog converters"
|
|
|
|
config AD74115
|
|
tristate "Analog Devices AD74115H driver"
|
|
depends on GPIOLIB && SPI
|
|
select CRC8
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP_SPI
|
|
help
|
|
Say yes here to build support for Analog Devices AD74115H
|
|
single-channel software configurable input/output solution.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ad74115.
|
|
|
|
config AD74413R
|
|
tristate "Analog Devices AD74412R/AD74413R driver"
|
|
depends on GPIOLIB && SPI
|
|
select REGMAP_SPI
|
|
select CRC8
|
|
help
|
|
Say yes here to build support for Analog Devices AD74412R/AD74413R
|
|
quad-channel software configurable input/output solution.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ad74413r.
|
|
|
|
config STX104
|
|
tristate "Apex Embedded Systems STX104 driver"
|
|
depends on PC104 && X86
|
|
select ISA_BUS_API
|
|
select REGMAP_MMIO
|
|
select GPIOLIB
|
|
select GPIO_REGMAP
|
|
help
|
|
Say yes here to build support for the Apex Embedded Systems STX104
|
|
integrated analog PC/104 card.
|
|
|
|
This driver supports the 16 channels of single-ended (8 channels of
|
|
differential) analog inputs, 2 channels of analog output, 4 digital
|
|
inputs, and 4 digital outputs provided by the STX104.
|
|
|
|
The base port addresses for the devices may be configured via the base
|
|
array module parameter.
|
|
|
|
endmenu
|