Re: [PATCH 0/6] radio: Utilize the module_isa_driver macro

2016-07-20 Thread William Breathitt Gray
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 >&

[PATCH v4 0/2] Add IIO support for counter devices

2016-09-21 Thread William Breathitt Gray
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

[PATCH v4 1/2] iio: Implement counter channel type and info constants

2016-09-21 Thread William Breathitt Gray
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

[PATCH v4 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-21 Thread William Breathitt Gray
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

Re: [PATCH v4 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-27 Thread William Breathitt Gray
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

Re: [PATCH v4 1/2] iio: Implement counter channel type and info constants

2016-09-27 Thread William Breathitt Gray
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

[PATCH 0/2] Add IIO support for counter devices

2016-09-07 Thread William Breathitt Gray
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

[PATCH 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-07 Thread William Breathitt Gray
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

[PATCH 1/2] iio: Implement counter channel type and info constants

2016-09-07 Thread William Breathitt Gray
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

[PATCH v2 1/2] iio: Implement counter channel type and info constants

2016-09-14 Thread William Breathitt Gray
. 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

[PATCH v2 0/2] Add IIO support for counter devices

2016-09-14 Thread William Breathitt Gray
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

[PATCH v2 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-14 Thread William Breathitt Gray
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

Re: [PATCH v2 1/2] iio: Implement counter channel type and info constants

2016-09-15 Thread William Breathitt Gray
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

[PATCH v3 0/2] Add IIO support for counter devices

2016-09-15 Thread William Breathitt Gray
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

[PATCH v3 1/2] iio: Implement counter channel type and info constants

2016-09-15 Thread William Breathitt Gray
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

[PATCH v3 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-15 Thread William Breathitt Gray
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

Re: [PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
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

Re: [PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
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

[PATCH v3] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
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'

[PATCH v4] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-06 Thread William Breathitt Gray
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

[PATCH v5] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
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

[PATCH v6] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
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

[PATCH v7] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
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

[PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-19 Thread William Breathitt Gray
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

[PATCH v2] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-04 Thread William Breathitt Gray
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

[PATCH v7 03/10] docs: Add Generic Counter interface documentation

2018-06-21 Thread William Breathitt Gray
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

[PATCH v7 04/10] counter: 104-quad-8: Add Generic Counter interface support

2018-06-21 Thread William Breathitt Gray
-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 |

[PATCH v7 05/10] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation

2018-06-21 Thread William Breathitt Gray
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

[PATCH v7 07/10] dt-bindings: counter: Document stm32 quadrature encoder

2018-06-21 Thread 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: Rob Herring Cc: Mark Rutland Signed-off-by: Benjamin Gaignard Signed-off-by: William Breathitt Gray --- .../bindings

[PATCH v7 00/10] Introduce the Counter subsystem

2018-06-21 Thread William Breathitt Gray
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

[PATCH v7 06/10] counter: Add STM32 Timer quadrature encoder

2018-06-21 Thread William Breathitt Gray
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

[PATCH v7 09/10] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move

2018-06-21 Thread 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: Rob Herring Cc: Mark Rutland Signed-off-by: Fabrice Gasnier Signed-off-by: William Breathitt Gray

[PATCH v7 01/10] counter: Introduce the Generic Counter interface

2018-06-21 Thread 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

[PATCH v7 08/10] counter: stm32-lptimer: add counter device

2018-06-21 Thread William Breathitt Gray
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

[PATCH v7 10/10] iio: counter: Add deprecation markings for IIO Counter attributes

2018-06-21 Thread 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

[PATCH v7 02/10] counter: Documentation: Add Generic Counter sysfs documentation

2018-06-21 Thread William Breathitt Gray
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

Re: [PATCH v7 01/10] counter: Introduce the Generic Counter interface

2018-07-21 Thread William Breathitt Gray
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

Re: [PATCH v8 00/11] Introduce the Counter subsystem

2018-07-21 Thread William Breathitt Gray
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

[PATCH v9 00/11] Introduce the Counter subsystem

2018-07-22 Thread William Breathitt Gray
"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

[PATCH v9 01/11] counter: Introduce the Generic Counter interface

2018-07-22 Thread 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 --- MAIN

[PATCH v9 02/11] counter: Documentation: Add Generic Counter sysfs documentation

2018-07-22 Thread William Breathitt Gray
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

[PATCH v9 03/11] docs: Add Generic Counter interface documentation

2018-07-22 Thread William Breathitt Gray
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

[PATCH v9 04/11] iio: 104-quad-8: Update license boilerplate

2018-07-22 Thread William Breathitt Gray
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

[PATCH v9 06/11] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation

2018-07-22 Thread William Breathitt Gray
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

[PATCH v9 07/11] counter: Add STM32 Timer quadrature encoder

2018-07-22 Thread William Breathitt Gray
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

[PATCH v9 05/11] counter: 104-quad-8: Add Generic Counter interface support

2018-07-22 Thread William Breathitt Gray
-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

[PATCH v9 08/11] dt-bindings: counter: Document stm32 quadrature encoder

2018-07-22 Thread 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

[PATCH v9 10/11] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move

2018-07-22 Thread 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

[PATCH v9 09/11] counter: stm32-lptimer: add counter device

2018-07-22 Thread 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

[PATCH v9 11/11] iio: counter: Add deprecation markings for IIO Counter attributes

2018-07-22 Thread 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

[PATCH v8 00/11] Introduce the Counter subsystem

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 01/11] counter: Introduce the Generic Counter interface

2018-07-15 Thread 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 --- MAIN

[PATCH v8 02/11] counter: Documentation: Add Generic Counter sysfs documentation

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 05/11] counter: 104-quad-8: Add Generic Counter interface support

2018-07-15 Thread William Breathitt Gray
-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

[PATCH v8 04/11] iio: 104-quad-8: Update license boilerplate

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 03/11] docs: Add Generic Counter interface documentation

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 06/11] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 07/11] counter: Add STM32 Timer quadrature encoder

2018-07-15 Thread William Breathitt Gray
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

[PATCH v8 09/11] counter: stm32-lptimer: add counter device

2018-07-15 Thread 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

[PATCH v8 10/11] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move

2018-07-15 Thread 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

[PATCH v8 08/11] dt-bindings: counter: Document stm32 quadrature encoder

2018-07-15 Thread 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

[PATCH v8 11/11] iio: counter: Add deprecation markings for IIO Counter attributes

2018-07-15 Thread 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

Re: [PATCH] gpio: winbond: fix ISA_BUS_API dependency

2018-01-11 Thread William Breathitt Gray
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&#

Re: [PATCH] gpio: winbond: fix ISA_BUS_API dependency

2018-01-11 Thread William Breathitt Gray
the patchset makes it into the tree. William Breathitt Gray

Re: [PATCH v2 0/5] Change ISA_BUS_API dependency to selection

2018-01-30 Thread 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

[PATCH] gpio: Add GPIO support for the ACCES PCIe-IDIO-24 family

2018-01-09 Thread William Breathitt Gray
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

[PATCH 0/8] Implement get_multiple for ACCES and PC104 drivers

2018-03-12 Thread William Breathitt Gray
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

[PATCH 2/8] gpio: 104-idio-16: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 3/8] gpio: pci-idio-16: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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 4/8] gpio: pcie-idio-24: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 1/8] iio: stx104: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 5/8] gpio: 104-dio-48e: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 6/8] gpio: 104-idi-48: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 8/8] gpio: ws16c48: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

[PATCH 7/8] gpio: gpio-mm: Implement get_multiple callback

2018-03-12 Thread William Breathitt Gray
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

Re: [PATCH v4 0/7] Implement get_multiple for ACCES and PC/104 drivers

2018-03-26 Thread William Breathitt Gray
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

Re: [PATCH v3 2/8] gpio: 104-idio-16: Implement get_multiple callback

2018-03-21 Thread William Breathitt Gray
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

Re: [PATCH v3 3/8] gpio: pci-idio-16: Implement get_multiple callback

2018-03-21 Thread William Breathitt Gray
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

[PATCH v4 0/7] Implement get_multiple for ACCES and PC/104 drivers

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 6/7] gpio: gpio-mm: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 7/7] gpio: ws16c48: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 5/7] gpio: 104-idi-48: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 4/7] gpio: 104-dio-48e: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 3/7] gpio: pcie-idio-24: Implement get_multiple/set_multiple callbacks

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 2/7] gpio: pci-idio-16: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v4 1/7] gpio: 104-idio-16: Implement get_multiple callback

2018-03-22 Thread William Breathitt Gray
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

[PATCH v5 2/8] counter: Documentation: Add Generic Counter sysfs documentation

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 1/8] counter: Introduce the Generic Counter interface

2018-03-09 Thread 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. Signed-off-by: William Breathitt Gray --- MAINTAINERS

[PATCH v5 0/8] Introduce the Counter subsystem

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 4/8] counter: 104-quad-8: Add Generic Counter interface support

2018-03-09 Thread William Breathitt Gray
-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

[PATCH v5 5/8] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 6/8] dt-bindings: counter: Document stm32 quadrature encoder

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 7/8] counter: stm32-timer-cnt: Add sysfs documentation

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 8/8] Counter: Add STM32 Timer quadrature encoder

2018-03-09 Thread William Breathitt Gray
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

[PATCH v5 3/8] docs: Add Generic Counter interface documentation

2018-03-09 Thread William Breathitt Gray
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

Re: [PATCH 3/8] gpio: pci-idio-16: Implement get_multiple callback

2018-03-13 Thread William Breathitt Gray
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

Re: [PATCH] iio: adc: Replace license text w/ SPDX identifier

2018-11-28 Thread William Breathitt Gray
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 >

Re: [PATCH v7 00/10] Introduce the Counter subsystem

2018-07-02 Thread William Breathitt Gray
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 >

Re: [v7, 02/10] counter: Documentation: Add Generic Counter sysfs documentation

2018-07-03 Thread William Breathitt Gray
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

Re: [v7,03/10] docs: Add Generic Counter interface documentation

2018-07-03 Thread William Breathitt Gray
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   2   3   4   5   6   7   8   9   10   >