Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread William Breathitt Gray
On Tue, Feb 20, 2018 at 04:33:26PM +0100, Marcus Folkesson wrote: >On Tue, Feb 20, 2018 at 07:13:43AM -0800, Guenter Roeck wrote: >> On 02/20/2018 05:21 AM, Marcus Folkesson wrote: >> > Hello William, >> > >> > On Tue, Feb 20, 2018 at 07:49:55AM -0500, William

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread William Breathitt Gray
2170b275ea01..c173b6f5c866 100644 >--- a/drivers/watchdog/ebc-c384_wdt.c >+++ b/drivers/watchdog/ebc-c384_wdt.c >@@ -1,15 +1,8 @@ >+// SPDX-License-Identifier: GPL-2.0 > /* > * Watchdog timer driver for the WinSystems EBC-C384 > * Copyright (C) 2016 William Breathitt Gray >

Re: [PATCH v3] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-21 Thread William Breathitt Gray
ers/watchdog/ebc-c384_wdt.c >index 2170b275ea01..4c4c8ce78021 100644 >--- a/drivers/watchdog/ebc-c384_wdt.c >+++ b/drivers/watchdog/ebc-c384_wdt.c >@@ -1,3 +1,4 @@ >+// SPDX-License-Identifier: GPL-2.0 > /* > * Watchdog timer driver for the WinSystems EBC-C384 > * Copyright (C) 2016 William Breathitt Gray For ebc-c384_wdt.c, Acked-by: William Breathitt Gray <vilhelm.g...@gmail.com> William Breathitt Gray

[PATCH v10 01/18] counter: Introduce the Generic Counter interface

2019-04-02 Thread William Breathitt Gray
gister 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 v10 17/18] counter: ftm-quaddec: Documentation: Add specific counter sysfs documentation

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange This adds documentation for the specific prescaler entry. Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- .../ABI/testing/sysfs-bus-counter-ftm-quaddec| 16 1 file changed, 16 insertions(+) create mode 100644

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

2019-04-02 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 v10 07/18] counter: Add STM32 Timer quadrature encoder

2019-04-02 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 v10 06/18] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation

2019-04-02 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 v10 12/18] include/fsl: add common FlexTimer #defines in a separate header.

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange Several files are/will be using the same #defines to use the Flextimer module. Regroup them in a common file. Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- include/linux/fsl/ftm.h | 88

[PATCH v10 16/18] counter: add FlexTimer Module Quadrature decoder counter driver

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange This driver exposes the counter for the quadrature decoder of the FlexTimer Module, present in the LS1021A soc. Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- drivers/counter/Kconfig | 9 + drivers/counter/Makefile | 1

[PATCH v10 02/18] counter: Documentation: Add Generic Counter sysfs documentation

2019-04-02 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 v10 15/18] dt-bindings: counter: ftm-quaddec

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange FlexTimer quadrature decoder driver. Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- .../bindings/counter/ftm-quaddec.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[PATCH v10 14/18] drivers/clocksource: timer-fsl-ftm: use common header for FlexTimer #defines

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange Common #defines have been moved to "linux/fsl/ftm.h". Thus making use of this file. Also FTM_SC_CLK_SHIFT has been renamed to FTM_SC_CLK_MASK_SHIFT. Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --

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

2019-04-02 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 v10 10/18] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move

2019-04-02 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 v10 00/18] Introduce the Counter subsystem

2019-04-02 Thread William Breathitt Gray
decoder counter driver counter: ftm-quaddec: Documentation: Add specific counter sysfs documentation LS1021A: dtsi: add ftm quad decoder entries William Breathitt Gray (7): counter: Introduce the Generic Counter interface counter: Documentation: Add Generic Counter sysfs documentation docs

[PATCH v10 09/18] counter: stm32-lptimer: add counter device

2019-04-02 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 v10 03/18] docs: Add Generic Counter interface documentation

2019-04-02 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 v10 04/18] iio: 104-quad-8: Update license boilerplate

2019-04-02 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 v10 13/18] drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange This also fixes the wrong value for the previously defined FTM_MODE_INIT macro (it was not used). Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- drivers/pwm/pwm-fsl-ftm.c | 44

[PATCH v10 08/18] dt-bindings: counter: Document stm32 quadrature encoder

2019-04-02 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 v10 18/18] LS1021A: dtsi: add ftm quad decoder entries

2019-04-02 Thread William Breathitt Gray
From: Patrick Havelange Add the 4 Quadrature counters for this board. Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- arch/arm/boot/dts/ls1021a.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch

Re: [PATCH 5/8] iio/counter: add FlexTimer Module Quadrature decoder counter driver

2019-02-21 Thread William Breathitt Gray
On Thu, Feb 21, 2019 at 10:09:54AM +0900, William Breathitt Gray wrote: > On Wed, Feb 20, 2019 at 04:41:54PM +, Jonathan Cameron wrote: > > On Mon, 18 Feb 2019 15:03:18 +0100 > > Patrick Havelange wrote: > > > > > This driver exposes the coun

Re: [PATCH 5/8] iio/counter: add FlexTimer Module Quadrature decoder counter driver

2019-02-20 Thread William Breathitt Gray
and easy -- and if not, then it's something I need to fix, so let me know. :-) William Breathitt Gray

Re: [PATCH v2 6/7] counter: ftm-quaddec: Documentation: Add specific counter sysfs documentation

2019-03-07 Thread William Breathitt Gray
counter driver for a device with a prescaler before we make that move. From there, we'll have a better vantage point to determine a fitting standard prescaler attribute behavior. So for now, we'll keep these attributes documented here in the sysfs-bus-counter-ftm-quaddec file, until the time comes to broach the discussion again. William Breathitt Gray

Re: [PATCH v2 0/7] FlexTimer Module Quadrature decoder counter

2019-03-07 Thread William Breathitt Gray
t, let me know which patches you like and I'll add respective Reviewed-by tags for you for the next Counter subsystem introduction patchset submission. William Breathitt Gray

Re: [PATCH v2 5/7] counter: add FlexTimer Module Quadrature decoder counter driver

2019-03-07 Thread William Breathitt Gray
> + io = platform_get_resource(pdev, IORESOURCE_MEM, 0); > + if (!io) { > + dev_err(>dev, "Failed to get memory region\n"); > + return -ENODEV; > + } > + > + ftm->pdev = pdev; > + ftm->big_endian = of_prope

Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface

2019-04-08 Thread William Breathitt Gray
NT_DIRECTION_EAST] = "east", [COUNTER_COUNT_DIRECTION_SOUTHEAST] = "southeast", [COUNTER_COUNT_DIRECTION_SOUTH] = "south", [COUNTER_COUNT_DIRECTION_SOUTHWEST] = "southwest", [COUNTER_COUNT_DIRECTION_WEST] = "west", [COUNTER_COUNT_DIRECTION_NORTHWEST] = "northwest" A const table is conveinent in these scenarios because support for new count directions may be easily added by simple entry into the table. William Breathitt Gray

Re: [PATCH v10 02/18] counter: Documentation: Add Generic Counter sysfs documentation

2019-04-08 Thread William Breathitt Gray
On Mon, Apr 08, 2019 at 11:55:31PM +0200, Pavel Machek wrote: > On Tue 2019-04-02 15:30:37, William Breathitt Gray wrote: > > This patch adds standard documentation for the userspace sysfs > > attributes of the Generic Counter interface. > > > > Reviewed-by: Jonat

Re: [PATCH v2 4/4] bus: Make remove callback return void

2021-07-06 Thread William Breathitt Gray
ez (For ipack) > Reviewed-by: Tom Rix (For fpga) > Acked-by: Geoff Levand (For ps3) > Signed-off-by: Uwe Kleine-König > --- > drivers/base/isa.c| 4 +--- Acked-by: William Breathitt Gray signature.asc Description: PGP signature