From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Kamel Bouhara <kamel.bouhara@bootlin.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>,
linux-arm-kernel@lists.infradead.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-iio@vger.kernel.org
Subject: Re: [PATCH v2 0/3] Atmel TCB capture driver
Date: Sat, 11 Apr 2020 12:01:16 -0400 [thread overview]
Message-ID: <20200411160116.GA95806@icarus> (raw)
In-Reply-To: <20200409141401.321222-1-kamel.bouhara@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]
On Thu, Apr 09, 2020 at 04:13:58PM +0200, Kamel Bouhara wrote:
> Hello,
>
> Here is a new counter driver to support Atmel TCB capture devices.
>
> Each SoC has two TCB blocks, each one including three independent
> channels.The following series adds support for two counter modes:
> increase and quadrature decoder.
>
> As for the atmel clocksource and pwm, the counter driver needs to fill
> some tcb capabilities in order to operate with the right configuration.
> This is achieved in first patch of this series.
>
> Please feel free to comment.
>
> Cheers,
>
> Changes from v2:
> - Fixed first patch not applying on mainline
> - Updated return code to -EINVAL when user is requesting qdec mode on
> a counter device not supporting it.
> - Added an error case returning -EINVAL when action edge is performed in
> qdec mode.
> - Removed no need to explicity setting ops to NULL from static struct as
> it is the default value.
> - Changed confusing code by using snprintf for the sake of clarity.
> - Changed code to use ARRAY_SIZE so that future reviewers will know
> that num_counts matches what's in the atmel_tc_count array without
> having to check so themselves.
>
> Kamel Bouhara (3):
> ARM: at91: add atmel tcb capabilities
> dt-bindings: counter: atmel-tcb-capture counter
> counter: Add atmel TCB capture counter
>
> .../bindings/counter/atmel-tcb-capture.yaml | 35 ++
> drivers/counter/Kconfig | 11 +
> drivers/counter/Makefile | 1 +
> drivers/counter/atmel-tcb-capture.c | 394 ++++++++++++++++++
> include/soc/at91/atmel_tcb.h | 2 +
> 5 files changed, 443 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/counter/atmel-tcb-capture.yaml
> create mode 100644 drivers/counter/atmel-tcb-capture.c
>
> --
> 2.25.0
Thanks Kamel, this version applies nicely now. Fix the error messages
Rob Herring pointed out in the dt-bindings patch and I should be able to
sign off on these.
William Breathitt Gray
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Kamel Bouhara <kamel.bouhara@bootlin.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-iio@vger.kernel.org,
Ludovic Desroches <ludovic.desroches@microchip.com>,
Rob Herring <robh+dt@kernel.org>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-input@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 0/3] Atmel TCB capture driver
Date: Sat, 11 Apr 2020 12:01:16 -0400 [thread overview]
Message-ID: <20200411160116.GA95806@icarus> (raw)
In-Reply-To: <20200409141401.321222-1-kamel.bouhara@bootlin.com>
[-- Attachment #1.1: Type: text/plain, Size: 2103 bytes --]
On Thu, Apr 09, 2020 at 04:13:58PM +0200, Kamel Bouhara wrote:
> Hello,
>
> Here is a new counter driver to support Atmel TCB capture devices.
>
> Each SoC has two TCB blocks, each one including three independent
> channels.The following series adds support for two counter modes:
> increase and quadrature decoder.
>
> As for the atmel clocksource and pwm, the counter driver needs to fill
> some tcb capabilities in order to operate with the right configuration.
> This is achieved in first patch of this series.
>
> Please feel free to comment.
>
> Cheers,
>
> Changes from v2:
> - Fixed first patch not applying on mainline
> - Updated return code to -EINVAL when user is requesting qdec mode on
> a counter device not supporting it.
> - Added an error case returning -EINVAL when action edge is performed in
> qdec mode.
> - Removed no need to explicity setting ops to NULL from static struct as
> it is the default value.
> - Changed confusing code by using snprintf for the sake of clarity.
> - Changed code to use ARRAY_SIZE so that future reviewers will know
> that num_counts matches what's in the atmel_tc_count array without
> having to check so themselves.
>
> Kamel Bouhara (3):
> ARM: at91: add atmel tcb capabilities
> dt-bindings: counter: atmel-tcb-capture counter
> counter: Add atmel TCB capture counter
>
> .../bindings/counter/atmel-tcb-capture.yaml | 35 ++
> drivers/counter/Kconfig | 11 +
> drivers/counter/Makefile | 1 +
> drivers/counter/atmel-tcb-capture.c | 394 ++++++++++++++++++
> include/soc/at91/atmel_tcb.h | 2 +
> 5 files changed, 443 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/counter/atmel-tcb-capture.yaml
> create mode 100644 drivers/counter/atmel-tcb-capture.c
>
> --
> 2.25.0
Thanks Kamel, this version applies nicely now. Fix the error messages
Rob Herring pointed out in the dt-bindings patch and I should be able to
sign off on these.
William Breathitt Gray
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-04-11 16:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 14:13 [PATCH v2 0/3] Atmel TCB capture driver Kamel Bouhara
2020-04-09 14:13 ` Kamel Bouhara
2020-04-09 14:13 ` [PATCH v2 1/3] ARM: at91: add atmel tcb capabilities Kamel Bouhara
2020-04-09 14:13 ` Kamel Bouhara
2020-04-12 10:31 ` Jonathan Cameron
2020-04-12 10:31 ` Jonathan Cameron
2020-04-14 8:51 ` Kamel Bouhara
2020-04-14 8:51 ` Kamel Bouhara
2020-04-09 14:14 ` [PATCH v2 2/3] dt-bindings: counter: atmel-tcb-capture counter Kamel Bouhara
2020-04-09 14:14 ` Kamel Bouhara
2020-04-09 23:11 ` Rob Herring
2020-04-09 23:11 ` Rob Herring
2020-04-09 14:14 ` [PATCH v2 3/3] counter: Add atmel TCB capture counter Kamel Bouhara
2020-04-09 14:14 ` Kamel Bouhara
2020-04-12 10:44 ` Jonathan Cameron
2020-04-12 10:44 ` Jonathan Cameron
2020-04-15 8:40 ` Kamel Bouhara
2020-04-15 8:40 ` Kamel Bouhara
2020-04-11 16:01 ` William Breathitt Gray [this message]
2020-04-11 16:01 ` [PATCH v2 0/3] Atmel TCB capture driver William Breathitt Gray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200411160116.GA95806@icarus \
--to=vilhelm.gray@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=kamel.bouhara@bootlin.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=mark.rutland@arm.com \
--cc=nicolas.ferre@microchip.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.