summaryrefslogtreecommitdiff
path: root/drivers/counter/Makefile
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-04-02 15:30:40 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-25 21:33:38 +0200
commitf1d8a071d45bf13dd9bb9f1777133ca8a1cafebe (patch)
tree042e0caf517a655bf8e1f42b8be857dc44b38579 /drivers/counter/Makefile
parente854bac92bc95260985d043f3ff7bf8e6cd6905c (diff)
downloadlwn-f1d8a071d45bf13dd9bb9f1777133ca8a1cafebe.tar.gz
lwn-f1d8a071d45bf13dd9bb9f1777133ca8a1cafebe.zip
counter: 104-quad-8: Add Generic Counter interface support
This patch adds support for the Generic Counter interface to the 104-QUAD-8 driver. The existing 104-QUAD-8 device interface should not be affected by this patch; all changes are intended as supplemental additions as perceived by the user. Generic Counter Counts are created for the eight quadrature channel counts, as well as their respective quadrature A and B Signals (which are associated via respective Synapse structures) and respective index Signals. The new Generic Counter interface sysfs attributes are intended to expose the same functionality and data available via the existing 104-QUAD-8 IIO device interface; the Generic Counter interface serves to provide the respective functionality and data in a standard way expected of counter devices. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter/Makefile')
-rw-r--r--drivers/counter/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/counter/Makefile b/drivers/counter/Makefile
index b1464604bdbe..aee0d2ddcf2c 100644
--- a/drivers/counter/Makefile
+++ b/drivers/counter/Makefile
@@ -3,3 +3,5 @@
#
obj-$(CONFIG_COUNTER) += counter.o
+
+obj-$(CONFIG_104_QUAD_8) += 104-quad-8.o