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

Jonathan Cameron
2020-04-12T10:31:43Z

On Thu, 9 Apr 2020 16:13:59 +0200
Kamel Bouhara <kamel.bouhara@bootlin.com> wrote:

> 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>
> ---
> Changes from v2:
> - Fixed first patch not applying on mainline
>
> include/soc/at91/atmel_tcb.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/soc/at91/atmel_tcb.h b/include/soc/at91/atmel_tcb.h
> index c3c7200ce151..7e47ace9255c 100644
> --- a/include/soc/at91/atmel_tcb.h
> +++ b/include/soc/at91/atmel_tcb.h
> @@ -39,6 +39,8 @@ struct clk;
> */
> struct atmel_tcb_config {
> size_t counter_width;

This structure has existing kernel doc. Please add these new
elements and run ./scripts/kernel-doc over it check for any issues.

> + bool has_gclk;
> + bool has_qdec;
> };
>
> /**
> --
> 2.25.0
>

Thanks,

Jonathan