> Subject: Re: [PATCH v2 2/2] driver: clocksource: Add nxp system counter timer
> driver support
> 
> Hi,
> 
> On 12/11/18 9:28 PM, Jacky Bai wrote:
> > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> > index c57b156..7e5f2de 100644
> > --- a/drivers/clocksource/Kconfig
> > +++ b/drivers/clocksource/Kconfig
> > @@ -579,6 +579,14 @@ config CLKSRC_IMX_TPM
> >       Enable this option to use IMX Timer/PWM Module (TPM) timer as
> >       clocksource.
> >
> > +config CLKSRC_IMX_SYS_CTR
> > +   bool "Clocksource using i.MX system counter" if COMPILE_TEST
> 
> Looks like a "make *config" user only gets this prompt if COMPILE_TEST is set.
> 
> If COMPILE_TEST is not set, how does this driver become enabled/set?
> 
> 

Sorry for reply to you so later. this driver need to be enable explicitly when 
IMX soc is built.

BR
> > +   depends on (ARM || ARM64) && CLKDEV_LOOKUP
> > +   select CLKSRC_MMIO
> > +   help
> > +     Enable this option to use IMX system counter timer as
> > +     clocksource.
> > +
> >  config CLKSRC_ST_LPC
> >     bool "Low power clocksource found in the LPC" if COMPILE_TEST
> >     select TIMER_OF if OF
> 
> thanks,
> --
> ~Randy

Reply via email to