]> git.baikalelectronics.ru Git - kernel.git/commit
iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Wed, 28 Sep 2016 18:00:01 +0000 (14:00 -0400)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Oct 2016 16:06:21 +0000 (17:06 +0100)
commit128922348d232bd91ccc2a9a3a4e721914db6571
tree91bae3ac0c7da7137a7dc2f94cb6dcafc3b9fd81
parent8bb21d23d4b3be5e78e42f8684882b6e373fbf4c
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>
Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8 [new file with mode: 0644]
MAINTAINERS
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/counter/104-quad-8.c [new file with mode: 0644]
drivers/iio/counter/Kconfig [new file with mode: 0644]
drivers/iio/counter/Makefile [new file with mode: 0644]