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@xxxxxxxxxxx> --- 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