On Wed, Jul 20, 2016 at 12:37:31PM +0200, Hans Verkuil wrote:
>On 07/18/2016 04:45 PM, William Breathitt Gray wrote:
>> The module_isa_driver macro is a helper macro for ISA drivers which do
>> not do anything special in module init/exit. This patchset eliminates a
>&
8 device, a general purpose quadrature encoder
counter/interface board capable of monitoring the outputs of eight
encoders.
William Breathitt Gray (2):
iio: Implement counter channel type and info constants
iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8
Documentation/ABI/testing/sysfs
data provided by the counter device)
IIO_INDEX: Counter device index value
IIO_CHAN_INFO_PRESET: Counter preset value
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-iio | 28
drivers/iio/industrialio-core.c | 3 +++
include
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
---
.../ABI/testing/sysfs-bus-iio-counter-104-quad
On Sat, Sep 24, 2016 at 06:24:00PM +0100, Jonathan Cameron wrote:
>On 21/09/16 21:16, William Breathitt Gray wrote:
>> 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 encod
On Sat, Sep 24, 2016 at 06:03:21PM +0100, Jonathan Cameron wrote:
>On 21/09/16 21:15, William Breathitt Gray wrote:
>> Quadrature encoders, such as rotary encoders and linear encoders, are
>> devices which are capable of encoding the relative position and
>> direction of mo
104-QUAD-8 device, a general purpose quadrature encoder
counter/interface board capable of monitoring the outputs of eight
encoders.
William Breathitt Gray (2):
iio: Implement counter channel type and info constants
iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8
M
rable flags.
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
---
MAINTAINERS | 6 +
drivers/iio/Kc
active level)
Signed-off-by: William Breathitt Gray
---
drivers/iio/industrialio-core.c | 7 +++
include/linux/iio/iio.h | 6 ++
include/uapi/linux/iio/types.h | 1 +
3 files changed, 14 insertions(+)
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
.
IIO_COUNT: Current count (main data provided by the counter device)
IIO_INDEX: Set high when index input is at active level
IIO_CHAN_INFO_PRESET: Counter preset value
Signed-off-by: William Breathitt Gray
---
drivers/iio/Kconfig | 1 +
drivers/iio/Makefile| 1 +
drivers/iio
eset value
Specifically, this patchset introduces a driver to support the ACCES
104-QUAD-8 device, a general purpose quadrature encoder
counter/interface board capable of monitoring the outputs of eight
encoders.
William Breathitt Gray (2):
iio: Implement counter channel type and info constants
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
---
MAINTAINERS | 6 +
drivers/iio/counter/104-quad-8.c | 697 +++
drivers/i
t;[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for
>convenience) to record what (public, well-known) commit your patch series was
>built on]
>[Check https://git-scm.com/docs/git-format-patch for more information]
>
>url:
>https://github.com/0day-ci/li
er
counter/interface board capable of monitoring the outputs of eight
encoders.
William Breathitt Gray (2):
iio: Implement counter channel type and info constants
iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8
MAINTAINERS | 6 +
drivers/iio/Kconfig
data provided by the counter device)
IIO_INDEX: Set high when index input is at active level
IIO_CHAN_INFO_PRESET: Counter preset value
Signed-off-by: William Breathitt Gray
---
drivers/iio/industrialio-core.c | 3 +++
include/linux/iio/iio.h | 1 +
include/uapi/linux/iio/types.h | 2
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
---
MAINTAINERS | 6 +
drivers/iio/Kconfig | 1 +
drivers/iio/Makefile | 1 +
d
On 10/05/2015 06:47 PM, Bjorn Helgaas wrote:
> I'm really not familiar with PC/104, but wikipedia claims it only uses
> ISA. Apparently PCI/104-Plus, PCI-104, PCI/104-Express, and PCIe/104
> *do* have PCI and/or PCIe, but it looks like the base PC/104 does not.
>
> Bjorn
>
This is correct: PC/1
On 10/05/2015 04:29 AM, Linus Walleij wrote:
>> +struct a_104_idio_16_gpio {
>> + struct gpio_chip chip;
>> + spinlock_t lock;
>> + unsigned base;
>
> Isn't this void __iomem *base?
The 'base' member is used to hold the I/O port base address passed to the
inb/outb functions for
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15.
Signed-off-by: William Breathitt Gray
---
Changes in v3:
- Replace gpio.h include with gpio/driver.h since all needed
relevant symbols and resources are within the latter
- Rename struct a_104_idio_16 'data'
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15. The base port address for the device
may be set via the a_104_idio_16_base module parameter.
Signed-off-by: William Breathitt Gray
---
Changes in v4:
- Replace compile-time constant CONFIG_104_IDIO_16_BASE with module
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15. The base port address for the device
may be set via the a_104_idio_16_base module parameter.
Signed-off-by: William Breathitt Gray
---
Changes in v5
- Remove owner field from a_104_idio_16_driver since core will set it
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15. The base port address for the device
may be set via the a_104_idio_16_base module parameter.
Signed-off-by: William Breathitt Gray
---
Changes in v6:
- Add support for gpio_get_direction functionality
- Add __init attribute
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15. The base port address for the device
may be set via the a_104_idio_16_base module parameter.
Signed-off-by: William Breathitt Gray
---
Changes in v7:
- Return -EINVAL when gpio_get operation is requested for output-only
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15. The base port address for the device
may be set via the idio_16_base module parameter.
Signed-off-by: William Breathitt Gray
---
Changes in v10:
- Rename symbols to be more concise
- Allocate GPIO device private data
digital outputs 0-15, while GPIO 16-31
correspond to digital inputs 0-15.
Signed-off-by: William Breathitt Gray
---
Changes in v2:
- Add X86 dependency for CONFIG_GPIO_104_IDIO_16
- Encapsulate container_of macro within static function
drivers/gpio/Kconfig| 15
drivers/gpio
This patch adds high-level documentation about the Generic Counter
interface.
Signed-off-by: William Breathitt Gray
---
Documentation/driver-api/generic-counter.rst | 342 +++
Documentation/driver-api/index.rst | 1 +
MAINTAINERS
-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.
Signed-off-by: William Breathitt Gray
---
MAINTAINERS| 4 +-
drivers/{iio => }/counter/104-quad-8.c |
This patch adds standard documentation for the Generic Counter interface
userspace sysfs attributes of the 104-QUAD-8 driver.
Signed-off-by: William Breathitt Gray
---
.../ABI/testing/sysfs-bus-counter-104-quad-8 | 36 +++
MAINTAINERS | 1 +
2
From: Benjamin Gaignard
Add bindings for STM32 Timer quadrature encoder.
It is a sub-node of STM32 Timer which implement the
quadratic encoder part of the hardware.
Cc: Rob Herring
Cc: Mark Rutland
Signed-off-by: Benjamin Gaignard
Signed-off-by: William Breathitt Gray
---
.../bindings
se counter drivers and the development of this patchset. Are there
any additions or changes you believe I should make to this patchset
going forward?
Sincerely,
William Breathitt Gray
Benjamin Gaignard (2):
counter: Add STM32 Timer quadrature encoder
dt-bindings: counter: Document stm32 quad
Gasnier
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1 +
drivers/counter/stm32-timer-cnt.c | 390 ++
3 files changed, 401 insertions(+)
create mode 100644 drivers/counter/stm32-timer-cnt.c
From: Fabrice Gasnier
The STM32 LP Timer counter driver now resides under the Counter
subsystem. This patch adjusts dt-bindings to account for the STM32
lptimer driver move.
Cc: Rob Herring
Cc: Mark Rutland
Signed-off-by: Fabrice Gasnier
Signed-off-by: William Breathitt Gray
r function unregisters the respective
Counter. The devm_counter_register and devm_counter_unregister functions
serve as device memory-managed versions of the counter_register and
counter_unregister functions respectively.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
MAINTAINE
From: Fabrice Gasnier
Add support for new counter device to stm32-lptimer.
Signed-off-by: Fabrice Gasnier
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1 +
drivers/{iio => }/counter/st
The IIO counter subdirectory is now superceded by the Counter subsystem.
This patch adds deprecation warnings to the documentation of the
relevant IIO Counter sysfs attributes.
Acked-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-iio
This patch adds standard documentation for the userspace sysfs
attributes of the Generic Counter interface.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-counter | 230
MAINTAINERS
On Tue, Jul 17, 2018 at 08:49:54PM -0700, Andrew Morton wrote:
>On Thu, 21 Jun 2018 17:07:08 -0400 William Breathitt Gray
> wrote:
>
>> This patch introduces the Generic Counter interface for supporting
>> counter devices.
>>
>
>+EXPORT_SYMBOL(count_direction_str
On Sat, Jul 21, 2018 at 07:01:34PM +0100, Jonathan Cameron wrote:
>On Sun, 15 Jul 2018 16:44:24 -0400
>William Breathitt Gray wrote:
>
>> Changes in v8:
>> - Add counter_enum.h file
>> - Simplify COUNTER Kconfig option help text
>> - Rename generic-coun
"signal_" naming covention
to now use a "counter_signal_" naming convention in order to help
prevent this confusion; I've made similar changes to symbols in
counter.c as well. If this naming still causes trouble, we can consider
alternative names for this component.
William Breathitt G
r function unregisters the respective
Counter. The devm_counter_register and devm_counter_unregister functions
serve as device memory-managed versions of the counter_register and
counter_unregister functions respectively.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
MAIN
This patch adds standard documentation for the userspace sysfs
attributes of the Generic Counter interface.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-counter | 230
MAINTAINERS
This patch adds high-level documentation about the Generic Counter
interface.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/driver-api/generic-counter.rst | 342 +++
Documentation/driver-api/index.rst | 1 +
MAINTAINERS
This patch simplifies the boilerplate license text by making use of a
SPDX license identifier line.
Signed-off-by: William Breathitt Gray
---
drivers/iio/counter/104-quad-8.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/iio/counter/104-quad-8.c b/drivers
This patch adds standard documentation for the Generic Counter interface
userspace sysfs attributes of the 104-QUAD-8 driver.
Acked-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
.../ABI/testing/sysfs-bus-counter-104-quad-8 | 36 +++
MAINTAINERS
Gasnier
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1 +
drivers/counter/stm32-timer-cnt.c | 390 ++
3 files changed, 401 insertions(+)
create mode 100644
-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
Signed-off-by: William Breathitt Gray
---
MAINTAINERS| 4 +-
drivers/{iio
From: Benjamin Gaignard
Add bindings for STM32 Timer quadrature encoder.
It is a sub-node of STM32 Timer which implement the
quadratic encoder part of the hardware.
Cc: Mark Rutland
Signed-off-by: Benjamin Gaignard
Acked-by: Rob Herring
Signed-off-by: William Breathitt Gray
From: Fabrice Gasnier
The STM32 LP Timer counter driver now resides under the Counter
subsystem. This patch adjusts dt-bindings to account for the STM32
lptimer driver move.
Cc: Mark Rutland
Signed-off-by: Fabrice Gasnier
Acked-by: Rob Herring
Signed-off-by: William Breathitt Gray
From: Fabrice Gasnier
Add support for new counter device to stm32-lptimer.
Signed-off-by: Fabrice Gasnier
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1
The IIO counter subdirectory is now superceded by the Counter subsystem.
This patch adds deprecation warnings to the documentation of the
relevant IIO Counter sysfs attributes.
Acked-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-iio
pedef them in a future revision if it will improve clarity to
do so.
Heads-up for Jonathan Cameron: you may pick-up the "iio: 104-quad-8: Update
license boilerplate" patch independent of this series; it's the SPDX license
boilerplate update for the 104-QUAD-8 IIO driver.
Sincerely,
Wi
r function unregisters the respective
Counter. The devm_counter_register and devm_counter_unregister functions
serve as device memory-managed versions of the counter_register and
counter_unregister functions respectively.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
MAIN
This patch adds standard documentation for the userspace sysfs
attributes of the Generic Counter interface.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-counter | 230
MAINTAINERS
-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
Signed-off-by: William Breathitt Gray
---
MAINTAINERS| 4 +-
drivers/{iio
This patch simplifies the boilerplate license text by making use of a
SPDX license identifier line.
Signed-off-by: William Breathitt Gray
---
drivers/iio/counter/104-quad-8.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/iio/counter/104-quad-8.c b/drivers
This patch adds high-level documentation about the Generic Counter
interface.
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/driver-api/generic-counter.rst | 342 +++
Documentation/driver-api/index.rst | 1 +
MAINTAINERS
This patch adds standard documentation for the Generic Counter interface
userspace sysfs attributes of the 104-QUAD-8 driver.
Acked-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
.../ABI/testing/sysfs-bus-counter-104-quad-8 | 36 +++
MAINTAINERS
Gasnier
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1 +
drivers/counter/stm32-timer-cnt.c | 390 ++
3 files changed, 401 insertions(+)
create mode 100644
From: Fabrice Gasnier
Add support for new counter device to stm32-lptimer.
Signed-off-by: Fabrice Gasnier
Reviewed-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
drivers/counter/Kconfig | 10 +
drivers/counter/Makefile | 1
From: Fabrice Gasnier
The STM32 LP Timer counter driver now resides under the Counter
subsystem. This patch adjusts dt-bindings to account for the STM32
lptimer driver move.
Cc: Mark Rutland
Signed-off-by: Fabrice Gasnier
Acked-by: Rob Herring
Signed-off-by: William Breathitt Gray
From: Benjamin Gaignard
Add bindings for STM32 Timer quadrature encoder.
It is a sub-node of STM32 Timer which implement the
quadratic encoder part of the hardware.
Cc: Mark Rutland
Signed-off-by: Benjamin Gaignard
Acked-by: Rob Herring
Signed-off-by: William Breathitt Gray
The IIO counter subdirectory is now superceded by the Counter subsystem.
This patch adds deprecation warnings to the documentation of the
relevant IIO Counter sysfs attributes.
Acked-by: Jonathan Cameron
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-iio
t be better to not use the isa_bus_type for it, but rather
>> turn it into a platform_driver, acpi_driver or add an MFD for it that
>> is shared with the wdt and hwmon portions and does the probing.
>>
>> For now, this patch fixes the dependency by changing 'select
the patchset makes it into the tree.
William Breathitt Gray
On Tue, Jan 02, 2018 at 10:29:30AM +0100, Linus Walleij wrote:
>On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray
> wrote:
>
>> Linus, please pickup this entire patchset through your GPIO subsystem
>> tree; a recursive dependency error is present if these patches are
driver. Change-Of-State (COS)
detection functionality may be configured to fire interrupts on
exclusively rising/falling edges, but this driver currently only
implements COS detection for either both edges or none.
Signed-off-by: William Breathitt Gray
---
MAINTAINERS | 6
Breathitt Gray (8):
iio: stx104: Implement get_multiple callback
gpio: 104-idio-16: Implement get_multiple callback
gpio: pci-idio-16: Implement get_multiple callback
gpio: pcie-idio-24: Implement get_multiple callback
gpio: 104-dio-48e: Implement get_multiple callback
gpio: 104-idi-48
implements the
idio_16_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idio-16.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpio/gpio-104-idio-16.c b/drivers/gpio/gpio
implements the
idio_16_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-pci-idio-16.c | 48 +
1 file changed, 48 insertions(+)
diff --git a/drivers/gpio/gpio-pci-idio
patch implements the
idio_24_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-pcie-idio-24.c | 63
1 file changed, 63 insertions(+)
diff --git a/drivers/gpio/gpio-pcie
implements the stx104_gpio_get_multiple function
which serves as the respective get_multiple callback.
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Lars-Peter Clausen
Cc: Peter Meerwald-Stadler
Signed-off-by: William Breathitt Gray
---
drivers/iio/adc/stx104.c | 11 +++
1 file changed
utilizing a get_multiple callback. This patch implements the
dio48e_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-dio-48e.c | 41 +
1 file changed, 41 insertions
the idi_48_gpio_get_multiple function
which serves as the respective get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idi-48.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/drivers/gpio/gpio-104-idi-48.c b
ws16c48_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-ws16c48.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/gpio/gpio-ws16c48.c b/drivers/gpio/gpio-ws16c48.c
index
implements the gpiomm_gpio_get_multiple function which serves
as the respective get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-gpio-mm.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/drivers/gpio/gpio-gpio-mm.c b
On Mon, Mar 26, 2018 at 10:31:41AM +0200, Linus Walleij wrote:
>On Thu, Mar 22, 2018 at 1:59 PM, William Breathitt Gray
> wrote:
>
>> Changes in v4:
>
>I applied the v4 patch set so we get some rotation in linux-next before
>the merge window.
>
>If reviewers still
On Wed, Mar 21, 2018 at 05:32:03PM +0200, Andy Shevchenko wrote:
>On Sat, Mar 17, 2018 at 5:50 PM, William Breathitt Gray
> wrote:
>> The ACCES I/O 104-IDIO-16 series of devices provides 16
>> optically-isolated digital inputs accessed via two 8-bit ports. Since
>> eight
On Wed, Mar 21, 2018 at 07:45:29PM +0200, Andy Shevchenko wrote:
>On Sat, Mar 17, 2018 at 5:50 PM, William Breathitt Gray
> wrote:
>> The ACCES I/O PCI-IDIO-16 series of devices provides 16
>> optically-isolated digital inputs accessed via two 8-bit ports. Since
>> eight
input lines.
While developing this patchset I noticed many of these devices make use
of Intel 8255 compatible interfaces for their I/O. I may write a generic
8255 GPIO driver in the future to reduce some of the redundant code I
see pop among the drivers for these devices.
William Breathitt Gray (7
implements the gpiomm_gpio_get_multiple function which serves
as the respective get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-gpio-mm.c | 47 +
1 file changed, 47 insertions(+)
diff --git a/drivers/gpio/gpio-gpio-mm.c b
ws16c48_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-ws16c48.c | 47 +
1 file changed, 47 insertions(+)
diff --git a/drivers/gpio/gpio-ws16c48.c b/drivers/gpio/gpio-ws16c48.c
the idi_48_gpio_get_multiple function
which serves as the respective get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idi-48.c | 47 ++
1 file changed, 47 insertions(+)
diff --git a/drivers/gpio/gpio-104-idi-48.c b
utilizing a get_multiple callback. This patch implements the
dio48e_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-dio-48e.c | 47 +
1 file changed, 47 insertions
callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-pcie-idio-24.c | 117 +++
1 file changed, 117 insertions(+)
diff --git a/drivers/gpio/gpio-pcie-idio-24.c b/drivers/gpio/gpio-pcie-idio-24.c
index f666e2e69074..835607ecf658 100644
--- a/drivers
implements the
idio_16_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-pci-idio-16.c | 50 +
1 file changed, 50 insertions(+)
diff --git a/drivers/gpio/gpio-pci-idio
implements the
idio_16_gpio_get_multiple function which serves as the respective
get_multiple callback.
Signed-off-by: William Breathitt Gray
---
drivers/gpio/gpio-104-idio-16.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpio/gpio-104-idio-16.c b/drivers/gpio/gpio
This patch adds standard documentation for the userspace sysfs
attributes of the Generic Counter interface.
Signed-off-by: William Breathitt Gray
---
Documentation/ABI/testing/sysfs-bus-counter | 120
MAINTAINERS | 1 +
2 files
r function unregisters the respective
Counter. The devm_counter_register and devm_counter_unregister functions
serve as device memory-managed versions of the counter_register and
counter_unregister functions respectively.
Signed-off-by: William Breathitt Gray
---
MAINTAINERS
patch has been
picked up in the gpio subsystem tree for merge during the 4.17 window:
https://patchwork.ozlabs.org/patch/853987/
To resolve this conflict, the 104_QUAD_8 Kconfig option simply needs to
select ISA_BUS_API rather than depend on it.
William Breathitt Gray
Benjamin Gaignard (3):
dt-bindi
-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.
Signed-off-by: William Breathitt Gray
---
MAINTAINERS | 4 +-
drivers/counter/104-quad-8.c | 685
This patch adds standard documentation for the Generic Counter interface
userspace sysfs attributes of the 104-QUAD-8 driver.
Signed-off-by: William Breathitt Gray
---
.../ABI/testing/sysfs-bus-counter-104-quad-8 | 115 +
MAINTAINERS
From: Benjamin Gaignard
Add bindings for STM32 Timer quadrature encoder.
It is a sub-node of STM32 Timer which implement the
counter part of the hardware.
Signed-off-by: Benjamin Gaignard
Signed-off-by: William Breathitt Gray
---
.../bindings/counter/stm32-timer-cnt.txt | 26
From: Benjamin Gaignard
In addition of the generic sysfs-bus-counter ABI stm32-timer-cnt
offerts three functionality:
- enable the counter
- set preset value
- allow to read counter direction
Signed-off-by: Benjamin Gaignard
Signed-off-by: William Breathitt Gray
---
.../ABI/testing/sysfs-bus
Breathitt Gray
---
drivers/counter/Kconfig | 10 ++
drivers/counter/Makefile | 1 +
drivers/counter/stm32-timer-cnt.c | 356 ++
3 files changed, 367 insertions(+)
create mode 100644 drivers/counter/stm32-timer-cnt.c
diff --git a/drivers
This patch adds high-level documentation about the Generic Counter
interface.
Signed-off-by: William Breathitt Gray
---
Documentation/driver-api/generic-counter.rst | 321 +++
Documentation/driver-api/index.rst | 1 +
MAINTAINERS
On Tue, Mar 13, 2018 at 06:04:33PM +0200, Andy Shevchenko wrote:
>On Mon, Mar 12, 2018 at 10:49 PM, William Breathitt Gray
> wrote:
>
>> +static int idio_16_gpio_get_multiple(struct gpio_chip *chip,
>> + unsigned long *mask, unsigned long *bits)
>> +{
>
>
&g
ers/iio/adc/stx104.c b/drivers/iio/adc/stx104.c
> index 0662ca199eb0..f9d0aaae836f 100644
> --- a/drivers/iio/adc/stx104.c
> +++ b/drivers/iio/adc/stx104.c
> @@ -1,15 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * IIO driver for the Apex Embedded Systems STX104
>
On Mon, Jul 02, 2018 at 01:13:40PM -0500, David Lechner wrote:
>On 06/21/2018 04:06 PM, William Breathitt Gray wrote:
>> I decided to strip down these devices to arrive at the core essence of
>> what constitutes a "counter device" and therefore design a "generic
>
On Mon, Jul 02, 2018 at 02:11:35PM -0500, David Lechner wrote:
>On 06/21/2018 04:07 PM, William Breathitt Gray wrote:
>> +What: /sys/bus/counter/devices/counterX/countY/count_mode
>> +KernelVersion: 4.19
>> +Contact:linux-...@vger.kerne
On Mon, Jul 02, 2018 at 02:37:53PM -0500, David Lechner wrote:
>On 06/21/2018 04:07 PM, William Breathitt Gray wrote:
>> +Userspace Interface
>> +===
>> +
>> +Several sysfs attributes are generated by the Generic Counter interface,
>> +and reside u
1 - 100 of 1066 matches
Mail list logo