diff mbox series

[1/3] ARM: at91: add atmel tcb capabilities

Message ID 20200406155320.1291701-2-kamel.bouhara@bootlin.com
State New
Headers show
Series [1/3] ARM: at91: add atmel tcb capabilities | expand

Commit Message

Kamel Bouhara April 6, 2020, 3:53 p.m. UTC
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 mbox series

Patch

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;
 };
 
 /**