Message ID | 20200409141401.321222-2-kamel.bouhara@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Atmel TCB capture driver | expand |
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
On Sun, Apr 12, 2020 at 11:31:37AM +0100, Jonathan Cameron wrote: > 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; > Hi, > This structure has existing kernel doc. Please add these new > elements and run ./scripts/kernel-doc over it check for any issues. > Its fixed, thanks. Kamel > > + bool has_gclk; > > + bool has_qdec; > > }; > > > > /** > > -- > > 2.25.0 > > > > Thanks, > > Jonathan -- Kamel Bouhara, Bootlin Embedded Linux and kernel engineering https://bootlin.com
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; + bool has_gclk; + bool has_qdec; }; /**
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(+) -- 2.25.0