summaryrefslogtreecommitdiffstats
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-09-28 20:00:01 +0200
committerJonathan Cameron <jic23@kernel.org>2016-10-01 18:06:21 +0200
commit28e5d3bb0325e71ef9b53a9cb4242cdfb55fd8c5 (patch)
tree91bae3ac0c7da7137a7dc2f94cb6dcafc3b9fd81 /drivers/iio/Makefile
parentiio: Implement counter channel type and info constants (diff)
downloadlinux-28e5d3bb0325e71ef9b53a9cb4242cdfb55fd8c5.tar.xz
linux-28e5d3bb0325e71ef9b53a9cb4242cdfb55fd8c5.zip
iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8
The ACCES 104-QUAD-8 is a general purpose quadrature encoder counter/interface board. The 104-QUAD-8 is capable of monitoring the outputs of eight encoders via four on-board LSI/CSI LS7266R1 24-bit dual-axis quadrature counter chips. Core functions handled by the LS7266R1, such as direction and total count, are available. Performing a write to a counter's IIO_CHAN_INFO_RAW sets the counter and also clears the counter's respective error flag. Although the counters have a 25-bit range, only the lower 24 bits may be set, either directly or via a counter's preset attribute. Interrupts are not supported by this driver. This driver adds IIO support for the ACCES 104-QUAD-8 and ACCES 104-QUAD-4. The base port addresses for the devices may be configured via the base array module parameter. Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 2b6e2762a886..33fa4026f92c 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -18,6 +18,7 @@ obj-y += amplifiers/
obj-y += buffer/
obj-y += chemical/
obj-y += common/
+obj-y += counter/
obj-y += dac/
obj-y += dummy/
obj-y += gyro/