All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ayyathurai, Vijayakannan" <vijayakannan.ayyathurai@intel.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"andriy.shevchenko@linux.intel.com" 
	<andriy.shevchenko@linux.intel.com>,
	"mgross@linux.intel.com" <mgross@linux.intel.com>,
	"Wan Mohamad,
	Wan Ahmad Zainie"  <wan.ahmad.zainie.wan.mohamad@intel.com>,
	"Raja Subramanian,
	Lakshmi Bai"  <lakshmi.bai.raja.subramanian@intel.com>
Subject: RE: [PATCH v1 2/2] clocksource: Add Intel Keem Bay Timer Support
Date: Fri, 4 Dec 2020 04:09:47 +0000	[thread overview]
Message-ID: <DM6PR11MB42509AD34ADD26A867A88849FBF10@DM6PR11MB4250.namprd11.prod.outlook.com> (raw)
In-Reply-To: <9b271b05-963e-57bb-af9d-1b7910514c16@linaro.org>

Hi Daniel,
Thanks for reviewing this patch.

> From: Daniel Lezcano <daniel.lezcano@linaro.org>
> >
> > +++ b/drivers/clocksource/Kconfig
> > @@ -738,4 +738,14 @@ config MICROCHIP_PIT64B
> >  	  modes and high resolution. It is used as a clocksource
> >  	  and a clockevent.
> >
> > +config KEEMBAY_TIMER
> > +	bool "Intel Keem Bay timer driver"
> > +	depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
> 
> The timer drivers subsystem wants silent options and let the platform to
> select the timer.
> 
> Please select the timer in arch/arm64/Kconfig.platforms in the
> ARCH_KEEMBAY section.
> 
> So it would come:
> 
> config KEEMBAY_TIMER
> 	bool "bla bla" if COMPILE_TEST
> 

Ok. I will check that and update in next version.

> 
> 
> > +	select TIMER_OF
> > +	help
> > +	  This option enables the support for the Intel Keem Bay general
> > +	  purpose timer and free running counter driver. Each timer can
> > +	  generate an individual interrupt and the 64 bit counter can also
> > +	  be used as one of the clock source.
> > +
> 
> [ ... ]
> 
> > +static struct timer_of keembay_ce_to = {
> > +	.flags	= TIMER_OF_IRQ | TIMER_OF_BASE | TIMER_OF_CLOCK,
> > +	.clkevt = {
> > +		.name			= "keembay_timer",
> > +		.features		= CLOCK_EVT_FEAT_PERIODIC |
> > +					  CLOCK_EVT_FEAT_ONESHOT,
> 
> May be consider CLOCK_EVT_FEAT_DYNIRQ ?
> 
> see commit d2348fb6fdc6d67
> 

Sure. I will add it in the next version.

> Other than that, LGTM
> 
> Thanks
> 
>   -- Daniel
> 

Thanks,
Vijay

      reply	other threads:[~2020-12-04  4:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 10:34 [PATCH v1 0/2] Add drivers for Intel Keem Bay SoC timer block vijayakannan.ayyathurai
2020-11-26 10:34 ` [PATCH v1 1/2] dt-bindings: timer: Add bindings for Intel Keem Bay SoC timer vijayakannan.ayyathurai
2020-12-08 16:12   ` Rob Herring
2020-12-08 18:12     ` Andy Shevchenko
2020-12-16 19:16       ` Ayyathurai, Vijayakannan
2020-11-26 10:34 ` [PATCH v1 2/2] clocksource: Add Intel Keem Bay Timer Support vijayakannan.ayyathurai
2020-12-03 18:09   ` Daniel Lezcano
2020-12-03 18:09   ` Daniel Lezcano
2020-12-04  4:09     ` Ayyathurai, Vijayakannan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR11MB42509AD34ADD26A867A88849FBF10@DM6PR11MB4250.namprd11.prod.outlook.com \
    --to=vijayakannan.ayyathurai@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lakshmi.bai.raja.subramanian@intel.com \
    --cc=mgross@linux.intel.com \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=wan.ahmad.zainie.wan.mohamad@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.