From: Kamel Bouhara <kamel.bouhara@bootlin.com>
To: William Breathitt Gray <vilhelm.gray@gmail.com>,
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
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-iio@vger.kernel.org,
Kamel Bouhara <kamel.bouhara@bootlin.com>
Subject: [PATCH 1/3] ARM: at91: add atmel tcb capabilities
Date: Mon, 6 Apr 2020 17:53:18 +0200 [thread overview]
Message-ID: <20200406155320.1291701-2-kamel.bouhara@bootlin.com> (raw)
In-Reply-To: <20200406155320.1291701-1-kamel.bouhara@bootlin.com>
Some atmel socs have extra tcb capabilities that allow using a generic
clock source or enabling a quadrature decoder.
Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
---
include/soc/at91/atmel_tcb.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/soc/at91/atmel_tcb.h b/include/soc/at91/atmel_tcb.h
index fbf5474f4484..6b9c9bec982e 100644
--- a/include/soc/at91/atmel_tcb.h
+++ b/include/soc/at91/atmel_tcb.h
@@ -39,7 +39,8 @@ struct clk;
*/
struct atmel_tcb_config {
size_t counter_width;
- unsigned int has_gclk:1;
+ bool has_gclk;
+ bool has_qdec;
};
/**
--
2.25.0
next prev parent reply other threads:[~2020-04-06 15:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 15:53 [PATCH 0/3] Atmel TCB capture driver Kamel Bouhara
2020-04-06 15:53 ` Kamel Bouhara [this message]
2020-04-07 16:53 ` [PATCH 1/3] ARM: at91: add atmel tcb capabilities William Breathitt Gray
2020-04-07 20:21 ` Kamel Bouhara
2020-04-06 15:53 ` [PATCH 2/3] dt-bindings: counter: atmel-tcb-capture counter Kamel Bouhara
2020-04-06 15:53 ` [PATCH 3/3] counter: Add atmel TCB capture counter Kamel Bouhara
2020-04-08 21:31 ` William Breathitt Gray
2020-04-08 21:56 ` Alexandre Belloni
2020-04-09 8:25 ` Kamel Bouhara
2020-04-09 13:16 ` 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=20200406155320.1291701-2-kamel.bouhara@bootlin.com \
--to=kamel.bouhara@bootlin.com \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--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 \
--cc=vilhelm.gray@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).