summaryrefslogtreecommitdiff
path: root/drivers/iio/addac/Kconfig
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <william.gray@linaro.org>2023-09-16 14:20:31 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-17 12:29:41 +0300
commit66fe531268f274310a052603fc298f6cc177489b (patch)
tree2490d3cc73b3bd41a3ce06245b31bb344827ca31 /drivers/iio/addac/Kconfig
parent9dc03309fe9ba9f9b26a37b2dd4fa2d5111a1ccf (diff)
downloadlinux-66fe531268f274310a052603fc298f6cc177489b.tar.xz
iio: addac: stx104: Add 8254 Counter/Timer support
The STX104 features an 8254 Counter/Timer chip providing three counter/timers which can be used for frequency measurement, frequency output, pulse width modulation, pulse width measurement, event count, etc. The STX104 provides a register bank selection to bank select between the 8254 Bank and the Indexed Register Array Bank; the Indexed Register Array is not utilized by this driver, so the 8254 Bank is selected unconditionally. Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Link: https://lore.kernel.org/r/20230916112031.3634-1-william.gray@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/addac/Kconfig')
-rw-r--r--drivers/iio/addac/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/addac/Kconfig b/drivers/iio/addac/Kconfig
index 877f9124803c..b2623881f0ec 100644
--- a/drivers/iio/addac/Kconfig
+++ b/drivers/iio/addac/Kconfig
@@ -38,6 +38,7 @@ config STX104
select REGMAP_MMIO
select GPIOLIB
select GPIO_REGMAP
+ select I8254
help
Say yes here to build support for the Apex Embedded Systems STX104
integrated analog PC/104 card.