[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR0402MB3519AF0CEF41F24867B10986878A0@VI1PR0402MB3519.eurprd04.prod.outlook.com>
Date: Tue, 8 Jan 2019 09:33:18 +0000
From: Jacky Bai <ping.bai@....com>
To: Randy Dunlap <rdunlap@...radead.org>,
"daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
Aisheng Dong <aisheng.dong@....com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
Subject: RE: [PATCH v2 2/2] driver: clocksource: Add nxp system counter timer
driver support
> 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
Powered by blists - more mailing lists