diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2019-04-02 15:30:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 21:33:38 +0200 |
commit | f1d8a071d45bf13dd9bb9f1777133ca8a1cafebe (patch) | |
tree | 042e0caf517a655bf8e1f42b8be857dc44b38579 /mm | |
parent | e854bac92bc95260985d043f3ff7bf8e6cd6905c (diff) | |
download | linux-f1d8a071d45bf13dd9bb9f1777133ca8a1cafebe.tar.bz2 |
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 'mm')
0 files changed, 0 insertions, 0 deletions